summaryrefslogtreecommitdiffstats
path: root/environments/neutron-ovs-dvr.yaml
blob: f4f9990ccc7b74c52cc4ca159301bb9909ac5994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# A Heat environment file that enables DVR in the overcloud.
# This works by configuring L3 and Metadata agents on the
# compute nodes.
resource_registry:
  OS::TripleO::Services::ComputeNeutronL3Agent: ../puppet/services/neutron-l3-compute-dvr.yaml
  OS::TripleO::Services::ComputeNeutronMetadataAgent: ../puppet/services/neutron-metadata.yaml

  # With DVR enabled, the Compute nodes also need the br-ex bridge to be
  # connected to a physical network.
  OS::TripleO::Compute::Net::SoftwareConfig: ../net-config-bridge.yaml

  # DVR requires a port on the external network for each compute node.
  # This will usually match the one currently in use for
  # OS::TripleO::Controller::Ports::ExternalPort.
  # Please review your network configuration before deploying to ensure that
  # this is appropriate.
  OS::TripleO::Compute::Ports::ExternalPort: ../network/ports/noop.yaml

parameter_defaults:

  # DVR requires that the L2 population feature is enabled
  NeutronMechanismDrivers: ['openvswitch', 'l2population']
  NeutronEnableL2Pop: 'True'

  # Setting NeutronEnableDVR enables distributed routing support in the
  # ML2 plugin and agents that support this feature
  NeutronEnableDVR: true

  # We also need to set the proper agent mode for the L3 agent.  This will only
  # affect the agent on the controller node.
  NeutronL3AgentMode: 'dvr_snat'

  # L3 HA isn't supported for DVR enabled routers. If upgrading from a system
  # where L3 HA is enabled and has neutron routers configured, it is
  # recommended setting this value to true until such time all routers can be
  # migrated to DVR routers. Once migration of the routers is complete,
  # NeutronL3HA can be returned to false. All new systems should be deployed
  # with NeutronL3HA set to false.
  NeutronL3HA: false

  # Enabling DVR deploys additional services to the compute nodes that through
  # normal operation will consume memory. The amount required is roughly
  # proportional to the number of Neutron routers that will be scheduled to
  # that host. It is necessary to reserve memory on the compute nodes to avoid
  # memory issues when creating instances that are connected to routed
  # networks. The current expected consumption is 50 MB per router in addition
  # to the base reserved amount.  Deployers should refer to existing
  # documentation, release notes, etc. for additional information on estimating
  # an appropriate value. The provided value here is based on an estimate of 10
  # routers and is an example value *only* and should be reviewed and modified
  # if necessary before deploying.
  NovaReservedHostMemory: 2560