A subnet pool contains a collection of prefixes in CIDR notation that are available for IP address allocation.
Network v2
Create subnet pool
os subnet pool create
[--default-prefix-length <default-prefix-length>]
[--min-prefix-length <min-prefix-length>]
[--max-prefix-length <max-prefix-length>]
[--project <project> [--project-domain <project-domain>]]
[--address-scope <address-scope>]
[--default | --no-default]
[--share | --no-share]
--pool-prefix <pool-prefix> [...]
<name>
Set subnet pool default prefix length
Set subnet pool minimum prefix length
Set subnet pool maximum prefix length
Owner’s project (name or ID)
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Set address scope associated with the subnet pool (name or ID), prefixes must be unique across address scopes
Set this as a default subnet pool
Set this as a non-default subnet pool
Set this subnet pool as shared
Set this subnet pool as not shared
Set subnet pool prefixes (in CIDR notation) (repeat option to set multiple prefixes)
Name of the new subnet pool
Delete subnet pool(s)
os subnet pool delete
<subnet-pool> [<subnet-pool> ...]
Subnet pool(s) to delete (name or ID)
List subnet pools
os subnet pool list
[--long]
List additional fields in output
Set subnet pool properties
os subnet pool set
[--name <name>]
[--pool-prefix <pool-prefix> [...]]
[--default-prefix-length <default-prefix-length>]
[--min-prefix-length <min-prefix-length>]
[--max-prefix-length <max-prefix-length>]
[--address-scope <address-scope> | --no-address-scope]
[--default | --no-default]
<subnet-pool>
Set subnet pool name
Set subnet pool prefixes (in CIDR notation) (repeat option to set multiple prefixes)
Set subnet pool default prefix length
Set subnet pool minimum prefix length
Set subnet pool maximum prefix length
Set address scope associated with the subnet pool (name or ID), prefixes must be unique across address scopes
Remove address scope associated with the subnet pool
Set this as a default subnet pool
Set this as a non-default subnet pool
Subnet pool to modify (name or ID)
Display subnet pool details
os subnet pool show
<subnet-pool>
Subnet pool to display (name or ID)