Add geneve provider network type

Add the "geneve" choice to the "os network create" command's
"--provider-network-type" option.

Change-Id: I7573232ec3594ec4acbfae43a8456b8c3fcd1a83
Implements: blueprint neutron-client
This commit is contained in:
Richard Theis 2016-06-10 14:44:50 -05:00
parent df71ae814e
commit 56a081fa23
3 changed files with 11 additions and 6 deletions

View File

@ -108,7 +108,7 @@ Create new network
.. option:: --provider-network-type <provider-network-type>
The physical mechanism by which the virtual network is implemented.
The supported options are: flat, gre, local, vlan, vxlan
The supported options are: flat, geneve, gre, local, vlan, vxlan
*Network version 2 only*
@ -120,7 +120,7 @@ Create new network
.. option:: --provider-segment <provider-segment>
VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN networks
VLAN ID for VLAN networks or Tunnel ID for GENEVE/GRE/VXLAN networks
*Network version 2 only*

View File

@ -103,11 +103,11 @@ def _add_additional_network_options(parser):
parser.add_argument(
'--provider-network-type',
metavar='<provider-network-type>',
choices=['flat', 'gre', 'local',
choices=['flat', 'geneve', 'gre', 'local',
'vlan', 'vxlan'],
help=_("The physical mechanism by which the virtual network "
"is implemented. The supported options are: "
"flat, gre, local, vlan, vxlan"))
"flat, geneve, gre, local, vlan, vxlan"))
parser.add_argument(
'--provider-physical-network',
metavar='<provider-physical-network>',
@ -118,8 +118,8 @@ def _add_additional_network_options(parser):
'--provider-segment',
metavar='<provider-segment>',
dest='segmentation_id',
help=_("VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN "
"networks"))
help=_("VLAN ID for VLAN networks or Tunnel ID for "
"GENEVE/GRE/VXLAN networks"))
vlan_transparent_grp = parser.add_mutually_exclusive_group()
vlan_transparent_grp.add_argument(

View File

@ -0,0 +1,5 @@
---
features:
- Add ``geneve`` choice to the ``network create`` command
``--provider-network-type`` option.
[Blueprint :oscbp:`neutron-client`]