clientv1

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

README

Client v1

Client v1 (i.e. the first version) defines an API that allows to manage configuration of default plugins and the Linux plugin. How the configuration is transported between APIs and the plugins is fully abstracted from the user.

The API calls can be split into two groups:

  • resync applies a given (full) configuration. An existing configuration, if present, is replaced. The name is an abbreviation of resynchronization. It is used initially and after any system event that may leave the configuration out-of-sync while the set of outdated configuration options is impossible to determine locally (e.g. temporarily lost connection to data store).
  • data change allows to deliver incremental changes of a configuration.

There are two implementations:

  • local client runs inside the same process as the agent and delivers configuration through go channels directly to the plugins.
  • remote client stores the configuration using the given keyval.broker.

Documentation

Overview

Package clientv1 provides clients for local and remote management of VPP and Linux configuration via VPP Agent plugins.

Directories

Path Synopsis
Package linuxclient contains clients for local and remote management of both VPP and Linux configuration via Linux and default plugins.
Package linuxclient contains clients for local and remote management of both VPP and Linux configuration via Linux and default plugins.
vpp
Package vppclient contains clients for local and remote management of VPP configuration via default plugins.
Package vppclient contains clients for local and remote management of VPP configuration via default plugins.

Jump to

Keyboard shortcuts

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