Skip to content

orca subnet-pool

Manage Neutron subnet pools.

The reference below is generated from the live CLI by mkdocs-click. It always reflects the version installed.

orca subnet-pool

Manage Neutron subnet pools for automatic IP allocation.

Usage:

orca subnet-pool [OPTIONS] COMMAND [ARGS]...

Options:

Name Type Description Default
--help boolean Show this message and exit. False

Subcommands

  • create: Create a subnet pool.
  • delete: Delete a subnet pool.
  • list: List subnet pools.
  • set: Update a subnet pool.
  • show: Show subnet pool details.
  • unset: Remove address prefixes from a subnet pool.

orca subnet-pool create

Create a subnet pool.

Example: orca subnet-pool create \ --name my-pool \ --pool-prefix 10.0.0.0/8 \ --default-prefix-length 24

Usage:

orca subnet-pool create [OPTIONS]

Options:

Name Type Description Default
--name text Pool name. Sentinel.UNSET
--pool-prefix text CIDR prefix for the pool (repeatable). Sentinel.UNSET
--default-prefix-length integer Default prefix length for subnets from this pool. None
--min-prefix-length integer Minimum prefix length. None
--max-prefix-length integer Maximum prefix length. None
--shared boolean Make the pool shared. False
--default boolean Set as the default pool. False
--description text Description. None
--help boolean Show this message and exit. False

orca subnet-pool delete

Delete a subnet pool.

Usage:

orca subnet-pool delete [OPTIONS] POOL_ID

Options:

Name Type Description Default
--yes, -y boolean Skip confirmation. False
--help boolean Show this message and exit. False

orca subnet-pool list

List subnet pools.

Usage:

orca subnet-pool list [OPTIONS]

Options:

Name Type Description Default
--shared boolean Show only shared pools. False
--default boolean Show only the default pool. False
--noindent boolean Disable JSON indentation. False
--max-width integer Maximum table width (0 = unlimited). None
--fit-width boolean Fit table to terminal width. False
--column, -c text Column to include (repeatable). Shows all if omitted. Sentinel.UNSET
--format, -f choice (table | json | value) Output format. table
--help boolean Show this message and exit. False

orca subnet-pool set

Update a subnet pool.

Usage:

orca subnet-pool set [OPTIONS] POOL_ID

Options:

Name Type Description Default
--name text New name. None
--description text New description. None
--default-prefix-length integer New default prefix length. None
--pool-prefix text Add a prefix to the pool (repeatable). Sentinel.UNSET
--default / --no-default boolean Set or unset as the default pool. None
--help boolean Show this message and exit. False

orca subnet-pool show

Show subnet pool details.

Usage:

orca subnet-pool show [OPTIONS] POOL_ID

Options:

Name Type Description Default
--noindent boolean Disable JSON indentation. False
--max-width integer Maximum table width (0 = unlimited). None
--fit-width boolean Fit table to terminal width. False
--column, -c text Column to include (repeatable). Shows all if omitted. Sentinel.UNSET
--format, -f choice (table | json | value) Output format. table
--help boolean Show this message and exit. False

orca subnet-pool unset

Remove address prefixes from a subnet pool.

Neutron has no atomic "remove prefix" endpoint — we fetch the current list, subtract, and PUT the result back. Other concurrent writes lose; race-tolerant patterns should rebuild the pool.

Example: orca subnet-pool unset --prefix 10.0.0.0/16

Usage:

orca subnet-pool unset [OPTIONS] POOL_ID

Options:

Name Type Description Default
--prefix text CIDR prefix to drop from the pool (repeatable). Sentinel.UNSET
--help boolean Show this message and exit. False