Merge "Add support for DVR in OVN based environments"
This commit is contained in:
commit
9d9a9302b1
27
environments/neutron-ml2-ovn-dvr-ha.yaml
Normal file
27
environments/neutron-ml2-ovn-dvr-ha.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# A Heat environment file which can be used to enable OVN
|
||||||
|
# extensions, configured via puppet
|
||||||
|
resource_registry:
|
||||||
|
OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginML2OVN
|
||||||
|
OS::TripleO::Services::OVNController: ../puppet/services/ovn-controller.yaml
|
||||||
|
OS::TripleO::Services::OVNDBs: ../puppet/services/pacemaker/ovn-dbs.yaml
|
||||||
|
# Disabling Neutron services that overlap with OVN
|
||||||
|
OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronMetadataAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronDhcpAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
|
||||||
|
|
||||||
|
parameter_defaults:
|
||||||
|
NeutronMechanismDrivers: ovn
|
||||||
|
OVNVifType: ovs
|
||||||
|
OVNNeutronSyncMode: log
|
||||||
|
OVNQosDriver: ovn-qos
|
||||||
|
OVNTunnelEncapType: geneve
|
||||||
|
NeutronEnableDHCPAgent: false
|
||||||
|
NeutronTypeDrivers: 'geneve,vlan,flat'
|
||||||
|
NeutronNetworkType: 'geneve'
|
||||||
|
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
||||||
|
NeutronVniRanges: ['1:65536', ]
|
||||||
|
NeutronEnableDVR: true
|
||||||
|
|
26
environments/neutron-ml2-ovn-dvr.yaml
Normal file
26
environments/neutron-ml2-ovn-dvr.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# A Heat environment file which can be used to enable OVN
|
||||||
|
# extensions, configured via puppet
|
||||||
|
resource_registry:
|
||||||
|
OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginML2OVN
|
||||||
|
OS::TripleO::Services::OVNController: ../puppet/services/ovn-controller.yaml
|
||||||
|
OS::TripleO::Services::OVNDBs: ../puppet/services/ovn-dbs.yaml
|
||||||
|
# Disabling Neutron services that overlap with OVN
|
||||||
|
OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronDhcpAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronMetadataAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
|
||||||
|
|
||||||
|
parameter_defaults:
|
||||||
|
NeutronMechanismDrivers: ovn
|
||||||
|
OVNVifType: ovs
|
||||||
|
OVNNeutronSyncMode: log
|
||||||
|
OVNQosDriver: ovn-qos
|
||||||
|
OVNTunnelEncapType: geneve
|
||||||
|
NeutronEnableDHCPAgent: false
|
||||||
|
NeutronTypeDrivers: 'geneve,vlan,flat'
|
||||||
|
NeutronNetworkType: 'geneve'
|
||||||
|
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
||||||
|
NeutronVniRanges: ['1:65536', ]
|
||||||
|
NeutronEnableDVR: true
|
26
environments/services-docker/neutron-ovn-dvr-ha.yaml
Normal file
26
environments/services-docker/neutron-ovn-dvr-ha.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# A Heat environment that can be used to deploy OVN services with non HA OVN DB servers.
|
||||||
|
resource_registry:
|
||||||
|
OS::TripleO::Docker::NeutronMl2PluginBase: ../../puppet/services/neutron-plugin-ml2-ovn.yaml
|
||||||
|
OS::TripleO::Services::OVNController: ../../docker/services/ovn-controller.yaml
|
||||||
|
OS::TripleO::Services::OVNDBs: ../../docker/services/pacemaker/ovn-dbs.yaml
|
||||||
|
# Disabling Neutron services that overlap with OVN
|
||||||
|
OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronMetadataAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronDhcpAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
|
||||||
|
|
||||||
|
|
||||||
|
parameter_defaults:
|
||||||
|
NeutronMechanismDrivers: ovn
|
||||||
|
OVNVifType: ovs
|
||||||
|
OVNNeutronSyncMode: log
|
||||||
|
OVNQosDriver: ovn-qos
|
||||||
|
OVNTunnelEncapType: geneve
|
||||||
|
NeutronEnableDHCPAgent: false
|
||||||
|
NeutronTypeDrivers: 'geneve,vlan,flat'
|
||||||
|
NeutronNetworkType: 'geneve'
|
||||||
|
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
||||||
|
NeutronVniRanges: ['1:65536', ]
|
||||||
|
NeutronEnableDVR: true
|
26
environments/services-docker/neutron-ovn-dvr.yaml
Normal file
26
environments/services-docker/neutron-ovn-dvr.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# A Heat environment that can be used to deploy OVN services with non HA OVN DB servers.
|
||||||
|
resource_registry:
|
||||||
|
OS::TripleO::Docker::NeutronMl2PluginBase: ../../puppet/services/neutron-plugin-ml2-ovn.yaml
|
||||||
|
OS::TripleO::Services::OVNController: ../../docker/services/ovn-controller.yaml
|
||||||
|
OS::TripleO::Services::OVNDBs: ../../docker/services/ovn-dbs.yaml
|
||||||
|
# Disabling Neutron services that overlap with OVN
|
||||||
|
OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronMetadataAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::NeutronDhcpAgent: OS::Heat::None
|
||||||
|
OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
|
||||||
|
|
||||||
|
|
||||||
|
parameter_defaults:
|
||||||
|
NeutronMechanismDrivers: ovn
|
||||||
|
OVNVifType: ovs
|
||||||
|
OVNNeutronSyncMode: log
|
||||||
|
OVNQosDriver: ovn-qos
|
||||||
|
OVNTunnelEncapType: geneve
|
||||||
|
NeutronEnableDHCPAgent: false
|
||||||
|
NeutronTypeDrivers: 'geneve,vlan,flat'
|
||||||
|
NeutronNetworkType: 'geneve'
|
||||||
|
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
||||||
|
NeutronVniRanges: ['1:65536', ]
|
||||||
|
NeutronEnableDVR: true
|
@ -63,6 +63,10 @@ parameters:
|
|||||||
description: Geneve encapsulation header size
|
description: Geneve encapsulation header size
|
||||||
type: number
|
type: number
|
||||||
default: 38
|
default: 38
|
||||||
|
NeutronEnableDVR:
|
||||||
|
description: Enable Neutron DVR.
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
@ -91,5 +95,6 @@ outputs:
|
|||||||
neutron::plugins::ml2::ovn::vif_type: {get_param: OVNVifType}
|
neutron::plugins::ml2::ovn::vif_type: {get_param: OVNVifType}
|
||||||
neutron::server::qos_notification_drivers: {get_param: OVNQosDriver}
|
neutron::server::qos_notification_drivers: {get_param: OVNQosDriver}
|
||||||
neutron::plugins::ml2::max_header_size: {get_param: NeutronGeneveMaxHeaderSize}
|
neutron::plugins::ml2::max_header_size: {get_param: NeutronGeneveMaxHeaderSize}
|
||||||
|
neutron::plugins::ml2::ovn::dvr_enabled: {get_param: NeutronEnableDVR}
|
||||||
step_config: |
|
step_config: |
|
||||||
include ::tripleo::profile::base::neutron::plugins::ml2
|
include ::tripleo::profile::base::neutron::plugins::ml2
|
||||||
|
Loading…
Reference in New Issue
Block a user