Merge "Update opendaylight/neutron patch"
[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   neutron:
50     server:
51       vlan_aware_vms: true
52   keystone:
53     server:
54       cacert: /etc/ssl/certs/mcp_os_cacert
55   bind:
56     server:
57       control:
58         mgmt:
59           enabled: true
60           bind:
61             address: ${_param:single_address}
62             port: 953
63           allow:
64             - ${_param:openstack_control_node01_address}
65             - ${_param:openstack_control_node02_address}
66             - ${_param:openstack_control_node03_address}
67           keys:
68             - designate
69   designate:
70     server:
71       pools:
72         default:
73           description: 'test pool'
74           targets:
75             default:
76               description: 'test target1'
77             default1:
78               type: ${_param:designate_pool_target_type}
79               description: 'test target2'
80               masters: ${_param:designate_pool_target_masters}
81               options:
82                 host: ${_param:openstack_control_node02_address}
83                 port: 53
84                 rndc_host: ${_param:openstack_control_node02_address}
85                 rndc_port: 953
86                 rndc_key_file: /etc/designate/rndc.key
87             default2:
88               type: ${_param:designate_pool_target_type}
89               description: 'test target3'
90               masters: ${_param:designate_pool_target_masters}
91               options:
92                 host: ${_param:openstack_control_node03_address}
93                 port: 53
94                 rndc_host: ${_param:openstack_control_node03_address}
95                 rndc_port: 953
96                 rndc_key_file: /etc/designate/rndc.key