diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-06-29 12:58:04 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-06-29 12:58:05 +0000 |
| commit | 4b38753a929461cf2c20cd17e576b5e4b9314777 (patch) | |
| tree | 17de4e520fc4ee97ad3c7bf0dae220d8baa51efe /doc/source/command-objects | |
| parent | 6920c9e839b3ce416ea769fce7034c426512a041 (diff) | |
| parent | 45b026d7c8e4675a598192bcf4c88f22005cc1d2 (diff) | |
| download | python-openstackclient-4b38753a929461cf2c20cd17e576b5e4b9314777.tar.gz | |
Merge "Add command to unset information from Subnets"
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/subnet.rst | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/source/command-objects/subnet.rst b/doc/source/command-objects/subnet.rst index 1137940f..f0d5e90a 100644 --- a/doc/source/command-objects/subnet.rst +++ b/doc/source/command-objects/subnet.rst @@ -236,3 +236,41 @@ Display subnet details .. describe:: <subnet> Subnet to display (name or ID) + +subnet unset +------------ + +Unset subnet properties + +.. program:: subnet unset +.. code:: bash + + os subnet unset + [--allocation-pool start=<ip-address>,end=<ip-address> [...]] + [--dns-nameserver <dns-nameserver> [...]] + [--host-route destination=<subnet>,gateway=<ip-address> [...]] + <subnet> + +.. option:: --dns-nameserver <dns-nameserver> + + DNS server to be removed from this subnet + (repeat option to unset multiple DNS servers) + +.. option:: --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) + +.. option:: --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) + +.. _subnet_unset-subnet: +.. describe:: <subnet> + + subnet to modify (name or ID) |
