diff options
author | juraj.linkes <jlinkes@cisco.com> | 2017-06-27 16:39:39 +0200 |
---|---|---|
committer | juraj.linkes <jlinkes@cisco.com> | 2017-06-27 16:39:39 +0200 |
commit | 5363f1bd4b2007bc66f4171069251f813ff2b418 (patch) | |
tree | e6a31f872cd45a19be784fd8cd4bff1dcfd961f7 /testing/robot/sec_groups_and_l2-smoke.robot | |
parent | e52796576836ee2f3b2b36c63503ceb1cf6588f3 (diff) |
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 <jlinkes@cisco.com>
Diffstat (limited to 'testing/robot/sec_groups_and_l2-smoke.robot')
-rw-r--r-- | testing/robot/sec_groups_and_l2-smoke.robot | 8 |
1 files changed, 5 insertions, 3 deletions
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 |