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
NewBondedInterfaceDescriptor creates a new instance of BondedInterfaceDescriptor.
NewDHCPDescriptor creates a new instance of DHCPDescriptor.
NewInterfaceAddressDescriptor creates a new instance of InterfaceAddressDescriptor.
NewInterfaceDescriptor creates a new instance of the Interface descriptor.
NewInterfaceVrfDescriptor creates a new instance of InterfaceVrfDescriptor.
NewInterfaceWithAddrDescriptor creates a new instance of InterfaceWithAddrDescriptor.
NewLinkStateDescriptor creates a new instance of the Link-State descriptor.
NewRxModeDescriptor creates a new instance of RxModeDescriptor.
NewRxPlacementDescriptor creates a new instance of RxPlacementDescriptor.
NewSpanDescriptor creates a new instance of the SpanDescriptor.
NewUnnumberedIfDescriptor creates a new instance of UnnumberedIfDescriptor.
# Constants
BondInterfaceDescriptorName is the name of the descriptor for the bond-interface config-subsection of VPP interfaces.
DHCPDescriptorName is the name of the descriptor configuring DHCP for VPP interfaces.
InterfaceAddressDescriptorName is the name of the descriptor for assigning IP addresses to VPP interfaces.
InterfaceDescriptorName is the name of the descriptor for VPP interfaces.
InterfaceVrfDescriptorName is the name of the descriptor for assigning VPP interface into VRF table.
InterfaceWithAddressDescriptorName is the name of the descriptor for marking interfaces with at least one IP address assigned.
LinkStateDescriptorName is the name of the descriptor notifying about the link state changes of VPP interfaces.
RxModeDescriptorName is the name of the descriptor for the unnumbered config-subsection of VPP interfaces.
RxPlacementDescriptorName is the name of the descriptor for the rx-placement config-subsection of VPP interfaces.
SpanDescriptorName is the name of the descriptor.
UnnumberedIfDescriptorName is the name of the descriptor for the unnumbered config-subsection of VPP interfaces.
# Variables
ErrAfPacketWithoutHostName is returned when AF-Packet configuration is missing host interface name.
ErrBondInterfaceIDExists is returned when the bond interface uses existing ID value.
ErrDPDKInterfaceMissing is returned when the expected DPDK interface does not exist on the VPP.
ErrGreBadTunnelType is returned when tunnel type for GRE was not set or set to UNKNOWN.
ErrGreDstAddrMissing is returned when destination address was not set or set to an empty string.
ErrGreSrcAddrMissing is returned when source address was not set or set to an empty string.
ErrInterfaceLinkMismatch is returned when interface type does not match the link configuration.
ErrInterfaceNameTooLong is returned when VPP interface logical name exceeds the length limit.
ErrInterfaceWithoutName is returned when VPP interface configuration has undefined Name attribute.
ErrInterfaceWithoutType is returned when VPP interface configuration has undefined Type attribute.
ErrUnsupportedRxMode is returned when Rx mode has multiple definitions for the same queue.
ErrRedefinedRxPlacement is returned when Rx placement has multiple definitions for the same queue.
A list of non-retriable errors:.
A list of non-retriable errors:.
ErrSubInterfaceWithoutParent is returned when interface of type sub-interface is defined without parent.
ErrUndefinedRxMode is returned when the Rx mode is not defined.
ErrUnnumberedWithIP is returned when configuration of a VPP unnumbered interface includes an IP address.
ErrUnsupportedRxMode is returned when the given interface type does not support the chosen RX mode.
ErrUnsupportedVPPInterfaceType is returned for VPP interfaces of unknown type.
ErrVxLanDstAddrBad is returned when destination address was not set to valid IP address.
ErrVxLanDstAddrMissing is returned when destination address was not set or set to an empty string.
ErrVxLanGpeBadProtocol is returned when protocol for VxLAN-GPE was not set or set to UNKNOWN.
ErrVxLanGpeNonZeroDecapVrfID is returned when DecapVrfId was not zero for protocols other than IP4 or IP6.
ErrVxLanMulticastIntfMissing is returned when interface for multicast was not specified.
ErrVxLanSrcAddrMissing is returned when source address was not set or set to an empty string.
# Structs
BondedInterfaceDescriptor sets/unsets VPP interfaces as a slave for the bond interface.
DHCPDescriptor enables/disables DHCP for VPP interfaces and notifies about new DHCP leases.
InterfaceAddressDescriptor (un)assigns (static) IP address to/from VPP interface.
InterfaceDescriptor teaches KVScheduler how to configure VPP interfaces.
InterfaceVrfDescriptor (un)assigns VPP interface to IPv4/IPv6 VRF table.
InterfaceWithAddrDescriptor assigns property key-value pairs to interfaces with at least one IP address.
LinkStateDescriptor notifies kvscheduler about the link state changes of VPP interfaces.
RxModeDescriptor configures Rx mode for VPP interface queues.
RxPlacementDescriptor configures Rx placement for VPP interface queues.
SpanDescriptor teaches KVScheduler how to configure VPP SPAN.
UnnumberedIfDescriptor sets/unsets VPP interfaces as unnumbered.
# Interfaces
LinuxPluginAPI is defined here to avoid import cycles.
NetlinkAPI here lists only those Netlink methods that are actually used by InterfaceDescriptor.