[scenarios] Differentiate virtual node roles
[fuel.git] / mcp / config / scenario / os-ovn-nofeature-ha.yaml.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 {%- import 'net_map.j2' as nm with context %}
9 ---
10 cluster:
11   domain: mcp-ovn-ha.local
12   states:
13 {%- if nm.cluster.has_baremetal_nodes %}
14     - maas
15     - baremetal_init
16 {%- endif %}
17 {%- if conf.MCP_VCP %}
18     - virtual_control_plane
19 {%- endif %}
20     - openstack_ha
21     - networks
22 virtual:
23   nodes:
24     infra:
25       - cfg01
26 {%- if nm.cluster.has_baremetal_nodes %}
27       - mas01
28 {%- endif %}
29     control:
30       - kvm01
31       - kvm02
32       - kvm03
33     compute:
34       - cmp001
35       - cmp002
36   # Below values are only used for each node if said node is virtual
37   cfg01:
38     vcpus: 4
39     ram: 6144
40   mas01:
41     vcpus: 4
42     ram: 6144
43   # NOTE: We might need to add more RAM here
44   kvm01:
45     vcpus: 4
46     ram: 14336
47   kvm02:
48     vcpus: 4
49     ram: 14336
50   kvm03:
51     vcpus: 4
52     ram: 14336
53   cmp001:
54     vcpus: 4
55     ram: 8192
56   cmp002:
57     vcpus: 4
58     ram: 8192