2.400. openstack subnet pool set


usage: openstack subnet pool set [-h] [--name <name>]
                                 [--pool-prefix <pool-prefix>]
                                 [--default-prefix-length <default-prefix-length>]
                                 [--min-prefix-length <min-prefix-length>]
                                 [--max-prefix-length <max-prefix-length>]
                                 [--address-scope <address-scope> | --no-address-scope]
                                 [--default | --no-default]
                                 <subnet-pool>
Copy to Clipboard Toggle word wrap
Set subnet pool properties

Positional arguments

<subnet-pool>


        Subnet pool to modify (name or ID)

Optional arguments

-h, --help


        show this help message and exit

--name <name>


        Set subnet pool name

--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

--address-scope <address-scope>


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

--no-address-scope


        Remove address scope associated with the subnet pool

--default


        Set this as a default subnet pool

--no-default


        Set this as a non-default subnet pool

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