Add DefaultPasswords to composable services
[apex-tripleo-heat-templates.git] / puppet / services / neutron-l3-compute-dvr.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron L3 agent for DVR enabled compute nodes
5   configured with Puppet
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   Debug:
23     type: string
24     default: ''
25   NeutronExternalNetworkBridge:
26     description: Name of bridge used for external network traffic.
27     type: string
28     default: 'br-ex'
29
30 resources:
31
32   NeutronBase:
33     type: ./neutron-base.yaml
34     properties:
35       ServiceNetMap: {get_param: ServiceNetMap}
36       DefaultPasswords: {get_param: DefaultPasswords}
37       EndpointMap: {get_param: EndpointMap}
38
39 outputs:
40   role_data:
41     description: Role data for DVR L3 Agent on Compute Nodes
42     value:
43       service_name: neutron_l3_compute_dvr
44       config_settings:
45         map_merge:
46           - get_attr: [NeutronBase, role_data, config_settings]
47           - neutron::agents::l3::external_network_bridge: {get_param: NeutronExternalNetworkBridge}
48             neutron::agents::l3::agent_mode : 'dvr'
49       step_config: |
50         include tripleo::profile::base::neutron::l3