summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/subnet.rst
diff options
context:
space:
mode:
authorReedip <reedip.banerjee@nectechnologies.in>2016-11-16 14:22:44 +0530
committerReedip <reedip.banerjee@nectechnologies.in>2016-11-28 05:49:21 +0000
commitabfcd7810cb5937060fd9ae290f07a48226c9ced (patch)
tree3bbfe9186e0e78564171757a029f1400003e266b /doc/source/command-objects/subnet.rst
parent4cd336b1285fdd0455ce1fcc4544ae81a7756e0b (diff)
downloadpython-openstackclient-abfcd7810cb5937060fd9ae290f07a48226c9ced.tar.gz
Introduce overwrite functionality in ``osc subnet set``
The overwrite functionality allows user to overwrite the dns-nameservers of a specific subnet. Change-Id: I421808a3bdeb4565668f627b7929c4762cf40212 partially-implements: blueprint allow-overwrite-set-options partially-implements: blueprint network-commands-options
Diffstat (limited to 'doc/source/command-objects/subnet.rst')
-rw-r--r--doc/source/command-objects/subnet.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/command-objects/subnet.rst b/doc/source/command-objects/subnet.rst
index e2059875..a88b8103 100644
--- a/doc/source/command-objects/subnet.rst
+++ b/doc/source/command-objects/subnet.rst
@@ -231,6 +231,7 @@ Set subnet properties
[--no-allocation-pool]
[--dhcp | --no-dhcp]
[--dns-nameserver <dns-nameserver>]
+ [--no-dns-nameserver]
[--gateway <gateway-ip>]
[--host-route destination=<subnet>,gateway=<ip-address>]
[--no-host-route]
@@ -263,6 +264,12 @@ Set subnet properties
DNS server for this subnet (repeat option to set multiple DNS servers)
+.. option:: --no-dns-nameservers
+
+ Clear existing information of DNS servers.
+ Specify both --dns-nameserver and --no-dns-nameservers
+ to overwrite the current DNS server information.
+
.. option:: --gateway <gateway>
Specify a gateway for the subnet. The options are: