Merge "Remove root_template and root_environment from capabilities-map.yaml"
[apex-tripleo-heat-templates.git] / puppet / services / network / contrail-heat.yaml
1 heat_template_version: ocata
2
3 description: >
4   Contrail Heat plugin adds Contrail specific heat resources enabling heat
5   to orchestrate Contrail
6
7 parameters:
8   ServiceNetMap:
9     default: {}
10     description: Mapping of service_name -> network name. Typically set
11                  via parameter_defaults in the resource registry.  This
12                  mapping overrides those in ServiceNetMapDefaults.
13     type: json
14   DefaultPasswords:
15     default: {}
16     type: json
17   EndpointMap:
18     default: {}
19     description: Mapping of service endpoint -> protocol. Typically set
20                  via parameter_defaults in the resource registry.
21     type: json
22
23 resources:
24   ContrailBase:
25     type: ./contrail-base.yaml
26     properties:
27       ServiceNetMap: {get_param: ServiceNetMap}
28       DefaultPasswords: {get_param: DefaultPasswords}
29       EndpointMap: {get_param: EndpointMap}
30
31 outputs:
32   role_data:
33     description: Contrail Heat plugin
34     value:
35       service_name: contrail_heat
36       config_settings:
37         map_merge:
38           - get_attr: [ContrailBase, role_data, config_settings]
39       step_config: |
40         include ::tripleo::network::contrail::heat