From abfcd7810cb5937060fd9ae290f07a48226c9ced Mon Sep 17 00:00:00 2001 From: Reedip Date: Wed, 16 Nov 2016 14:22:44 +0530 Subject: 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 --- doc/source/command-objects/subnet.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/source/command-objects') 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 ] + [--no-dns-nameserver] [--gateway ] [--host-route destination=,gateway=] [--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 Specify a gateway for the subnet. The options are: -- cgit v1.2.1