Skip to content
Snippets Groups Projects

Update deprecated fields in clab along other parameters

Files
6
@@ -3,8 +3,8 @@ package containerlab
// Management represents the management part for containerlab.
type Management struct {
Network string `yaml:"network,omitempty"`
Ipv4Subnet string `yaml:"ipv4_subnet,omitempty"`
Ipv6Subnet string `yaml:"ipv6_subnet,omitempty"`
Ipv4Subnet string `yaml:"ipv4-subnet,omitempty"`
Ipv6Subnet string `yaml:"ipv6-subnet,omitempty"`
}
// Link represents a link for containerlab.
@@ -16,7 +16,7 @@ type Link struct {
type Node struct {
Kind string `yaml:"kind"`
Image string `yaml:"image"`
MgmtIpv4 string `yaml:"mgmt_ipv4"`
MgmtIpv4 string `yaml:"mgmt-ipv4"`
}
// Topology represent a topology for containerlab.
Loading