Merge "add composable services for Contrail"
[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   # DVR requires a port on the external network for each compute node.
13   # This will usually match the one currently in use for
14   # OS::TripleO::Controller::Ports::ExternalPort.
15   # Please review your network configuration before deploying to ensure that
16   # this is appropriate.
17   OS::TripleO::Compute::Ports::ExternalPort: ../network/ports/noop.yaml
18
19 parameter_defaults:
20
21   # DVR requires that the L2 population feature is enabled
22   NeutronMechanismDrivers: ['openvswitch', 'l2population']
23   NeutronEnableL2Pop: 'True'
24
25   # Setting NeutronEnableDVR enables distributed routing support in the
26   # ML2 plugin and agents that support this feature
27   NeutronEnableDVR: true
28
29   # We also need to set the proper agent mode for the L3 agent.  This will only
30   # affect the agent on the controller node.
31   NeutronL3AgentMode: 'dvr_snat'
32
33   # L3 HA isn't supported for DVR enabled routers. If upgrading from a system
34   # where L3 HA is enabled and has neutron routers configured, it is
35   # recommended setting this value to true until such time all routers can be
36   # migrated to DVR routers. Once migration of the routers is complete,
37   # NeutronL3HA can be returned to false. All new systems should be deployed
38   # with NeutronL3HA set to false.
39   NeutronL3HA: false