acacadfaa0c686d49ec4d1cdd369bf5133f857ae
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-ml2-odl.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Neutron ML2/OpenDaylight plugin 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   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   OpenDaylightPortBindingController:
22     description: OpenDaylight port binding controller
23     type: string
24     default: 'network-topology'
25
26 resources:
27
28   NeutronMl2Base:
29     type: ./neutron-plugin-ml2.yaml
30     properties:
31       ServiceNetMap: {get_param: ServiceNetMap}
32       DefaultPasswords: {get_param: DefaultPasswords}
33       EndpointMap: {get_param: EndpointMap}
34
35 outputs:
36   role_data:
37     description: Role data for the Neutron ML2/ODL plugin.
38     value:
39       service_name: neutron_plugin_ml2_odl
40       config_settings:
41         map_merge:
42           - get_attr: [NeutronMl2Base, role_data, config_settings]
43           - neutron::plugins::ml2::opendaylight::port_binding_controller: {get_param: OpenDaylightPortBindingController}
44       step_config: |
45         include ::tripleo::profile::base::neutron::plugins::ml2