package
2.5.1+incompatible
Repository: https://github.com/lxlee1102/vpp-agent.git
Documentation: pkg.go.dev
# Functions
NeighGwKey returns a derived key used to represent IP allocation where GW is a neighbour of the interface (addresses are from the same IP network).
# Constants
AllocRefGWSuffix is a suffix added at the back of the reference when address of the default gateway is requested (instead of interface IP address).
AllocRefPrefix is a prefix added in front of references to allocated objects.
ADDR_NET = apply network implied by the address, e.g.
ADDR_ONLY = apply address without mask, e.g.
ADDR_WITH_MASK = apply address including the mask of the network, e.g.
SINGLE_ADDR_NET = apply address with an all-ones mask (i.e.
No description provided by the author
ALLOC_REF is a reference inside NB configuration to an allocated IP address.
FROM_DHCP is set when IP address is obtained from DHCP.
STATIC is IP address statically assigned in the NB configuration.
No description provided by the author
ModuleName is the module name used for models of the netalloc plugin.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ConfigData wraps all configuration items exported by netalloc.
IPAllocation represents a single allocated IP address.
IPAllocMetadata stores allocated IP address already parsed from string.
# Type aliases
IPAddressForm can be used in descriptors whose models reference allocated IP addresses, to ask for a specific form in which the address should applied.
IPAddressSource can be used to remember the source of an IP address.