Skip to content

Commit 56a081f

Browse files
committed
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
1 parent df71ae8 commit 56a081f

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

doc/source/command-objects/network.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Create new network
108108
.. option:: --provider-network-type <provider-network-type>
109109
110110
The physical mechanism by which the virtual network is implemented.
111-
The supported options are: flat, gre, local, vlan, vxlan
111+
The supported options are: flat, geneve, gre, local, vlan, vxlan
112112
113113
*Network version 2 only*
114114
@@ -120,7 +120,7 @@ Create new network
120120
121121
.. option:: --provider-segment <provider-segment>
122122
123-
VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN networks
123+
VLAN ID for VLAN networks or Tunnel ID for GENEVE/GRE/VXLAN networks
124124
125125
*Network version 2 only*
126126

openstackclient/network/v2/network.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ def _add_additional_network_options(parser):
103103
parser.add_argument(
104104
'--provider-network-type',
105105
metavar='<provider-network-type>',
106-
choices=['flat', 'gre', 'local',
106+
choices=['flat', 'geneve', 'gre', 'local',
107107
'vlan', 'vxlan'],
108108
help=_("The physical mechanism by which the virtual network "
109109
"is implemented. The supported options are: "
110-
"flat, gre, local, vlan, vxlan"))
110+
"flat, geneve, gre, local, vlan, vxlan"))
111111
parser.add_argument(
112112
'--provider-physical-network',
113113
metavar='<provider-physical-network>',
@@ -118,8 +118,8 @@ def _add_additional_network_options(parser):
118118
'--provider-segment',
119119
metavar='<provider-segment>',
120120
dest='segmentation_id',
121-
help=_("VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN "
122-
"networks"))
121+
help=_("VLAN ID for VLAN networks or Tunnel ID for "
122+
"GENEVE/GRE/VXLAN networks"))
123123

124124
vlan_transparent_grp = parser.add_mutually_exclusive_group()
125125
vlan_transparent_grp.add_argument(
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- Add ``geneve`` choice to the ``network create`` command
4+
``--provider-network-type`` option.
5+
[Blueprint :oscbp:`neutron-client`]

0 commit comments

Comments
 (0)