package
2.5.1+incompatible
Repository: https://github.com/lxlee1102/vpp-agent.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewInterfaceAddressDescriptor creates a new instance of InterfaceAddressDescriptor.
NewInterfaceDescriptor creates a new instance of the Interface descriptor.
NewInterfaceWatcher creates a new instance of the Interface Watcher.
# Constants
DisableIPv6SysctlTemplate is used to enable ipv6 via sysctl.
InterfaceAddressDescriptorName is the name of the descriptor for assigning IP addresses to Linux interfaces.
InterfaceDescriptorName is the name of the descriptor for Linux interfaces.
InterfaceWatcherName is the name of the descriptor watching Linux interfaces in the default namespace.
# Variables
ErrExistingWithNamespace is returned when namespace is specified for EXISTING interface.
ErrNamespaceWithoutReference is returned when namespace is missing reference.
ErrInterfaceWithoutName is returned when Linux interface configuration has undefined Name attribute.
ErrInterfaceWithoutType is returned when Linux interface configuration has undefined Type attribute.
ErrInvalidIPWithMask is returned when address is invalid or mask is missing.
ErrLoopbackAlreadyConfigured is returned when multiple logical NB interfaces tries to configure the same loopback.
ErrLoopbackNotFound is returned if loopback interface can not be found.
ErrNamespaceWithoutReference is returned when namespace is missing reference.
ErrTAPRequiresVPPIfPlugin is returned when TAP_TO_VPP is supposed to be configured but VPP ifplugin is not loaded.
ErrTAPWithoutVPPReference is returned when TAP_TO_VPP interface is missing reference to VPP TAP.
ErrUnsupportedLinuxInterfaceType is returned for Linux interfaces of unknown type.
ErrVETHWithoutPeer is returned when VETH interface is missing peer interface reference.
# Structs
InterfaceAddressDescriptor (un)assigns IP address to/from Linux interface.
InterfaceDescriptor teaches KVScheduler how to configure Linux interfaces.
InterfaceWatcher watches default namespace for newly added/removed Linux interfaces.
# Interfaces
VPPIfPluginAPI is defined here to avoid import cycles.