ede419359418f179a71ac1a2365aa61eaa092c7b
[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   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   Debug:
13     type: string
14     default: ''
15   NeutronExternalNetworkBridge:
16     description: Name of bridge used for external network traffic.
17     type: string
18     default: 'br-ex'
19   NeutronL3AgentMode:
20     description: |
21       Agent mode for L3 agent. Must be one of legacy or dvr_snat.
22     default: 'legacy'
23     type: string
24     constraints:
25       - allowed_values:
26         - legacy
27         - dvr_snat
28
29 resources:
30
31   NeutronBase:
32     type: ./neutron-base.yaml
33
34 outputs:
35   role_data:
36     description: Role data for the Neutron L3 agent service.
37     value:
38       service_name: neutron_l3
39       config_settings:
40         map_merge:
41           - get_attr: [NeutronBase, role_data, config_settings]
42           - neutron::agents::l3::external_network_bridge: {get_param: NeutronExternalNetworkBridge}
43             neutron::agents::l3::router_delete_namespaces: True
44             neutron::agents::l3::agent_mode : {get_param: NeutronL3AgentMode}
45       step_config: |
46         include tripleo::profile::base::neutron::l3