Richard Theis 6b76860c45 Doc: Fix network command documentation issues
Fix the following network command documentation issues:
  - Fix format of subnet pool positional arguments
  - Update port set options to match help
  - Fix network command documentation for Network v2
    versus Compute v2 options and commands
  - Fix subnet command documentation errors and formatting
    problems in help text

Change-Id: I808c2a70ca62eafc9e42d6873539cdd142ffe50c
Related-Bug: #1558677
2016-04-08 08:00:17 -05:00

2.8 KiB

subnet pool

Network v2

subnet pool create

Create subnet pool

subnet pool create

os subnet pool create
    [--pool-prefix <pool-prefix> [...]]
    [--default-prefix-length <default-prefix-length>]
    [--min-prefix-length <min-prefix-length>]
    [--max-prefix-length <max-prefix-length>]
    [--project <project> [--project-domain <project-domain>]]
    <name>

--pool-prefix <pool-prefix>

Set subnet pool prefixes (in CIDR notation). Repeat this option to set multiple prefixes.

--default-prefix-length <default-prefix-length>

Set subnet pool default prefix length

--min-prefix-length <min-prefix-length>

Set subnet pool minimum prefix length

--max-prefix-length <max-prefix-length>

Set subnet pool maximum prefix length

--project <project>

Owner's project (name or ID)

--project-domain <project-domain>

Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.

Name of the new subnet pool

subnet pool delete

Delete subnet pool

subnet pool delete

os subnet pool delete
    <subnet-pool>




Subnet pool to delete (name or ID)

subnet pool list

List subnet pools

subnet pool list

os subnet pool list
    [--long]

--long

List additional fields in output

subnet pool set

Set subnet pool properties

subnet pool set

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>]
    <subnet-pool>

--name <name>

Set subnet pool name

--pool-prefix <pool-prefix>

Set subnet pool prefixes (in CIDR notation). Repeat this option to set multiple prefixes.

--default-prefix-length <default-prefix-length>

Set subnet pool default prefix length

--min-prefix-length <min-prefix-length>

Set subnet pool minimum prefix length

--max-prefix-length <max-prefix-length>

Set subnet pool maximum prefix length

Subnet pool to modify (name or ID)

subnet pool show

Display subnet pool details

subnet pool show

os subnet pool show
    <subnet-pool>




Subnet pool to display (name or ID)