package
0.57.0
Repository: https://github.com/srl-labs/containerlab.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BindIfacesWithTC creates TC ingress mirred redirection between a pair of interfaces to make them virtually form a kind of a veth pair see https://netdevops.me/2021/transparently-redirecting-packets/frames-between-interfaces/#4-tc-to-the-rescue used https://github.com/redhat-nfvpe/koko/blob/bd156c82bf25837545fb109c69c7b91c3457b318/api/koko_api.go#L224 and https://gist.github.com/mcastelino/7d85f4164ffdaf48242f9281bb1d0f9b#gistcomment-2734521.
FindTopoFileByPath takes a topology path, which might be the path to a directory and returns the topology file name if found.
NewContainerLab function defines a new container lab.
NewDeployOptions creates a new DeployOptions instance with the specified maxWorkers value.
No description provided by the author
RetrieveSSHAgentKeys retrieves public keys registered with the ssh-agent.
RetrieveSSHPubKeysFromFiles retrieves public keys from the ~/.ssh/*.authorized_keys and ~/.ssh/*.pub files.
RuntimeInitializer returns a runtime initializer function for a provided runtime name.
SetIngressMirror sets TC to mirror ingress from given port as MirrorIngress.
WithDebug sets debug mode.
WithDependencyManager adds Dependency Manager.
No description provided by the author
WithLabName sets the name of the lab to the provided string.
WithManagementIpv4Subnet defined the IPv4 subnet that will be used for the mgmt network.
WithManagementIpv6Subnet defined the IPv6 subnet that will be used for the mgmt network.
WithManagementNetworkName sets the name of the management network that is to be used.
WithNodeFilter option sets a filter for nodes to be deployed.
WithRuntime option sets a container runtime to be used by containerlab.
No description provided by the author
No description provided by the author

# Constants

veth link mtu.

# Variables

No description provided by the author

# Structs

AnsibleInventory represents the data structure used to generate the ansible inventory file.
AnsibleInventoryNode represents the data structure used to generate the ansible inventory file.
No description provided by the author
Config defines lab configuration as it is provided in the YAML file.
DeployOptions represents the options for deploying a lab.
No description provided by the author
No description provided by the author
KindProps is the kind properties structure used to generate the ansible inventory file.
No description provided by the author
SSHConfigNodeTmpl represents values for a single node in the sshconfig template.
SSHConfigTmpl is the top-level data structure for the sshconfig template.
No description provided by the author
TopologyExport holds a combination of CLab structure and map of NodeConfig types, which expands Node definitions with dynamically created values.

# Type aliases

No description provided by the author