From 5363f1bd4b2007bc66f4171069251f813ff2b418 Mon Sep 17 00:00:00 2001 From: "juraj.linkes" Date: Tue, 27 Jun 2017 16:39:39 +0200 Subject: Updated robot scripts for v3 credentials The fds security group robot script is now compatible with both v2 and v3 credentials. Also introduced other minor fixes. Change-Id: I987a3963fea425fcc31afe4681575ca985f162bb Signed-off-by: juraj.linkes --- testing/robot/sec_groups_and_l2-smoke.robot | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testing/robot/sec_groups_and_l2-smoke.robot') diff --git a/testing/robot/sec_groups_and_l2-smoke.robot b/testing/robot/sec_groups_and_l2-smoke.robot index 347c78c..6dd3166 100644 --- a/testing/robot/sec_groups_and_l2-smoke.robot +++ b/testing/robot/sec_groups_and_l2-smoke.robot @@ -38,11 +38,13 @@ Create sec rules Wait Until Keyword Succeeds 3x 3s create security rule ${SEC_GR_SERVER} ingress ipv4 proto=icmp Create port for VM1 - ${result} = Create port with ip ${port1_name} ${vm1_address} + ${security_groups} = Create List ${SEC_GR_SERVER} + ${result} = Create port with ip ${port1_name} ${vm1_address} ${security_groups} Set Suite Variable ${port1_id} ${result} Create port for VM2 - ${result} = Create port with ip ${port2_name} ${vm2_address} + ${security_groups} = Create List ${SEC_GR_CLIENT} + ${result} = Create port with ip ${port2_name} ${vm2_address} ${security_groups} Set Suite Variable ${port2_id} ${result} Create VM1 @@ -56,7 +58,7 @@ Wait for VM1 to be active Create VM2 ${port_ids} = Create List ${port2_id} - ${result} = Create vm ${vm2_name} ${port_ids} flavor=${flavor_to_use} userdata=${userdata2} + ${result} = Create vm ${vm2_name} ${port_ids} userdata=${userdata2} Set Suite Variable ${vm2_id} ${result} Wait for VM2 to be active -- cgit 1.2.3-korg