Add Geneve support
Closes-Bug: #1461069 Change-Id: Ib8d150d36d617e0ff381a40115bde2183dace4f8
This commit is contained in:
parent
a968f9a500
commit
ed7c766854
@ -1196,7 +1196,7 @@ Network types defined in Horizon or defined in ``extra_provider_types``
|
||||
settings can be specified in this list.
|
||||
As of the Newton release, the network types defined in Horizon include
|
||||
network types supported by Neutron ML2 plugin with Open vSwitch driver
|
||||
(``local``, ``flat``, ``vlan``, ``gre``, and ``vxlan``)
|
||||
(``local``, ``flat``, ``vlan``, ``gre``, ``vxlan`` and ``geneve``)
|
||||
and supported by Midonet plugin (``midonet`` and ``uplink``).
|
||||
``["*"]`` means that all provider network types supported by Neutron
|
||||
ML2 plugin will be available to choose from.
|
||||
|
@ -56,6 +56,11 @@ PROVIDER_TYPES = {
|
||||
'require_physical_network': False,
|
||||
'require_segmentation_id': True,
|
||||
},
|
||||
'geneve': {
|
||||
'display_name': _('Geneve'),
|
||||
'require_physical_network': False,
|
||||
'require_segmentation_id': True,
|
||||
},
|
||||
'midonet': {
|
||||
'display_name': _('MidoNet'),
|
||||
'require_physical_network': False,
|
||||
@ -74,13 +79,14 @@ SEGMENTATION_ID_RANGE = {
|
||||
'vlan': (1, 4094),
|
||||
'gre': (0, (2 ** 32) - 1),
|
||||
'vxlan': (0, (2 ** 24) - 1),
|
||||
'geneve': (1, (2 ** 24) - 1),
|
||||
}
|
||||
# DEFAULT_PROVIDER_TYPES is used when ['*'] is specified
|
||||
# in supported_provider_types. This list contains network types
|
||||
# supported by Neutron ML2 plugin reference implementation.
|
||||
# You can control enabled network types by
|
||||
# supported_provider_types setting.
|
||||
DEFAULT_PROVIDER_TYPES = ['local', 'flat', 'vlan', 'gre', 'vxlan']
|
||||
DEFAULT_PROVIDER_TYPES = ['local', 'flat', 'vlan', 'gre', 'vxlan', 'geneve']
|
||||
|
||||
|
||||
class CreateNetwork(forms.SelfHandlingForm):
|
||||
|
@ -290,7 +290,7 @@ OPENSTACK_NEUTRON_NETWORK = {
|
||||
|
||||
# Set which provider network types are supported. Only the network types
|
||||
# in this list will be available to choose from when creating a network.
|
||||
# Network types include local, flat, vlan, gre, and vxlan.
|
||||
# Network types include local, flat, vlan, gre, vxlan and geneve.
|
||||
# 'supported_provider_types': ['*'],
|
||||
|
||||
# You can configure available segmentation ID range per network type
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Neutron network type for Geneve tunneling protocol is now supported.
|
Loading…
Reference in New Issue
Block a user