localclient_with_etcd

command
v3.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

README

Combining etcd with localclient for NB config transport

The example shows how to use vpp-agent to create configuration items internally via localclient, but at the same time also receive additional configuration items from etcd. The orchestrator plugin will ensure that the configuration from both of these sources is merged during (second) resync.

How to run example:

  1. Start etcd datastore:
./run_etcd.sh
  1. Run VPP of suitable version with default configuration
  2. Run the agent (localclient will resync):
./run_agent.sh
  1. Send configuration requests via etcd:
./apply_config_via_etcd.sh
  1. Restart agent to test that (eventually) the configuration from both sources is maintained and kept in-sync on VPP
    • note: it is expected that localclient resync will first undo changes requested via etcd - the second resync, triggered by kvdbsync plugin, will restore this configuration

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL