Merge "Enable flat network for ovn"

This commit is contained in:
Zuul 2019-03-30 00:04:59 +00:00 committed by Gerrit Code Review
commit e52cdf2fc8
6 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ parameter_defaults:
OVNQosDriver: ovn-qos OVNQosDriver: ovn-qos
OVNTunnelEncapType: geneve OVNTunnelEncapType: geneve
NeutronTypeDrivers: 'geneve,vlan,flat' NeutronTypeDrivers: 'geneve,vlan,flat'
NeutronNetworkType: 'geneve' NeutronNetworkType: ['geneve', 'vlan', 'flat']
NeutronServicePlugins: 'qos,ovn-router,trunk' NeutronServicePlugins: 'qos,ovn-router,trunk'
NeutronVniRanges: ['1:65536', ] NeutronVniRanges: ['1:65536', ]

View File

@ -22,7 +22,7 @@ parameter_defaults:
OVNQosDriver: ovn-qos OVNQosDriver: ovn-qos
OVNTunnelEncapType: geneve OVNTunnelEncapType: geneve
NeutronTypeDrivers: 'geneve,vlan,flat' NeutronTypeDrivers: 'geneve,vlan,flat'
NeutronNetworkType: ['geneve' , 'vlan'] NeutronNetworkType: ['geneve' , 'vlan', 'flat']
NeutronServicePlugins: 'qos,ovn-router,trunk' NeutronServicePlugins: 'qos,ovn-router,trunk'
NeutronVniRanges: ['1:65536', ] NeutronVniRanges: ['1:65536', ]
NeutronRpcWorkers: 1 NeutronRpcWorkers: 1

View File

@ -20,7 +20,7 @@ parameter_defaults:
OVNQosDriver: ovn-qos OVNQosDriver: ovn-qos
OVNTunnelEncapType: geneve OVNTunnelEncapType: geneve
NeutronTypeDrivers: 'geneve,vlan,flat' NeutronTypeDrivers: 'geneve,vlan,flat'
NeutronNetworkType: ['geneve' , 'vlan'] NeutronNetworkType: ['geneve' , 'vlan', 'flat']
NeutronServicePlugins: 'qos,ovn-router,trunk' NeutronServicePlugins: 'qos,ovn-router,trunk'
NeutronVniRanges: ['1:65536', ] NeutronVniRanges: ['1:65536', ]
NeutronPluginExtensions: "qos,port_security,dns" NeutronPluginExtensions: "qos,port_security,dns"

View File

@ -22,7 +22,7 @@ parameter_defaults:
OVNQosDriver: ovn-qos OVNQosDriver: ovn-qos
OVNTunnelEncapType: geneve OVNTunnelEncapType: geneve
NeutronTypeDrivers: 'geneve,vlan,flat' NeutronTypeDrivers: 'geneve,vlan,flat'
NeutronNetworkType: ['geneve' , 'vlan'] NeutronNetworkType: ['geneve' , 'vlan', 'flat']
NeutronServicePlugins: 'qos,ovn-router,trunk' NeutronServicePlugins: 'qos,ovn-router,trunk'
NeutronVniRanges: ['1:65536', ] NeutronVniRanges: ['1:65536', ]
NeutronRpcWorkers: 1 NeutronRpcWorkers: 1

View File

@ -71,7 +71,7 @@ parameters:
description: Whether Metadata Service has to be enabled description: Whether Metadata Service has to be enabled
type: boolean type: boolean
default: true default: true
# NOTE(anil): OVN supports only VLAN and geneve networks # NOTE(anil): OVN supports only VLAN, geneve and flat networks
NeutronNetworkType: NeutronNetworkType:
default: 'geneve' default: 'geneve'
description: The tenant network type for Neutron. description: The tenant network type for Neutron.
@ -80,7 +80,7 @@ parameters:
- allowed_values: - allowed_values:
- geneve - geneve
- vlan - vlan
- flat
OVNDnsServers: OVNDnsServers:
default: [] default: []
description: List of servers to use as as dns forwarders description: List of servers to use as as dns forwarders

View File

@ -174,10 +174,10 @@ PARAMETER_DEFINITION_EXCLUSIONS = {'CephPools': ['description',
'constraints'], 'constraints'],
# NOTE(anil): This is a temporary change and # NOTE(anil): This is a temporary change and
# will be removed once bug #1767070 properly # will be removed once bug #1767070 properly
# fixed. OVN supports only VLAN and geneve # fixed. OVN supports only VLAN, geneve
# for NeutronNetworkType. But VLAN tenant # and flat for NeutronNetworkType. But VLAN
# networks have a limited support in OVN. # tenant networks have a limited support
# Till that is fixed, we restrict # in OVN. Till that is fixed, we restrict
# NeutronNetworkType to 'geneve'. # NeutronNetworkType to 'geneve'.
'NeutronNetworkType': ['description', 'NeutronNetworkType': ['description',
'default', 'default',