Skip to content

orca subnet

Manage Neutron subnets (OSC-parity top-level alias of network subnet).

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

orca subnet

Manage Neutron subnets (alias of orca network subnet).

Usage:

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

Options:

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

Subcommands

  • create: Create a subnet.
  • delete: Delete a subnet.
  • inspect: Full inspection of a subnet — fields + IP usage + attached ports + servers.
  • list: List subnets.
  • show: Show subnet details.
  • update: Update a subnet.
  • update: Update a subnet.
  • update: Update a subnet.

orca subnet create

Create a subnet.

Usage:

orca subnet create [OPTIONS] NAME

Options:

Name Type Description Default
--network-id text Parent network ID. Sentinel.UNSET
--cidr text CIDR (e.g. 10.0.0.0/24). Sentinel.UNSET
--ip-version choice (4 | 6) N/A 4
--gateway text Gateway IP. Auto if omitted. None
--dhcp / --no-dhcp boolean Enable DHCP. True
--dns text DNS nameserver (repeatable). Sentinel.UNSET
--help boolean Show this message and exit. False

orca subnet delete

Delete a subnet.

Usage:

orca subnet delete [OPTIONS] SUBNET_ID

Options:

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

orca subnet inspect

Full inspection of a subnet — fields + IP usage + attached ports + servers.

Cross-references three Neutron endpoints so you don't have to run subnet show + port list + ip-availability show by hand:

  1. GET /subnets/{id} — the subnet fields
  2. GET /network-ip-availabilities/{network_id} — IP usage per subnet
  3. GET /ports?fixed_ips=subnet_id=<id> — who actually uses each IP

For each port, follow device_id when device_owner is compute:* to surface the server name (single Nova servers/{id} GET per attached VM).

Example: orca network subnet inspect

Usage:

orca subnet inspect [OPTIONS] SUBNET_ID

Options:

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

orca subnet list

List subnets.

Usage:

orca subnet list [OPTIONS]

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 show

Show subnet details.

Usage:

orca subnet show [OPTIONS] SUBNET_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 update

Update a subnet.

Usage:

orca subnet update [OPTIONS] SUBNET_ID

Options:

Name Type Description Default
--name text New name. None
--description text New description. None
--dns-nameserver text DNS nameserver IP (repeatable, replaces existing list). Sentinel.UNSET
--enable-dhcp / --disable-dhcp boolean Enable or disable DHCP. None
--help boolean Show this message and exit. False

orca subnet update

Update a subnet.

Usage:

orca subnet update [OPTIONS] SUBNET_ID

Options:

Name Type Description Default
--name text New name. None
--description text New description. None
--dns-nameserver text DNS nameserver IP (repeatable, replaces existing list). Sentinel.UNSET
--enable-dhcp / --disable-dhcp boolean Enable or disable DHCP. None
--help boolean Show this message and exit. False

orca subnet update

Update a subnet.

Usage:

orca subnet update [OPTIONS] SUBNET_ID

Options:

Name Type Description Default
--name text New name. None
--description text New description. None
--dns-nameserver text DNS nameserver IP (repeatable, replaces existing list). Sentinel.UNSET
--enable-dhcp / --disable-dhcp boolean Enable or disable DHCP. None
--help boolean Show this message and exit. False