summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-23 12:24:16 +0000
committerGerrit Code Review <review@openstack.org>2016-09-23 12:24:16 +0000
commit40cc493b78ebb5c131d993ebda96a912975f79e7 (patch)
tree3c49203aff8576bf348c557d9a2c14036434a16f /doc/source/command-objects
parent6a733bf3121eb62761883c73704e19d912edc58c (diff)
parent7f12b745ce509218f1ea38bb313d433688bcbf6f (diff)
downloadpython-openstackclient-40cc493b78ebb5c131d993ebda96a912975f79e7.tar.gz
Merge "Overwrite/Clear support for subnets"
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/subnet.rst15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/source/command-objects/subnet.rst b/doc/source/command-objects/subnet.rst
index 64130ee1..00401dda 100644
--- a/doc/source/command-objects/subnet.rst
+++ b/doc/source/command-objects/subnet.rst
@@ -232,10 +232,12 @@ Set subnet properties
os subnet set
[--allocation-pool start=<ip-address>,end=<ip-address>]
+ [--no-allocation-pool]
[--dhcp | --no-dhcp]
[--dns-nameserver <dns-nameserver>]
[--gateway <gateway-ip>]
[--host-route destination=<subnet>,gateway=<ip-address>]
+ [--no-host-route]
[--service-type <service-type>]
[--name <new-name>]
[--description <description>]
@@ -247,6 +249,12 @@ Set subnet properties
``start=192.168.199.2,end=192.168.199.254``
(repeat option to add multiple IP addresses)
+.. option:: --no-allocation-pool
+
+ Clear associated allocation pools from this subnet.
+ Specify both --allocation-pool and --no-allocation-pool
+ to overwrite the current allocation pool information.
+
.. option:: --dhcp
Enable DHCP
@@ -272,7 +280,12 @@ Set subnet properties
``destination=10.10.0.0/16,gateway=192.168.71.254``
destination: destination subnet (in CIDR notation)
gateway: nexthop IP address
- (repeat option to add multiple routes)
+
+.. option:: --no-host-route
+
+ Clear associated host routes from this subnet.
+ Specify both --host-route and --no-host-route
+ to overwrite the current host route information.
.. option:: --service-type <service-type>