Merge "[virtual] Update dpdk scenario with pike"
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-ocata-common-ha / openstack_proxy.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.nginx.server.single
13   - system.nginx.server.proxy.openstack_api
14   - system.nginx.server.proxy.openstack_vnc
15   - system.nginx.server.proxy.openstack_web
16   - system.nginx.server.proxy.openstack.aodh
17   - system.nginx.server.proxy.openstack.ceilometer
18   - system.horizon.server.single
19   - system.salt.minion.cert.proxy
20   - system.sphinx.server.doc.reclass
21   - service.keepalived.cluster.single
22 parameters:
23   _param:
24     keepalived_vip_interface: ${_param:single_nic}
25     keepalived_vip_virtual_router_id: 240
26     nginx_proxy_ssl:
27       enabled: true
28       authority: ${_param:salt_minion_ca_authority}
29       engine: salt
30       mode: secure
31     cluster_vip_address: ${_param:openstack_proxy_address}
32     salt_minion_ca_host: cfg01.${_param:cluster_domain}
33     dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface}
34     single_nic: ${_param:opnfv_vcp_vm_secondary_interface}
35     control_nic: ${_param:opnfv_vcp_vm_tertiary_interface}
36   linux:
37     network:
38       interface:
39         dhcp:
40           enabled: true
41           type: eth
42           proto: dhcp
43           name: ${_param:dhcp_nic}
44           route:
45             mcpcontol:
46               address: ${_param:opnfv_net_mcpcontrol}
47               netmask: ${_param:opnfv_net_mcpcontrol_mask}
48               gateway: ${_param:opnfv_infra_maas_node01_deploy_address}
49         single:
50           enabled: true
51           type: eth
52           proto: static
53           name: ${_param:single_nic}
54           address: ${_param:single_address}
55           netmask: 255.255.255.0
56           route:
57             public:
58               address: 0.0.0.0
59               netmask: 0.0.0.0
60               gateway: ${_param:opnfv_net_public_gw}
61         control:
62           enabled: true
63           type: eth
64           proto: static
65           name: ${_param:control_nic}
66           address: ${_param:control_address}
67           netmask: 255.255.255.0
68     system:
69       package:
70         libapache2-mod-wsgi:
71           version: latest
72   salt:
73     minion:
74       cert:
75         proxy:
76           alternative_names: "IP:${_param:openstack_proxy_address}"
77           key_usage: 'digitalSignature, keyEncipherment'