[baremetal] reclass: Fix class order for common
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-ocata-common / 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.linux.system.repo.mcp.openstack
11   - system.linux.system.repo.mcp.extra
12   - system.ceilometer.client
13   - system.memcached.server.single
14   - system.keystone.server.cluster
15   - system.keystone.server.wsgi
16   - system.glance.control.cluster
17   - system.nova.control.cluster
18   - system.cinder.control.cluster
19   - system.cinder.control.backend.lvm
20   - system.heat.server.cluster
21   - system.designate.server.cluster
22   - system.designate.server.backend.bind
23   - system.bind.server.single
24   - system.haproxy.proxy.listen.openstack.nova-placement
25   - system.haproxy.proxy.listen.openstack.glare
26   - system.glusterfs.client.cluster
27   - system.glusterfs.client.volume.glance
28   - system.glusterfs.client.volume.keystone
29 parameters:
30   _param:
31     keepalived_vip_interface: ${_param:single_nic}
32     keepalived_vip_virtual_router_id: 50
33     cluster_vip_address: ${_param:openstack_control_address}
34     cluster_local_address: ${_param:single_address}
35     cluster_node01_hostname: ctl01
36     cluster_node01_address: ${_param:openstack_control_node01_address}
37     cluster_node02_hostname: ctl02
38     cluster_node02_address: ${_param:openstack_control_node02_address}
39     cluster_node03_hostname: ctl03
40     cluster_node03_address: ${_param:openstack_control_node03_address}
41     nova_vncproxy_url: https://${_param:cluster_public_host}:6080
42     dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface}
43     single_nic: ${_param:opnfv_vcp_vm_secondary_interface}
44   linux:
45     network:
46       interface:
47         dhcp: ${_param:linux_dhcp_interface}
48         single: ${_param:linux_single_interface}
49   keystone:
50     server:
51       cacert: /etc/ssl/certs/mcp_os_cacert
52   bind:
53     server:
54       control:
55         mgmt:
56           enabled: true
57           bind:
58             address: ${_param:single_address}
59             port: 953
60           allow:
61             - ${_param:openstack_control_node01_address}
62             - ${_param:openstack_control_node02_address}
63             - ${_param:openstack_control_node03_address}
64           keys:
65             - designate
66   designate:
67     server:
68       pools:
69         default:
70           description: 'test pool'
71           targets:
72             default:
73               description: 'test target1'
74             default1:
75               type: ${_param:designate_pool_target_type}
76               description: 'test target2'
77               masters: ${_param:designate_pool_target_masters}
78               options:
79                 host: ${_param:openstack_control_node02_address}
80                 port: 53
81                 rndc_host: ${_param:openstack_control_node02_address}
82                 rndc_port: 953
83                 rndc_key_file: /etc/designate/rndc.key
84             default2:
85               type: ${_param:designate_pool_target_type}
86               description: 'test target3'
87               masters: ${_param:designate_pool_target_masters}
88               options:
89                 host: ${_param:openstack_control_node03_address}
90                 port: 53
91                 rndc_host: ${_param:openstack_control_node03_address}
92                 rndc_port: 953
93                 rndc_key_file: /etc/designate/rndc.key