ab0da39b3abe0d4d32d8fc580ad2c5bab1a065a2
[fuel.git] / mcp / reclass / classes / cluster / mcp-odl-ha / infra / kvm.yml.j2
1 ##############################################################################
2 # Copyright (c) 2018 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 {%- if conf.MCP_VCP %}
10 # NOTE(armband): we don't want to pull in salt.control for novcp
11 classes:
12   - cluster.mcp-common-ha.infra.kvm
13   - cluster.mcp-odl-ha.infra
14 parameters:
15   salt:
16     control:
17       size:  # RAM 4096,8192,16384,32768,65536
18         # Default production sizing
19         opendaylight.server:
20           cpu: 4
21           ram: 8192
22           disk_profile: small
23           net_profile: default
24       cluster:
25         internal:
26           node:
27             odl01:
28               name: ${_param:opendaylight_server_node01_hostname}
29               provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
30               image: ${_param:salt_control_xenial_image}
31               size: opendaylight.server
32 {%- endif %}