Allow to define the number of test vms to be created
To test features that need several VMs to be created, enable this setting that reuses the NODECOUNT setting already present on the test script. Change-Id: I43d1625f277b1c073441b70e47ba95e121dd116a
This commit is contained in:
parent
2e19f19fc7
commit
3c6d272574
@ -24,6 +24,10 @@ test_vm_memory_size: Tunable setting to allow a user to define a specific
|
|||||||
between test runs, you may need to undefine the test
|
between test runs, you may need to undefine the test
|
||||||
virtual machine(s) that were previously created.
|
virtual machine(s) that were previously created.
|
||||||
|
|
||||||
|
test_vm_num_nodes: Tunable setting to allow a user to define the number of
|
||||||
|
test VMs that will be created. They will all be created
|
||||||
|
with same settings.
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
# defaults file for bifrost-create-vm-nodes
|
# defaults file for bifrost-create-vm-nodes
|
||||||
baremetal_csv_file: "/tmp/baremetal.csv"
|
baremetal_csv_file: "/tmp/baremetal.csv"
|
||||||
test_vm_memory_size: "3072"
|
test_vm_memory_size: "3072"
|
||||||
|
test_vm_num_nodes: "1"
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
environment:
|
environment:
|
||||||
NODEOUTPUT: "{{baremetal_csv_file}}"
|
NODEOUTPUT: "{{baremetal_csv_file}}"
|
||||||
VM_RAM: "{{ test_vm_memory_size }}"
|
VM_RAM: "{{ test_vm_memory_size }}"
|
||||||
|
NODECOUNT: "{{ test_vm_num_nodes }}"
|
||||||
register: task_create_vm_nodes
|
register: task_create_vm_nodes
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
Loading…
Reference in New Issue
Block a user