Red Hat Training

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

2.405. openstack subnet unset

usage: openstack subnet unset [-h]
                              [--allocation-pool start=<ip-address>,end=<ip-address>]
                              [--dns-nameserver <dns-nameserver>]
                              [--host-route destination=<subnet>,gateway=<ip-address>]
                              <subnet>
Unset subnet properties

Positional arguments

<subnet>


        Subnet to modify (name or ID)

Optional arguments

-h, --help


        show this help message and exit

--allocation-pool


        start=<ip-address>,end=<ip-address>
      Allocation pool to be removed from this subnet e.g.:
      start=192.168.199.2,end=192.168.199.254 (repeat option
      to unset multiple Allocation pools)

--dns-nameserver <dns-nameserver>


      DNS server to be removed from this subnet (repeat
      option to set multiple DNS servers)

--host-route


        destination=<subnet>,gateway=<ip-address>
      Route to be removed from this subnet e.g.:
      destination=10.10.0.0/16,gateway=192.168.71.254
      destination: destination subnet (in CIDR notation)
      gateway: nexthop IP address (repeat option to unset
      multiple host routes)