tripleo-heat-templates/environments/services-baremetal/neutron-ovn-dvr-ha.yaml
Bogdan Dobrelya 6b9b80d88d Enabling Neutron Routed Provider Networks (segments)
The 'segments' plugin will be added to the NeutronServicePlugins.

Neutron routed networks was enabled by default[1], with the switch
to OVN it was removed[2] from the list of default service plug-ins.

It makes sense to enable the plug-in by default so that it's easy
to scale out existing provider networks without being limited by
the restrictions[3] related to scaling existing provider networks
that was created prior to enabling the service_plugin.

[1] https://review.opendev.org/562932
[2] https://review.opendev.org/593056
[3] https://opendev.org/openstack/neutron/src/branch/master/releasenotes/notes/allow-update-subnet-segment-id-association-1fb02ace27e85bb8.yaml

See for details:
https://docs.openstack.org/neutron/latest/admin/config-routed-networks.html

Co-Authored-By: Harald Jensås <hjensas@redhat.com>
Closes-Bug: #1831969
Change-Id: Ie67134719abc3b89dff19130e1557517bdc18714
Related-blueprint: tripleo-routed-networks-deployment
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-06-07 10:15:42 +02:00

31 lines
1.3 KiB
YAML

# A Heat environment that can be used to deploy OVN services with non HA OVN DB servers.
resource_registry:
OS::TripleO::Docker::NeutronMl2PluginBase: ../../deployment/neutron/neutron-plugin-ml2-ovn.yaml
OS::TripleO::Services::OVNController: ../../puppet/services/ovn-controller.yaml
OS::TripleO::Services::OVNDBs: ../../deployment/pacemaker/ovn-dbs-baremetal-puppet.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::ComputeNeutronL3Agent: OS::Heat::None
OS::TripleO::Services::NeutronMetadataAgent: OS::Heat::None
OS::TripleO::Services::ComputeNeutronMetadataAgent: 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
NeutronTypeDrivers: 'geneve,vlan,flat'
NeutronNetworkType: 'geneve'
NeutronServicePlugins: 'qos,ovn-router,trunk,segments'
NeutronVniRanges: ['1:65536', ]
NeutronEnableDVR: true
NeutronPluginExtensions: "qos,port_security,dns"
ControllerParameters:
OVNCMSOptions: "enable-chassis-as-gw"