Merge "pod_config: cleanup: Drop infra_compute_*_address"
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-pike-common-ha / openstack_control.yml
1 ##############################################################################
2 # Copyright (c) 2017 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 classes:
10   - system.ceilometer.client
11   - system.memcached.server.single
12   - system.keystone.server.cluster
13   - system.keystone.server.wsgi
14   - system.glance.control.cluster
15   - system.nova.control.cluster
16   - system.cinder.control.cluster
17   - system.cinder.control.backend.lvm
18   - system.heat.server.cluster
19   - system.designate.server.cluster
20   - system.designate.server.backend.bind
21   - system.bind.server.single
22   - system.haproxy.proxy.listen.openstack.nova-placement
23   - system.haproxy.proxy.listen.openstack.glare
24   - system.glusterfs.client.cluster
25   - system.glusterfs.client.volume.glance
26   - system.glusterfs.client.volume.keystone
27 parameters:
28   _param:
29     keepalived_vip_interface: ${_param:single_nic}
30     keepalived_vip_virtual_router_id: 50
31     cluster_vip_address: ${_param:openstack_control_address}
32     cluster_local_address: ${_param:single_address}
33     cluster_node01_hostname: ctl01
34     cluster_node01_address: ${_param:openstack_control_node01_address}
35     cluster_node02_hostname: ctl02
36     cluster_node02_address: ${_param:openstack_control_node02_address}
37     cluster_node03_hostname: ctl03
38     cluster_node03_address: ${_param:openstack_control_node03_address}
39     nova_vncproxy_url: https://${_param:cluster_public_host}:6080
40     dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface}
41     single_nic: ${_param:opnfv_vcp_vm_secondary_interface}
42   linux:
43     network:
44       interface:
45         dhcp: ${_param:linux_dhcp_interface}
46         single: ${_param:linux_single_interface}
47   neutron:
48     server:
49       vlan_aware_vms: true
50   keystone:
51     server:
52       cacert: /etc/ssl/certs/mcp_os_cacert
53   bind:
54     server:
55       control:
56         mgmt:
57           enabled: true
58           bind:
59             address: ${_param:single_address}
60             port: 953
61           allow:
62             - ${_param:openstack_control_node01_address}
63             - ${_param:openstack_control_node02_address}
64             - ${_param:openstack_control_node03_address}
65           keys:
66             - designate
67   designate:
68     server:
69       pools:
70         default:
71           description: 'test pool'
72           targets:
73             default:
74               description: 'test target1'
75             default1:
76               type: ${_param:designate_pool_target_type}
77               description: 'test target2'
78               masters: ${_param:designate_pool_target_masters}
79               options:
80                 host: ${_param:openstack_control_node02_address}
81                 port: 53
82                 rndc_host: ${_param:openstack_control_node02_address}
83                 rndc_port: 953
84                 rndc_key_file: /etc/designate/rndc.key
85             default2:
86               type: ${_param:designate_pool_target_type}
87               description: 'test target3'
88               masters: ${_param:designate_pool_target_masters}
89               options:
90                 host: ${_param:openstack_control_node03_address}
91                 port: 53
92                 rndc_host: ${_param:openstack_control_node03_address}
93                 rndc_port: 953
94                 rndc_key_file: /etc/designate/rndc.key