aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/neutron-l3-compute-dvr.yaml
diff options
context:
space:
mode:
authorBrent Eagles <beagles@redhat.com>2016-06-21 11:08:27 -0230
committerBrent Eagles <beagles@redhat.com>2016-08-04 10:59:59 -0230
commitdeb098c29a2f9660bded6c44ba06f210cfde85f8 (patch)
tree406b67ef058cfc637c3837c19dfcdc1be5c2339b /puppet/services/neutron-l3-compute-dvr.yaml
parent70d1950c9476b16d58418d55247f68774b72aac7 (diff)
Add environment file to enable DVR
This patch adds support for conditionally enabling DVR by deploying the L3 and metadata agents on the compute node and setting the proper configuration values throughout. Implements: blueprint neutron-dvr-support Change-Id: I24099795e76ecd520c990ba49d3511288dec7a12
Diffstat (limited to 'puppet/services/neutron-l3-compute-dvr.yaml')
-rw-r--r--puppet/services/neutron-l3-compute-dvr.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/puppet/services/neutron-l3-compute-dvr.yaml b/puppet/services/neutron-l3-compute-dvr.yaml
new file mode 100644
index 00000000..f10b5922
--- /dev/null
+++ b/puppet/services/neutron-l3-compute-dvr.yaml
@@ -0,0 +1,37 @@
+heat_template_version: 2016-04-08
+
+description: >
+ OpenStack Neutron L3 agent for DVR enabled compute nodes
+ configured with Puppet
+
+parameters:
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+ Debug:
+ type: string
+ default: ''
+ NeutronExternalNetworkBridge:
+ description: Name of bridge used for external network traffic.
+ type: string
+ default: 'br-ex'
+
+resources:
+
+ NeutronBase:
+ type: ./neutron-base.yaml
+
+outputs:
+ role_data:
+ description: Role data for DVR L3 Agent on Compute Nodes
+ value:
+ service_name: neutron_l3_compute_dvr
+ config_settings:
+ map_merge:
+ - get_attr: [NeutronBase, role_data, config_settings]
+ - neutron::agents::l3::external_network_bridge: {get_param: NeutronExternalNetworkBridge}
+ neutron::agents::l3::agent_mode : 'dvr'
+ step_config: |
+ include tripleo::profile::base::neutron::l3