Add VLAN Transparent option to `osc network`

osc network set and network create now support
--transparent-vlan|--no-transparent-vlan options
to add/remove vlan transparency from the network.

Change-Id: I845eb8f541cd32a4c4b28f929a63b205e7e31756
Closes-Bug: 1545537
This commit is contained in:
reedip
2016-04-19 13:46:15 +09:00
committed by Reedip
parent 4639148b1d
commit 00c149a28f
4 changed files with 57 additions and 4 deletions
doc/source/command-objects
openstackclient
network
tests
releasenotes/notes

@ -21,6 +21,7 @@ Create new network
[--provider-network-type <provider-network-type>]
[--provider-physical-network <provider-physical-network>]
[--provider-segment <provider-segment>]
[--transparent-vlan | --no-transparent-vlan]
<name>
.. option:: --project <project>
@ -116,6 +117,18 @@ Create new network
*Network version 2 only*
.. option:: --transparent-vlan
Make the network VLAN transparent
*Network version 2 only*
.. option:: --no-transparent-vlan
Do not make the network VLAN transparent
*Network version 2 only*
.. _network_create-name:
.. describe:: <name>
@ -175,6 +188,7 @@ Set network properties
[--provider-network-type <provider-network-type>]
[--provider-physical-network <provider-physical-network>]
[--provider-segment <provider-segment>]
[--transparent-vlan | --no-transparent-vlan]
<network>
.. option:: --name <name>
@ -227,6 +241,14 @@ Set network properties
VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN networks
.. option:: --transparent-vlan
Make the network VLAN transparent
.. option:: --no-transparent-vlan
Do not make the network VLAN transparent
.. _network_set-network:
.. describe:: <network>