[baremetal] Move VCP iface config to own yml
[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   nova:
43     controller:
44       pkgs:
45         - nova-api
46         - nova-conductor
47         - nova-consoleauth
48         - nova-novncproxy
49         - nova-scheduler
50         - python-novaclient
51   neutron:
52     server:
53       vlan_aware_vms: true
54   keystone:
55     server:
56       cacert: /etc/ssl/certs/mcp_os_cacert
57   bind:
58     server:
59       control:
60         mgmt:
61           enabled: true
62           bind:
63             address: ${_param:single_address}
64             port: 953
65           allow:
66             - ${_param:openstack_control_node01_address}
67             - ${_param:openstack_control_node02_address}
68             - ${_param:openstack_control_node03_address}
69           keys:
70             - designate
71   designate:
72     server:
73       pools:
74         default:
75           description: 'test pool'
76           targets:
77             default:
78               description: 'test target1'
79             default1:
80               type: ${_param:designate_pool_target_type}
81               description: 'test target2'
82               masters: ${_param:designate_pool_target_masters}
83               options:
84                 host: ${_param:openstack_control_node02_address}
85                 port: 53
86                 rndc_host: ${_param:openstack_control_node02_address}
87                 rndc_port: 953
88                 rndc_key_file: /etc/designate/rndc.key
89             default2:
90               type: ${_param:designate_pool_target_type}
91               description: 'test target3'
92               masters: ${_param:designate_pool_target_masters}
93               options:
94                 host: ${_param:openstack_control_node03_address}
95                 port: 53
96                 rndc_host: ${_param:openstack_control_node03_address}
97                 rndc_port: 953
98                 rndc_key_file: /etc/designate/rndc.key