Bump template version for all templates to "ocata"
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / neutron-server.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Neutron Server with Pacemaker 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   NeutronL3HA:
22     default: true
23     description: Whether to enable HA for virtual routers
24     type: boolean
25
26 resources:
27
28   NeutronServerBase:
29     type: ../neutron-server.yaml
30     properties:
31       ServiceNetMap: {get_param: ServiceNetMap}
32       DefaultPasswords: {get_param: DefaultPasswords}
33       EndpointMap: {get_param: EndpointMap}
34
35 outputs:
36   role_data:
37     description: Role data for the Neutron Server.
38     value:
39       service_name: neutron_server
40       monitoring_subscription: {get_attr: [NeutronServerBase, role_data, monitoring_subscription]}
41       config_settings:
42         map_merge:
43           - get_attr: [NeutronServerBase, role_data, config_settings]
44           - neutron::server::enabled: false
45             neutron::server::manage_service: false
46             neutron::server::l3_ha: {get_param: NeutronL3HA}
47       step_config: |
48         include ::tripleo::profile::pacemaker::neutron::server