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