Merge "Set NeutronL3HA to false when deploying DVR"
[apex-tripleo-heat-templates.git] / environments / neutron-ovs-dvr.yaml
1 # A Heat environment file that enables DVR in the overcloud.
2 # This works by configuring L3 and Metadata agents on the
3 # compute nodes.
4 resource_registry:
5   OS::TripleO::Services::ComputeNeutronL3Agent: ../puppet/services/neutron-l3-compute-dvr.yaml
6   OS::TripleO::Services::ComputeNeutronMetadataAgent: ../puppet/services/neutron-metadata.yaml
7
8   # With DVR enabled, the Compute nodes also need the br-ex bridge to be
9   # connected to a physical network.
10   OS::TripleO::Compute::Net::SoftwareConfig: ../net-config-bridge.yaml
11
12 parameter_defaults:
13
14   # DVR requires that the L2 population feature is enabled
15   NeutronMechanismDrivers: ['openvswitch', 'l2population']
16   NeutronEnableL2Pop: 'True'
17
18   # Setting NeutronEnableDVR enables distributed routing support in the
19   # ML2 plugin and agents that support this feature
20   NeutronEnableDVR: true
21
22   # We also need to set the proper agent mode for the L3 agent.  This will only
23   # affect the agent on the controller node.
24   NeutronL3AgentMode: 'dvr_snat'
25
26   # L3 HA isn't supported for DVR enabled routers. If upgrading from a system
27   # where L3 HA is enabled and has neutron routers configured, it is
28   # recommended setting this value to true until such time all routers can be
29   # migrated to DVR routers. Once migration of the routers is complete,
30   # NeutronL3HA can be returned to false. All new systems should be deployed
31   # with NeutronL3HA set to false.
32   NeutronL3HA: false