Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IntfRegexp with named capture groups for extracting slot and port. CapturingIntfRegexp = regexp.MustCompile(`(?:e|Ethernet)\s?(?P<slot>\d+)/(?P<port>\d+)$`) // ethX naming is the "raw" or "default" interface naming. DefaultIntfRegexp = regexp.MustCompile(`eth[1-9]\d*$`) // Match on the management interface. MgmtIntfRegexp = regexp.MustCompile(`(eth0|e0/0|Ethernet0/0)$`) // Matches on any allowed/legal interface name. AllowedIntfRegexp = regexp.MustCompile(`(e|Ethernet)((0/[123])|([1-9]/[0-3]))$|eth[1-9]\d*$`) IntfHelpMsg = "" /* 196-byte string literal not displayed */ )
Functions ¶
func Register ¶
func Register(r *nodes.NodeRegistry)
Register registers the node in the NodeRegistry.
Types ¶
type IOLInterface ¶
IOLInterface struct stores mapping info between IOL interface name and linux container interface.
Click to show internal directories.
Click to hide internal directories.