From 67f8b898eb6d48b11b9f0624ac70f65c4311f8e8 Mon Sep 17 00:00:00 2001 From: reedip Date: Fri, 8 Apr 2016 14:24:30 +0900 Subject: 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 --- doc/source/command-objects/network.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc/source/command-objects') 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 ] [--enable | --disable] [--share | --no-share] + [--external [--default | --no-default] | --internal] .. option:: --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:: -- cgit v1.2.1