tripleo-heat-templates/environments/services/neutron-ovn-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

36 lines
1.5 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: ../../deployment/ovn/ovn-controller-container-puppet.yaml
OS::TripleO::Services::OVNDBs: ../../deployment/ovn/ovn-dbs-pacemaker-puppet.yaml
OS::TripleO::Services::OVNMetadataAgent: ../../deployment/ovn/ovn-metadata-container-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::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
NeutronTypeDrivers: 'geneve,vlan,flat'
NeutronNetworkType: ['geneve' , 'vlan', 'flat']
NeutronServicePlugins: 'qos,ovn-router,trunk,segments'
NeutronVniRanges: ['1:65536', ]
NeutronPluginExtensions: "qos,port_security,dns"
NeutronRpcWorkers: 1
ComputeParameters:
NeutronBridgeMappings: ""
ControllerParameters:
OVNCMSOptions: "enable-chassis-as-gw"
NetworkerParameters:
OVNCMSOptions: "enable-chassis-as-gw"
OVNDnsServers: []
KernelIpNonLocalBind: 1