Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IOLCfgTpl, _ = template.New("clab-iol-default-config").Funcs(
gomplate.CreateFuncs(context.Background(), new(data.Data))).Parse(cfgTemplate)
InterfaceRegexp = regexp.MustCompile(`(?:e|Ethernet)\s?(?P<slot>\d+)/(?P<port>\d+)$`)
InterfaceOffset = 1
InterfaceHelp = "eX/Y or EthernetX/Y (where X >= 0 and Y >= 1)"
)
View Source
var DefaultIntfRegexp = regexp.MustCompile(`eth[1-9][0-9]*$`)
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.