summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/subnet.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/command-objects/subnet.rst')
-rw-r--r--doc/source/command-objects/subnet.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/source/command-objects/subnet.rst b/doc/source/command-objects/subnet.rst
index fe77ccfd..30516789 100644
--- a/doc/source/command-objects/subnet.rst
+++ b/doc/source/command-objects/subnet.rst
@@ -235,3 +235,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)