Tang Chen a1a470693e Add --project to "subnet pool create"
This patch adds --project and --project-domain
options to "subnet pool create" command.

Change-Id: I2fe006013a194861299a9c77234a7cf988a8dad8
Partial-Bug: #1544586
2016-03-31 12:31:02 +08: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)