summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/network.rst
diff options
context:
space:
mode:
authorreedip <reedip.banerjee@nectechnologies.in>2016-04-08 14:24:30 +0900
committerReedip <reedip.banerjee@nectechnologies.in>2016-04-15 00:28:09 +0000
commit67f8b898eb6d48b11b9f0624ac70f65c4311f8e8 (patch)
treecf2723f8f3e1a755f5f8c405ec501ff78d48803f /doc/source/command-objects/network.rst
parentbe6027e09b806496d20b833a5f9ed6fcf44156b6 (diff)
downloadpython-openstackclient-67f8b898eb6d48b11b9f0624ac70f65c4311f8e8.tar.gz
Add external network options to osc network set
The following patch adds the options "--external" & "--internal" and the suboptions to "external": "--default" & "--no-default", to "osc network set" CLI to provide the user an option to set a network as an external network or remove the setting. Change-Id: I3a7f2cb249bc8101cbb01322d7732e913237d6cd Partial-Bug: #1545537
Diffstat (limited to 'doc/source/command-objects/network.rst')
-rw-r--r--doc/source/command-objects/network.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/source/command-objects/network.rst b/doc/source/command-objects/network.rst
index 622568e4..6d3f505a 100644
--- a/doc/source/command-objects/network.rst
+++ b/doc/source/command-objects/network.rst
@@ -171,6 +171,7 @@ Set network properties
[--name <name>]
[--enable | --disable]
[--share | --no-share]
+ [--external [--default | --no-default] | --internal]
<network>
.. option:: --name <name>
@@ -193,6 +194,24 @@ Set network properties
Do not share the network between projects
+.. option:: --external
+
+ Set this network as an external network.
+ Requires the "external-net" extension to be enabled.
+
+.. option:: --internal
+
+ Set this network as an internal network
+
+.. option:: --default
+
+ Specify if this network should be used as
+ the default external network
+
+.. option:: --no-default
+
+ Do not use the network as the default external network.
+
.. _network_set-network:
.. describe:: <network>