Merge "Add fluentd client service"
[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   MonitoringSubscriptionNeutronL3Dvr:
30     default: 'overcloud-neutron-l3-dvr'
31     type: string
32   NeutronL3ComputeAgentLoggingSource:
33     type: json
34     default:
35       tag: openstack.neutron.agent.l3-compute
36       path: /var/log/neutron/l3-agent.log
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 DVR L3 Agent on Compute Nodes
50     value:
51       service_name: neutron_l3_compute_dvr
52       monitoring_subscription: {get_param: MonitoringSubscriptionNeutronL3Dvr}
53       logging_source: {get_param: NeutronL3ComputeAgentLoggingSource}
54       logging_groups:
55         - neutron
56       config_settings:
57         map_merge:
58           - get_attr: [NeutronBase, role_data, config_settings]
59           - neutron::agents::l3::external_network_bridge: {get_param: NeutronExternalNetworkBridge}
60             neutron::agents::l3::agent_mode : 'dvr'
61       step_config: |
62         include tripleo::profile::base::neutron::l3