aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/pacemaker/neutron-server.yaml
blob: 60599e7e9faa52ac689b01b5f6b37961cf7d46a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
heat_template_version: 2016-04-08

description: >
  OpenStack Neutron Server with Pacemaker configured with Puppet.

parameters:
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json

resources:

  NeutronServerBase:
    type: ../neutron-server.yaml
    properties:
      EndpointMap: {get_param: EndpointMap}

outputs:
  role_data:
    description: Role data for the Neutron Server.
    value:
      config_settings:
        map_merge:
          - get_attr: [NeutronServerBase, role_data, config_settings]
          - neutron::server::enabled: false
            neutron::server::manage_service: false
      step_config: |
        include ::tripleo::profile::pacemaker::neutron::server
: {{window}} host: zeus.demo target: hera.demo runner: type: Duration duration: 30 sla: jitter: 10 action: monitor context: name: demo image: yardstick-image flavor: yardstick-flavor user: ubuntu placement_groups: pgrp1: policy: "availability" servers: zeus: floating_ip: true placement: "pgrp1" hera: floating_ip: true placement: "pgrp1" networks: test: cidr: '10.0.1.0/24' {% if provider == "vlan" %} provider: {{provider}} physical_network: {{physical_network}} {% if segmentation_id %} segmentation_id: {{segmentation_id}} {% endif %} {% endif %}