Make VMs resources configurable for StackLight v2 mon nodes
SLv2 requires about 16Gb memory and 2+ CPU because use containers
Change-Id: I7e384e18cea51210b909870bc17c529bf08a77d6
diff --git a/tcp_tests/templates/virtual-mcp11-k8s-contrail/underlay.yaml b/tcp_tests/templates/virtual-mcp11-k8s-contrail/underlay.yaml
index 28098ff..2ea8545 100644
--- a/tcp_tests/templates/virtual-mcp11-k8s-contrail/underlay.yaml
+++ b/tcp_tests/templates/virtual-mcp11-k8s-contrail/underlay.yaml
@@ -358,8 +358,8 @@
- name: {{ HOSTNAME_MON01 }}
role: salt_minion
params:
- vcpu: !os_env SLAVE_NODE_CPU, 1
- memory: !os_env SLAVE_NODE_MEMORY, 3072
+ vcpu: {{ os_env('MON_NODE_CPU', 1) }}
+ memory: {{ os_env('MON_NODE_MEMORY', 3072) }}
boot:
- hd
cloud_init_volume_name: iso
@@ -384,8 +384,8 @@
- name: {{ HOSTNAME_MON02 }}
role: salt_minion
params:
- vcpu: !os_env SLAVE_NODE_CPU, 1
- memory: !os_env SLAVE_NODE_MEMORY, 3072
+ vcpu: {{ os_env('MON_NODE_CPU', 1) }}
+ memory: {{ os_env('MON_NODE_MEMORY', 3072) }}
boot:
- hd
cloud_init_volume_name: iso
@@ -410,8 +410,8 @@
- name: {{ HOSTNAME_MON03 }}
role: salt_minion
params:
- vcpu: !os_env SLAVE_NODE_CPU, 1
- memory: !os_env SLAVE_NODE_MEMORY, 3072
+ vcpu: {{ os_env('MON_NODE_CPU', 1) }}
+ memory: {{ os_env('MON_NODE_MEMORY', 3072) }}
boot:
- hd
cloud_init_volume_name: iso