Merge "Containerize MySQL for HA"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-ml2-odl.yaml
1 heat_template_version: pike
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   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   OpenDaylightPortBindingController:
30     description: OpenDaylight port binding controller
31     type: string
32     default: 'network-topology'
33
34 resources:
35
36   NeutronMl2Base:
37     type: ./neutron-plugin-ml2.yaml
38     properties:
39       ServiceNetMap: {get_param: ServiceNetMap}
40       DefaultPasswords: {get_param: DefaultPasswords}
41       EndpointMap: {get_param: EndpointMap}
42       RoleName: {get_param: RoleName}
43       RoleParameters: {get_param: RoleParameters}
44
45 outputs:
46   role_data:
47     description: Role data for the Neutron ML2/ODL plugin.
48     value:
49       service_name: neutron_plugin_ml2_odl
50       config_settings:
51         map_merge:
52           - get_attr: [NeutronMl2Base, role_data, config_settings]
53           - neutron::plugins::ml2::opendaylight::port_binding_controller: {get_param: OpenDaylightPortBindingController}
54       step_config: |
55         include ::tripleo::profile::base::neutron::plugins::ml2