1 # A Heat environment file that enables DVR in the overcloud.
2 # This works by configuring L3 and Metadata agents on the
5 OS::TripleO::Services::ComputeNeutronL3Agent: ../puppet/services/neutron-l3-compute-dvr.yaml
6 OS::TripleO::Services::ComputeNeutronMetadataAgent: ../puppet/services/neutron-metadata.yaml
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
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
21 # DVR requires that the L2 population feature is enabled
22 NeutronMechanismDrivers: ['openvswitch', 'l2population']
23 NeutronEnableL2Pop: 'True'
25 # Setting NeutronEnableDVR enables distributed routing support in the
26 # ML2 plugin and agents that support this feature
27 NeutronEnableDVR: true
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'
33 # Enabling DVR deploys additional services to the compute nodes that through
34 # normal operation will consume memory. The amount required is roughly
35 # proportional to the number of Neutron routers that will be scheduled to
36 # that host. It is necessary to reserve memory on the compute nodes to avoid
37 # memory issues when creating instances that are connected to routed
38 # networks. The current expected consumption is 50 MB per router in addition
39 # to the base reserved amount. Deployers should refer to existing
40 # documentation, release notes, etc. for additional information on estimating
41 # an appropriate value. The provided value here is based on an estimate of 10
42 # routers and is an example value *only* and should be reviewed and modified
43 # if necessary before deploying.
44 NovaReservedHostMemory: 2560