package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev
# Variables
DefaultPlugin is a default instance of ContivConf.
# Structs
Config represents configuration for the Contiv agent.
ContivAgentDeps lists dependencies of the plugin for use in contiv-agent.
ContivConf plugins simplifies the Contiv configuration processing for other plugins.
ContivInitDeps lists dependencies of the plugin for use in contiv-init.
CustomIPAMSubnets allows users to manually select individual subnets.
Deps lists dependencies of the ContivConf plugin.
InterfaceConfig contains configuration related to interfaces.
IPAMConfig groups configuration options related to IP address allocation.
IPAMConfigForJSON groups IPAM configuration options as basic data types and with JSON tags, ready to be un-marshalled from the configuration.
IPNeighborScanConfig contains configuration related to IP neighbour scanning.
IPWithNetwork encapsulates IP address with the network address.
NodeConfig represents configuration specific to a given node.
NodeConfigChange is triggered when Node configuration provided via CRD changes.
OtherInterfaceConfig represents configuration for a non-main VPP interface.
RoutingConfig groups configuration options related to routing.
STNConfig groups config options related to STN (Steal-the-NIC).
UnitTestDeps lists dependencies for unit testing.
Vmxnet3Config groups config options related to Vmxnet3 feature.
# Interfaces
API defines methods provided by ContivConf for use by other plugins.
GoVPP is the interface of govppmux plugin replicated here to avoid direct dependency on vppapiclient.h for other plugins that import contivconf just to read some constants etc.
KVBrokerFactory is used to generalize different means of accessing KV-store for the purpose of reading CRD-defined node configuration.
# Type aliases
DumpDPDKInterfacesClb is callback for dumping DPDK interfaces configured on VPP.
GetFirstHostInterfaceNameClb is callback for retrieving the name of the first non-virtual interface in the host stack.
IPsWithNetworks is a list of pairs (address, network).
IPVersion is either v4 or v6.
Option is a function that acts on a Plugin to inject Dependencies or configuration.
OtherInterfaces is a list of other interfaces.
RequestSTNInfoClb is callback for sending request to the STN daemon to obtain information about a stolen interface.