[virtual] PDF-based network defs for cluster nodes
[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.linux.system.repo.glusterfs
11   - system.ceilometer.client
12   - system.memcached.server.single
13   - system.keystone.server.cluster
14   - system.keystone.server.wsgi
15   - system.glance.control.cluster
16   - system.nova.control.cluster
17   - system.cinder.control.cluster
18   - system.cinder.control.backend.lvm
19   - system.heat.server.cluster
20   - system.designate.server.cluster
21   - system.designate.server.backend.bind
22   - system.bind.server.single
23   - system.haproxy.proxy.listen.openstack.nova-placement
24   - system.haproxy.proxy.listen.openstack.glare
25   - system.glusterfs.client.cluster
26   - system.glusterfs.client.volume.glance
27   - system.glusterfs.client.volume.keystone
28 parameters:
29   _param:
30     keepalived_vip_interface: ${_param:single_nic}
31     keepalived_vip_virtual_router_id: 50
32     cluster_vip_address: ${_param:openstack_control_address}
33     cluster_local_address: ${_param:single_address}
34     cluster_node01_hostname: ${_param:openstack_control_node01_hostname}
35     cluster_node01_address: ${_param:openstack_control_node01_address}
36     cluster_node02_hostname: ${_param:openstack_control_node02_hostname}
37     cluster_node02_address: ${_param:openstack_control_node02_address}
38     cluster_node03_hostname: ${_param:openstack_control_node03_hostname}
39     cluster_node03_address: ${_param:openstack_control_node03_address}
40     nova_vncproxy_url: https://${_param:cluster_public_host}:6080
41     glusterfs_version: '3.13'
42   heat:
43     server:
44       metadata:
45         host: ${_param:openstack_proxy_control_address}
46         port: 8000
47         protocol: http
48       waitcondition:
49         host: ${_param:openstack_proxy_control_address}
50         port: 8000
51         protocol: http
52       watch:
53         host: ${_param:openstack_proxy_control_address}
54         port: 8003
55         protocol: http
56   nova:
57     controller:
58       pkgs:
59         - nova-api
60         - nova-conductor
61         - nova-consoleauth
62         - nova-novncproxy
63         - nova-scheduler
64         - python-novaclient
65   neutron:
66     server:
67       vlan_aware_vms: true
68   keystone:
69     server:
70       cacert: /etc/ssl/certs/mcp_os_cacert
71   bind:
72     server:
73       control:
74         mgmt:
75           enabled: true
76           bind:
77             address: ${_param:single_address}
78             port: 953
79           allow:
80             - ${_param:openstack_control_node01_address}
81             - ${_param:openstack_control_node02_address}
82             - ${_param:openstack_control_node03_address}
83           keys:
84             - designate
85   designate:
86     server:
87       pools:
88         default:
89           description: 'test pool'
90           targets:
91             default:
92               description: 'test target1'
93             default1:
94               type: ${_param:designate_pool_target_type}
95               description: 'test target2'
96               masters: ${_param:designate_pool_target_masters}
97               options:
98                 host: ${_param:openstack_control_node02_address}
99                 port: 53
100                 rndc_host: ${_param:openstack_control_node02_address}
101                 rndc_port: 953
102                 rndc_key_file: /etc/designate/rndc.key
103             default2:
104               type: ${_param:designate_pool_target_type}
105               description: 'test target3'
106               masters: ${_param:designate_pool_target_masters}
107               options:
108                 host: ${_param:openstack_control_node03_address}
109                 port: 53
110                 rndc_host: ${_param:openstack_control_node03_address}
111                 rndc_port: 953
112                 rndc_key_file: /etc/designate/rndc.key