Skip to content

Commit 0ec711c

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Add geneve provider network type"
2 parents 968d8bb + 56a081f commit 0ec711c

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
@@ -104,11 +104,11 @@ def _add_additional_network_options(parser):
104104
parser.add_argument(
105105
'--provider-network-type',
106106
metavar='<provider-network-type>',
107-
choices=['flat', 'gre', 'local',
107+
choices=['flat', 'geneve', 'gre', 'local',
108108
'vlan', 'vxlan'],
109109
help=_("The physical mechanism by which the virtual network "
110110
"is implemented. The supported options are: "
111-
"flat, gre, local, vlan, vxlan"))
111+
"flat, geneve, gre, local, vlan, vxlan"))
112112
parser.add_argument(
113113
'--provider-physical-network',
114114
metavar='<provider-physical-network>',
@@ -119,8 +119,8 @@ def _add_additional_network_options(parser):
119119
'--provider-segment',
120120
metavar='<provider-segment>',
121121
dest='segmentation_id',
122-
help=_("VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN "
123-
"networks"))
122+
help=_("VLAN ID for VLAN networks or Tunnel ID for "
123+
"GENEVE/GRE/VXLAN networks"))
124124

125125
vlan_transparent_grp = parser.add_mutually_exclusive_group()
126126
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)