summaryrefslogtreecommitdiffstats
path: root/testing/robot/data
diff options
context:
space:
mode:
authorTomas Cechvala <tcechval@cisco.com>2017-03-13 15:18:39 +0100
committerjuraj.linkes <jlinkes@cisco.com>2017-03-14 12:38:14 +0100
commita717a49967f77ede476da582b6d3bb2c6359da1b (patch)
tree277749bb97dfd905163ca22486e83baf62068bee /testing/robot/data
parente98d863ae414a55b1d306f66f0b54aa659a2c9ae (diff)
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 <tcechval@cisco.com> Signed-off-by: juraj.linkes <jlinkes@cisco.com>
Diffstat (limited to 'testing/robot/data')
-rw-r--r--testing/robot/data/test_data.py5
1 files changed, 3 insertions, 2 deletions
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 " \