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>
Copy to Clipboard Toggle word wrap
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

Back to top
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