clientv1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 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 defaultplugins contains clients for local and remote management of VPP configuration via default plugins.
Package defaultplugins contains clients for local and remote management of VPP configuration via default plugins.
dbadapter
Package dbadapter implements Domain Specific Language (DSL) for resync and change of VPP configuration using Data Broker (by writing to key value store).
Package dbadapter implements Domain Specific Language (DSL) for resync and change of VPP configuration using Data Broker (by writing to key value store).
grpcadapter
Package grpcadapter implements Domain Specific Language (DSL) for resync and change of VPP configuration using GRPC client.
Package grpcadapter implements Domain Specific Language (DSL) for resync and change of VPP configuration using GRPC client.
localclient
Package localclient implements client for local management of VPP configuration.
Package localclient implements client for local management of VPP configuration.
remoteclient
Package remoteclient implements the client for remote management of VPP configuration.
Package remoteclient implements the client for remote management of VPP configuration.
Package linux contains clients for local and remote management of both VPP and Linux configuration via Linux and default plugins.
Package linux contains clients for local and remote management of both VPP and Linux configuration via Linux and default plugins.
dbadapter
Package dbadapter implements Domain Specific Language (DSL) for resync and change of VPP and Linux configuration.
Package dbadapter implements Domain Specific Language (DSL) for resync and change of VPP and Linux configuration.
localclient
Package localclient implements client for local management of VPP and Linux configuration.
Package localclient implements client for local management of VPP and Linux configuration.
remoteclient
Package remoteclient implements client for remote management of VPP and Linux configuration.
Package remoteclient implements client for remote management of VPP and Linux configuration.

Jump to

Keyboard shortcuts

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