Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

2.397. openstack subnet pool create

usage: openstack subnet pool create [-h] [-f {json,shell,table,value,yaml}]
                                    [-c COLUMN] [--max-width <integer>]
                                    [--noindent] [--prefix PREFIX]
                                    --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>]
                                    [--address-scope <address-scope>]
                                    [--default | --no-default]
                                    [--share | --no-share]
                                    <name>
Create subnet pool

Positional arguments

<name>


        Name of the new subnet pool

Optional arguments

-h, --help


        show this help message and exit

--pool-prefix <pool-prefix>


      Set subnet pool prefixes (in CIDR notation) (repeat
      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.

--address-scope <address-scope>


      Set address scope associated with the subnet pool
      (name or ID), prefixes must be unique across address
      scopes

--default


        Set this as a default subnet pool

--no-default


        Set this as a non-default subnet pool

--share


        Set this subnet pool as shared

--no-share


        Set this subnet pool as not shared