Network Containers¶
Network containers are supernet CIDRs used as IPAM parent blocks. They do not serve DHCP - they act as organisational buckets from which sub-networks can be carved.
show network container¶
Syntax:
WAPI: GET networkcontainer / GET ipv6networkcontainer (paginated)
configure network container add¶
Syntax:
configure network container add <n.n.n.n/mm>
[comment=<comment>]
[view=<name>]
[set <key> <value> ...]
WAPI: POST networkcontainer (IPv4) or POST ipv6networkcontainer (IPv6)
The address family is auto-detected from the CIDR format. IPv6 CIDRs are routed to ipv6networkcontainer.
With extensible attributes:
configure network container \<cidr> modify¶
Syntax:
configure network container <n.n.n.n/mm> modify
[comment=<comment>]
[view=<name>]
[set <key> <value> ...]
WAPI: GET networkcontainer?network=<cidr> then PUT <ref>
configure network container \<cidr> delete¶
Syntax:
WAPI: GET networkcontainer?network=<cidr> then DELETE <ref>
IPAM: next available network from a container¶
Use show network <cidr> ipam next_network to find the next free sub-network within a container. See Networks - IPAM for details.
Related commands¶
- Networks - leaf-level networks within containers.
- Shared Networks - logical groupings that span multiple leaf networks.