# Functions
CheckBridgeExists verifies that the given bridge is present in the network namespace referenced via the provided nspath handle.
CheckEndpointDoesNotExistYet verifies that the interface referenced in the provided endpoint does not yet exist in the referenced node.
CheckEndpointExists checks that a certain interface exists in the network namespace of the given node.
CheckEndpointUniqueness checks that the given endpoint appears only once for the node it is assigned to.
GetHostLinkNode returns the host link node singleton.
No description provided by the author
IsValidInterfaceName checks if the interface name is valid by checking its length and the presence of spaces or slashes.
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
No description provided by the author
NewEndpointRaw creates a new EndpointRaw struct.
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
NewVxlanStitched constructs a new VxlanStitched object.
SanitiseInterfaceName sanitises the interface name by replacing '/' and ' ' with '-'.
No description provided by the author
SetNameMACAndUpInterface is a helper function that will bind interface name and Mac and return a function that can run in the netns.Do() call for execution in a network namespace.
# Constants
containerlab's reserved OUI.
No description provided by the author
No description provided by the author
LinkDeploymentStateHalfDeployed is a state in which one of the endpoints of the links finished deploying and the other one is not yet deployed.
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
LinkTypeBrief is a link definition where link types are encoded in the endpoint definition as string and allow users to quickly type out link endpoints in a yaml file.
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
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
No description provided by the author
No description provided by the author
vxlan port is different from the default port number 4789 since 4789 may be filtered by the firewalls or clash with other overlay services.
# Structs
No description provided by the author
No description provided by the author
EndpointGeneric is the generic endpoint struct that is used by all endpoint types.
No description provided by the author
No description provided by the author
EndpointRaw is the raw (string) representation of an endpoint as defined in the topology file for a given link definition.
No description provided by the author
No description provided by the author
No description provided by the author
LinkBriefRaw is the representation of any supported link in a brief format as defined in the topology file.
LinkCommonParams represents the common parameters for all link types.
LinkDefinition represents a link definition in the topology file.
No description provided by the author
LinkDummyRaw is the raw (string) representation of a dummy link as defined in the topology file.
LinkHostRaw is the raw (string) representation of a host link as defined in the topology file.
No description provided by the author
LinkMacVlanRaw is the raw (string) representation of a macvlan link as defined in the topology file.
No description provided by the author
No description provided by the author
LinkVEthRaw is the raw (string) representation of a veth link as defined in the topology file.
No description provided by the author
LinkVxlanRaw is the raw (string) representation of a vxlan link as defined in the topology file.
ResolveParams is a struct that is passed to the Resolve() function of a raw link to resolve it to a concrete link type.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
LinkType represents the type of a link definition.
No description provided by the author