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