2f2ceb37e33c72da91dfdaddd18220f43cddf914
[apex-tripleo-heat-templates.git] / puppet / services / network / contrail-neutron-plugin.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Neutron Opencontrail plugin
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   ContrailExtensions:
22     description: List of OpenContrail extensions to be enabled
23     type: comma_delimited_list
24     default: ''
25
26 resources:
27   ContrailBase:
28     type: ./contrail-base.yaml
29     properties:
30       ServiceNetMap: {get_param: ServiceNetMap}
31       DefaultPasswords: {get_param: DefaultPasswords}
32       EndpointMap: {get_param: EndpointMap}
33
34 outputs:
35   role_data:
36     description: Role data for the Neutron Opencontrail plugin
37     value:
38       service_name: contrail_neutron_plugin
39       config_settings:
40         map_merge:
41           - get_attr: [ContrailBase, role_data, config_settings]
42           - neutron::api_extensions_path: /usr/lib/python2.7/site-packages/neutron_plugin_contrail/extensions
43             contrail::vrouter::contrail_extensions: {get_param: ContrailExtensions}
44       step_config: |
45         include tripleo::network::contrail::neutron_plugin