summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/subnet.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/cli/command-objects/subnet.rst')
-rw-r--r--doc/source/cli/command-objects/subnet.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/subnet.rst b/doc/source/cli/command-objects/subnet.rst
index 0a56ccf1..73e656d8 100644
--- a/doc/source/cli/command-objects/subnet.rst
+++ b/doc/source/cli/command-objects/subnet.rst
@@ -265,6 +265,7 @@ Set subnet properties
[--dns-nameserver <dns-nameserver>]
[--no-dns-nameserver]
[--gateway <gateway-ip>]
+ [--network-segment <network-segment>]
[--host-route destination=<subnet>,gateway=<ip-address>]
[--no-host-route]
[--service-type <service-type>]
@@ -310,6 +311,13 @@ Set subnet properties
'none': This subnet will not use a gateway,
e.g.: ``--gateway 192.168.9.1``, ``--gateway none``.
+.. option:: --network-segment <network-segment>
+
+ Network segment to associate with this subnet (name or ID). It is only
+ allowed to set the segment if the current value is `None`, the network
+ must also have only one segment and only one subnet can exist on the
+ network.
+
.. option:: --host-route destination=<subnet>,gateway=<ip-address>
Additional route for this subnet e.g.: