Add OVN environment that works with standalone mode.

All of the current OVN environment files enable HA for the OVN
database, which does not work with tripleo standalone.  This
introduces an environment that can be used in that mode.

There used to be non-HA modes, but they were removed in commit
819805d708.  This adds back just one,
and gives it a "standalone" name to help clarify that this is not
one of the scenarios intended for full production deployments.

Change-Id: Ie21c468d1cf7e4db9c406c62f5d09f6af97d593a
This commit is contained in:
Russell Bryant 2018-11-09 14:44:56 -05:00
parent 71bd36bb57
commit 0c88fc2d7c

View File

@ -0,0 +1,34 @@
# 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
OS::TripleO::Services::OVNMetadataAgent: ../../docker/services/ovn-metadata.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'
NeutronVniRanges: ['1:65536', ]
NeutronRpcWorkers: 1
NeutronEnableDVR: true
NeutronPluginExtensions: "qos,port_security,dns"
ControllerParameters:
OVNCMSOptions: "enable-chassis-as-gw"
OVNDnsServers: []
KernelIpNonLocalBind: 1