diff options
| author | Harald Jensas <hjensas@redhat.com> | 2017-11-27 21:08:26 +0100 |
|---|---|---|
| committer | Harald Jensås <hjensas@redhat.com> | 2018-06-06 11:56:39 +0200 |
| commit | e8c731547d85b1241c7898d2fb77b8d635901dfd (patch) | |
| tree | fe2194e2344947e7b59b44be48deddef55941d3c /doc/source | |
| parent | c18f93bafeb3304cc275dc466664c9401d722194 (diff) | |
| download | python-openstackclient-e8c731547d85b1241c7898d2fb77b8d635901dfd.tar.gz | |
Allow setting network-segment on subnet update
To enable the possibility to migrate a non-routed network to a
routed network allow updating the segment_id of a subnet.
Change-Id: I3ebae2ff28d5d4e5373ebd1f52194f8c52071b88
Partial-Bug: bug/1692490
Depends-On: I1aee29dfb59e9769ec0f1cb1f5d2933bc5dc0dc5
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/cli/command-objects/subnet.rst | 8 |
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.: |
