package
2.5.1+incompatible
Repository: https://github.com/lxlee1102/vpp-agent.git
Documentation: pkg.go.dev
# Functions
GetTapAlias returns alias for Linux TAP interface managed by the agent.
GetVethAlias returns alias for Linux VETH interface managed by the agent.
NewNetLinkHandler creates new instance of Netlink handler.
ParseTapAlias parses out TAP_TO_VPP logical name together with the name of the linked VPP-TAP and the original TAP host interface name.
ParseVethAlias parses out VETH logical name together with the peer name from the alias.
# Constants
defaultLoopbackName is the name used to access loopback interface in linux host_if_name field in config is effectively ignored.
# Structs
InterfaceDetails is an object combining linux interface data based on proto model with additional metadata.
InterfaceMeta represents linux interface metadata.
Statistics are represented here since there is currently no model.
NetLinkHandler is accessor for Netlink methods.
# Interfaces
NetlinkAPI interface covers all methods inside linux calls package needed to manage linux interfaces.
NetlinkAPIRead interface covers read methods inside linux calls package needed to manage linux interfaces.