Red Hat Training

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

8.227. neutron subnetpool-create

usage: neutron subnetpool-create [-h] [-f {json,shell,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--noindent] [--prefix PREFIX]
                                 [--request-format {json}]
                                 [--tenant-id TENANT_ID]
                                 [--description DESCRIPTION]
                                 [--min-prefixlen MIN_PREFIXLEN]
                                 [--max-prefixlen MAX_PREFIXLEN]
                                 [--default-prefixlen DEFAULT_PREFIXLEN]
                                 --pool-prefix PREFIXES
                                 [--is-default {True,False}] [--shared]
                                 [--address-scope ADDRSCOPE]
                                 NAME
Create a subnetpool for a given tenant.

Positional arguments

NAME


        Name of the subnetpool to be created.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--tenant-id TENANT_ID


      The owner tenant ID.

--description DESCRIPTION


      Description of subnetpool.

--min-prefixlen MIN_PREFIXLEN


      Subnetpool minimum prefix length.

--max-prefixlen MAX_PREFIXLEN


      Subnetpool maximum prefix length.

--default-prefixlen DEFAULT_PREFIXLEN


      Subnetpool default prefix length.

--pool-prefix PREFIXES


      Subnetpool prefixes (This option can be repeated).

--is-default {True,False}


      Specify whether this should be the default subnetpool
      (True meaning default).

--shared


        Set the subnetpool as shared.

--address-scope ADDRSCOPE


      ID or name of the address scope with which the
      subnetpool is associated. Prefixes must be unique
      across address scopes.