88c3cc77b5ab928b995a9fadd5fece3407b7fa58
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / neutron-plugin-ml2.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron ML2 Plugin with Pacemaker configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   EndpointMap:
14     default: {}
15     description: Mapping of service endpoint -> protocol. Typically set
16                  via parameter_defaults in the resource registry.
17     type: json
18
19 resources:
20
21   NeutronMl2Base:
22     type: ../neutron-plugin-ml2.yaml
23     properties:
24       ServiceNetMap: {get_param: ServiceNetMap}
25       EndpointMap: {get_param: EndpointMap}
26
27 outputs:
28   role_data:
29     description: Role data for the Neutron ML2 plugin.
30     value:
31       service_name: neutron_plugin_ml2
32       config_settings:
33         map_merge:
34           - get_attr: [NeutronMl2Base, role_data, config_settings]
35           - neutron::agents::ml2::ovs::enabled: false
36             neutron::agents::ml2::ovs::manage_service: false
37       step_config: |
38         include ::tripleo::profile::pacemaker::neutron::plugins::ml2