go.ligato.io/vpp-agent/v3@v3.5.0/examples/localclient_with_etcd/README.md (about)

     1  # Combining etcd with localclient for NB config transport
     2  
     3  The example shows how to use vpp-agent to create configuration items internally
     4  via localclient, but at the same time also receive additional configuration items
     5  from etcd.
     6  The orchestrator plugin will ensure that the configuration from both of these
     7  sources is merged during (second) resync.
     8  
     9  How to run example:
    10  1. Start etcd datastore:
    11  ```
    12  ./run_etcd.sh
    13  ```
    14  2. Run VPP of suitable version with default configuration
    15  3. Run the agent (localclient will resync):
    16  ```
    17  ./run_agent.sh
    18  ```
    19  4. Send configuration requests via etcd:
    20  ```
    21  ./apply_config_via_etcd.sh
    22  ```
    23  5. Restart agent to test that (eventually) the configuration from both sources
    24  is maintained and kept in-sync on VPP
    25     - **note**: it is expected that localclient resync will first undo changes
    26       requested via etcd - the second resync, triggered by kvdbsync plugin,
    27       will restore this configuration