f9ab7c3fb24155936d187b330e61e1a4a3fbefce
[fuel.git] / mcp / config / scenario / os-nosdn-ovs-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-ovs-dpdk-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     - dpdk
21     - openstack_ha
22     - networks
23 virtual:
24   nodes:
25     - cfg01
26 {%- if nm.cluster.has_baremetal_nodes %}
27     - mas01
28 {%- endif %}
29 {#- Most likely, controllers will always have the same type and number (3) #}
30 {%- if conf.nodes[nm.ctl01.idx].node.type == 'virtual' %}
31     - kvm01
32     - kvm02
33     - kvm03
34 {%- endif %}
35 {#- Later, we might have mixed computes here, for hybrid multi-arch testing #}
36 {%- if conf.nodes[nm.cmp001.idx].node.type == 'virtual' %}
37     - cmp001
38     - cmp002
39 {%- endif %}
40   cfg01:
41     vcpus: 4
42     ram: 6144
43   # Below values are only used when nodes are defined in virtual.nodes above
44   mas01:
45     vcpus: 4
46     ram: 6144
47   # NOTE: We might need to add more RAM here
48   kvm01:
49     vcpus: 4
50     ram: 14336
51   kvm02:
52     vcpus: 4
53     ram: 14336
54   kvm03:
55     vcpus: 4
56     ram: 14336
57   cmp001:
58     vcpus: 4
59     ram: 8192
60   cmp002:
61     vcpus: 4
62     ram: 8192