From 107bc5164f99ef956d952273235648c7f8f26764 Mon Sep 17 00:00:00 2001 From: reedip Date: Mon, 14 Mar 2016 15:35:46 +0900 Subject: 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 --- doc/source/command-objects/network.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc/source/command-objects') 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 ] + [--external [--default | --no-default] | --internal] .. option:: --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:: -- cgit v1.2.1