Add DefaultPasswords to composable services
[apex-tripleo-heat-templates.git] / puppet / services / neutron-l3.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron L3 agent configured with Puppet
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   Debug:
22     type: string
23     default: ''
24   NeutronExternalNetworkBridge:
25     description: Name of bridge used for external network traffic.
26     type: string
27     default: 'br-ex'
28   NeutronL3AgentMode:
29     description: |
30       Agent mode for L3 agent. Must be one of legacy or dvr_snat.
31     default: 'legacy'
32     type: string
33     constraints:
34       - allowed_values:
35         - legacy
36         - dvr_snat
37
38 resources:
39
40   NeutronBase:
41     type: ./neutron-base.yaml
42     properties:
43       ServiceNetMap: {get_param: ServiceNetMap}
44       DefaultPasswords: {get_param: DefaultPasswords}
45       EndpointMap: {get_param: EndpointMap}
46
47 outputs:
48   role_data:
49     description: Role data for the Neutron L3 agent service.
50     value:
51       service_name: neutron_l3
52       config_settings:
53         map_merge:
54           - get_attr: [NeutronBase, role_data, config_settings]
55           - neutron::agents::l3::external_network_bridge: {get_param: NeutronExternalNetworkBridge}
56             neutron::agents::l3::router_delete_namespaces: True
57             neutron::agents::l3::agent_mode : {get_param: NeutronL3AgentMode}
58       step_config: |
59         include tripleo::profile::base::neutron::l3