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:
parent
df71ae814e
commit
56a081fa23
@ -108,7 +108,7 @@ Create new network
|
|||||||
.. option:: --provider-network-type <provider-network-type>
|
.. option:: --provider-network-type <provider-network-type>
|
||||||
|
|
||||||
The physical mechanism by which the virtual network is implemented.
|
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*
|
*Network version 2 only*
|
||||||
|
|
||||||
@ -120,7 +120,7 @@ Create new network
|
|||||||
|
|
||||||
.. option:: --provider-segment <provider-segment>
|
.. 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*
|
*Network version 2 only*
|
||||||
|
|
||||||
|
@ -103,11 +103,11 @@ def _add_additional_network_options(parser):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--provider-network-type',
|
'--provider-network-type',
|
||||||
metavar='<provider-network-type>',
|
metavar='<provider-network-type>',
|
||||||
choices=['flat', 'gre', 'local',
|
choices=['flat', 'geneve', 'gre', 'local',
|
||||||
'vlan', 'vxlan'],
|
'vlan', 'vxlan'],
|
||||||
help=_("The physical mechanism by which the virtual network "
|
help=_("The physical mechanism by which the virtual network "
|
||||||
"is implemented. The supported options are: "
|
"is implemented. The supported options are: "
|
||||||
"flat, gre, local, vlan, vxlan"))
|
"flat, geneve, gre, local, vlan, vxlan"))
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--provider-physical-network',
|
'--provider-physical-network',
|
||||||
metavar='<provider-physical-network>',
|
metavar='<provider-physical-network>',
|
||||||
@ -118,8 +118,8 @@ def _add_additional_network_options(parser):
|
|||||||
'--provider-segment',
|
'--provider-segment',
|
||||||
metavar='<provider-segment>',
|
metavar='<provider-segment>',
|
||||||
dest='segmentation_id',
|
dest='segmentation_id',
|
||||||
help=_("VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN "
|
help=_("VLAN ID for VLAN networks or Tunnel ID for "
|
||||||
"networks"))
|
"GENEVE/GRE/VXLAN networks"))
|
||||||
|
|
||||||
vlan_transparent_grp = parser.add_mutually_exclusive_group()
|
vlan_transparent_grp = parser.add_mutually_exclusive_group()
|
||||||
vlan_transparent_grp.add_argument(
|
vlan_transparent_grp.add_argument(
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Add ``geneve`` choice to the ``network create`` command
|
||||||
|
``--provider-network-type`` option.
|
||||||
|
[Blueprint :oscbp:`neutron-client`]
|
Loading…
Reference in New Issue
Block a user