diff --git a/doc/source/topics/settings.rst b/doc/source/topics/settings.rst index 4571f72f3..694eca6a1 100644 --- a/doc/source/topics/settings.rst +++ b/doc/source/topics/settings.rst @@ -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. diff --git a/openstack_dashboard/dashboards/admin/networks/forms.py b/openstack_dashboard/dashboards/admin/networks/forms.py index c10a2c511..90858b4ae 100644 --- a/openstack_dashboard/dashboards/admin/networks/forms.py +++ b/openstack_dashboard/dashboards/admin/networks/forms.py @@ -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): diff --git a/openstack_dashboard/local/local_settings.py.example b/openstack_dashboard/local/local_settings.py.example index 83bef2946..37de34d40 100644 --- a/openstack_dashboard/local/local_settings.py.example +++ b/openstack_dashboard/local/local_settings.py.example @@ -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 diff --git a/releasenotes/notes/network-type-geneve-71eed4104699754e.yaml b/releasenotes/notes/network-type-geneve-71eed4104699754e.yaml new file mode 100644 index 000000000..fac6ccc67 --- /dev/null +++ b/releasenotes/notes/network-type-geneve-71eed4104699754e.yaml @@ -0,0 +1,3 @@ +--- +features: + - Neutron network type for Geneve tunneling protocol is now supported.