package
1.5.2-alpha
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev

# Packages

Package containeridx implements a mapping structure that allows to store configured container networking.
Package ipam provides node-local IPAM calculations: POD IP addresses, VPP-host interconnect and node interconnect IP addresses.
No description provided by the author

# Functions

LoadNodeConfigFromCRD loads node configuration defined via CRD, which was reflected into a remote kv-store by contiv-crd and mirrored into local kv-store by the agent.
NewPlugin creates a new Plugin with the provides Options.
UseDeps returns Option that can inject custom dependencies.

# Constants

ConfigFlagName is name of flag that can be used to define config for contiv plugin.
ContivConfigPath is the default location of Agent's Contiv plugin.
ContivConfigPathUsage explains the purpose of 'kube-config' flag.
HostInterconnectMAC is MAC address of tap that interconnects VPP with host stack.
MgmtIPSeparator is a delimiter inserted between management IPs in nodeInfo structure.
PluginURL is versioned URL (using prefix) for IPAM REST endpoint.
Prefix is versioned prefix for REST urls.
TapHostEndLogicalName is the logical name of the VPP-host interconnect TAP interface (host end).
TapHostEndName is the physical name of the VPP-host interconnect TAP interface (host end).
TapVPPEndLogicalName is the logical name of the VPP-host interconnect TAP interface (VPP end).
TapVPPEndName is the physical name of the VPP-host interconnect TAP interface (VPP end).

# Structs

Config represents configuration for the Contiv plugin.
Deps groups the dependencies of the Plugin.
NodeConfig represents configuration specific to a given node.
Plugin represents the instance of the Contiv network plugin, that transforms CNI requests received over GRPC into configuration for the vswitch VPP in order to connect/disconnect a container into/from the network.
PodConfig groups applied configuration for a container.

# Interfaces

API for other plugins to query network-related information.
KVBrokerFactory is used to generalize different means of accessing KV-store for the purpose of reading CRD-defined node configuration.

# Type aliases

Option is a function that acts on a Plugin to inject Dependencies or configuration.
PodActionHook defines parameters and the return value of a callback triggered during an event associated with a pod.