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 %}
11 domain: mcp-odl-ha.local
13 {%- if nm.cluster.has_baremetal_nodes %}
17 {%- if conf.MCP_VCP %}
18 - virtual_control_plane
26 {%- if nm.cluster.has_baremetal_nodes %}
29 {#- Most likely, controllers will always have the same type and number (3) #}
30 {%- if conf.nodes[nm.ctl01.idx].node.type == 'virtual' %}
35 {#- Later, we might have mixed computes here, for hybrid multi-arch testing #}
36 {%- if conf.nodes[nm.cmp001.idx].node.type == 'virtual' %}
43 # Below values are only used when nodes are defined in virtual.nodes above
47 # NOTE: We might need to add more RAM here