[docker] Add docker-compose definitions
[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     infra:
26       - cfg01
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   cfg01:
39     vcpus: 4
40     ram: 6144
41   mas01:
42     vcpus: 4
43     ram: 6144
44   # NOTE: We might need to add more RAM here
45   kvm01:
46     vcpus: 4
47     ram: 14336
48   kvm02:
49     vcpus: 4
50     ram: 14336
51   kvm03:
52     vcpus: 4
53     ram: 14336
54   cmp001:
55     vcpus: 4
56     ram: 8192
57   cmp002:
58     vcpus: 4
59     ram: 8192