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.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top