Merge "Clarify horizon allowed hosts setting"
[apex-tripleo-heat-templates.git] / puppet / services / network / contrail-control.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Contrail Control service deployment using puppet, this YAML file
5   creates the interface between the HOT template
6   and the puppet manifest that actually installs
7   and configures Contrail Control.
8
9 parameters:
10   ServiceNetMap:
11     default: {}
12     description: Mapping of service_name -> network name. Typically set
13                  via parameter_defaults in the resource registry.  This
14                  mapping overrides those in ServiceNetMapDefaults.
15     type: json
16   DefaultPasswords:
17     default: {}
18     type: json
19   EndpointMap:
20     default: {}
21     description: Mapping of service endpoint -> protocol. Typically set
22                  via parameter_defaults in the resource registry.
23     type: json
24   ContrailControlHostIP:
25     description: host IP address of Analytics
26     type: string
27   ContrailControlIfmapUserName:
28     description: Ifmap user name
29     type: string
30   ContrailControlIfmapUserPassword:
31     description: Ifmap user password
32     type: string
33
34 resources:
35   ContrailBase:
36     type: ./contrail-base.yaml
37     properties:
38       ServiceNetMap: {get_param: ServiceNetMap}
39       DefaultPasswords: {get_param: DefaultPasswords}
40       EndpointMap: {get_param: EndpointMap}
41
42 outputs:
43   role_data:
44     description: Role Contrail Control using composable services.
45     value:
46       service_name: contrail_control
47       config_settings:
48         map_merge:
49           - get_attr: [ContrailBase, role_data, config_settings]
50           - contrail::control::host_ip: {get_param: ContrailControlHostIP}
51             contrail::control::ifmap_username: {get_param: ContrailControlIfmapUserName}
52             contrail::control::ifmap_password: {get_param: ContrailControlIfmapUserPassword}
53       step_config: |
54         include ::tripleo::network::contrail::control