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