From 069e5ac29e445ca4141033009bd870a74860472a Mon Sep 17 00:00:00 2001 From: Tomas Cechvala Date: Mon, 13 Mar 2017 15:18:39 +0100 Subject: Check for a flavor with hugepages Flavor is not checked by name but by huge_pages extra option. It is created when no flavor has huge_pages setting. Change-Id: I1266a6e58047c24456b12f16fc3061082916558c Signed-off-by: Tomas Cechvala Signed-off-by: juraj.linkes (cherry picked from commit a717a49967f77ede476da582b6d3bb2c6359da1b) --- testing/robot/data/test_data.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testing/robot/data') diff --git a/testing/robot/data/test_data.py b/testing/robot/data/test_data.py index 97aaf2b..86ca8fc 100644 --- a/testing/robot/data/test_data.py +++ b/testing/robot/data/test_data.py @@ -21,8 +21,9 @@ vm2_address = '192.168.10.6' port1_name = 'fds_smoke_port1_' + run_uuid port2_name = 'fds_smoke_port2_' + run_uuid subnet_cidr = '192.168.10.0/24' -vm_flavor = 'm1.small' -vm_image = 'cirros-0.3.4' +vm_flavor = 'nfv-fds' +vm_image = 'cirros-0.3.5' +image_path = '/home/opnfv/functest/data/cirros-0.3.5-x86_64-disk.img' userdata1 = "#!/bin/sh\n\nsudo ip a add {}/24 dev eth0\n while true; do echo curl_passed | nc -l -p 80; done\n".format(vm1_address) userdata2 = "#!/bin/sh\n\nsudo ip a add {}/24 dev eth0\nwhile true; do\n ping -c 1 {} 2>&1 >/dev/null\n " \ "RES=$?\n if [ \"Z$RES\" = \"Z0\" ] ; then\n echo 'ping PASSED'\n break\n else\n echo " \ -- cgit 1.2.3-korg