summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/network.rst
diff options
context:
space:
mode:
authorreedip <reedip.banerjee@nectechnologies.in>2016-03-14 15:35:46 +0900
committerReedip <reedip.banerjee@nectechnologies.in>2016-04-06 16:01:24 +0000
commit107bc5164f99ef956d952273235648c7f8f26764 (patch)
treeff5074d39b2e30a38db0fa4ee9de3396ba85d50d /doc/source/command-objects/network.rst
parent55b37d5e33f322077303a895d3453320b3895f11 (diff)
downloadpython-openstackclient-107bc5164f99ef956d952273235648c7f8f26764.tar.gz
Add external network options to osc network create
The following patch adds the options "--external" & "--internal" and the suboptions to "external": "--default" & "--no-default", to "osc network create" CLI to provide the user an option to create a network as an external network. Change-Id: Idf73714bb94c0610ea164131140a51848908b00b Partial-Bug: #1545537
Diffstat (limited to 'doc/source/command-objects/network.rst')
-rw-r--r--doc/source/command-objects/network.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/source/command-objects/network.rst b/doc/source/command-objects/network.rst
index 9e109279..e0a649c1 100644
--- a/doc/source/command-objects/network.rst
+++ b/doc/source/command-objects/network.rst
@@ -17,6 +17,7 @@ Create new network
[--enable | --disable]
[--share | --no-share]
[--availability-zone-hint <availability-zone>]
+ [--external [--default | --no-default] | --internal]
<name>
.. option:: --project <project>
@@ -59,6 +60,29 @@ Create new network
IPv4 subnet for fixed IPs (in CIDR notation)
(Compute v2 network only)
+.. option:: --external
+
+ Set this network as an external network.
+ Requires the "external-net" extension to be enabled.
+ (Network v2 only)
+
+.. option:: --internal
+
+ Set this network as an internal network (default)
+ (Network v2 only)
+
+.. option:: --default
+
+ Specify if this network should be used as
+ the default external network
+ (Network v2 only)
+
+.. option:: --no-default
+
+ Do not use the network as the default external network.
+ By default, no network is set as an external network.
+ (Network v2 only)
+
.. _network_create-name:
.. describe:: <name>