1 heat_template_version: pike
4 Contrail Config 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 Config.
12 description: Dictionary packing service data
16 description: Mapping of service_name -> network name. Typically set
17 via parameter_defaults in the resource registry. This
18 mapping overrides those in ServiceNetMapDefaults.
25 description: Role name on which the service is applied
29 description: Parameters specific to the role
33 description: Mapping of service endpoint -> protocol. Typically set
34 via parameter_defaults in the resource registry.
36 ContrailConfigIfmapUserName:
37 description: Ifmap user name
40 ContrailConfigIfmapUserPassword:
41 description: Ifmap user password
46 description: Contrail Config Api port
51 type: ./contrail-base.yaml
53 ServiceData: {get_param: ServiceData}
54 ServiceNetMap: {get_param: ServiceNetMap}
55 DefaultPasswords: {get_param: DefaultPasswords}
56 EndpointMap: {get_param: EndpointMap}
57 RoleName: {get_param: RoleName}
58 RoleParameters: {get_param: RoleParameters}
62 description: Role Contrail Config using composable services.
64 service_name: contrail_config
67 - get_attr: [ContrailBase, role_data, config_settings]
68 - contrail::config::ifmap_password: {get_param: ContrailConfigIfmapUserPassword}
69 contrail::config::ifmap_username: {get_param: ContrailConfigIfmapUserName}
70 contrail::config::listen_ip_address: {get_param: [ServiceNetMap, ContrailConfigNetwork]}
71 contrail::config::listen_port: {get_param: ContrailConfigPort}
72 contrail::config::redis_server: '127.0.0.1'
73 contrail::config::host_ip: {get_param: [ServiceNetMap, ContrailConfigNetwork]}
75 include ::tripleo::network::contrail::config