diff options
author | Matej Klotton <mklotton@cisco.com> | 2016-04-28 16:39:18 +0200 |
---|---|---|
committer | Matej Klotton <mklotton@cisco.com> | 2016-05-11 14:59:12 +0000 |
commit | 7dbda72563912b656bde2ee4b4611a0b284b933e (patch) | |
tree | 91f9001d402ee5971013a0ebc2edbf28649f4888 /tests/suites/tagging/qinq_l2_xconnect.robot | |
parent | 10f3b07a5c883e20ef345c8b1c8e24063a50281f (diff) |
Add library for set path variables for testing.
Change-Id: Icb243bacc9329c4bf3bc28098fced473b4e3c991
Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'tests/suites/tagging/qinq_l2_xconnect.robot')
-rw-r--r-- | tests/suites/tagging/qinq_l2_xconnect.robot | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/suites/tagging/qinq_l2_xconnect.robot b/tests/suites/tagging/qinq_l2_xconnect.robot index 786f870b5a..856d3accb5 100644 --- a/tests/suites/tagging/qinq_l2_xconnect.robot +++ b/tests/suites/tagging/qinq_l2_xconnect.robot @@ -13,6 +13,7 @@ *** Settings *** | Resource | resources/libraries/robot/default.robot +| Resource | resources/libraries/robot/testing_path.robot | Resource | resources/libraries/robot/tagging.robot | Resource | resources/libraries/robot/l2_traffic.robot | Library | resources.libraries.python.Trace @@ -29,21 +30,21 @@ | ${tag_rewrite_method}= | pop-2 *** Test Cases *** -| VPP can push and pop two VLAN tags to traffic transfering through xconnect +| VPP can push and pop two VLAN tags to traffic transferring through xconnect | | [Documentation] | Push two tags on DUT 1 to traffic sent from TG, | | ... | pop two tags on DUT 2 from this traffic | | ... | and receive untagged traffic on TG. | | ... -| | Given Node path computed for 3-node topology +| | Given Path for 3-node testing is set | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} -| | And Interfaces in path are up +| | And Interfaces in 3-node path are up | | When VLAN subinterfaces initialized on 3-node topology -| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | ... | ${dut1_node} | ${dut1_to_dut2} | ${dut2_node} | ${dut2_to_dut1} | ${subid} | | ... | ${outer_vlan_id} | ${inner_vlan_id} | ${type_subif} | | And L2 tag rewrite pop 2 tags setup on interfaces -| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${dut1_node} | ${subif_index_1} | ${dut2_node} | ${subif_index_2} | | ... | ${tag_rewrite_method} | | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect -| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} -| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} -| | Then Send and receive ICMPv4 | ${tg} | ${tg_if1} | ${tg_if2} +| | ... | ${dut1_node} | ${dut1_to_tg} | ${subif_index_1} +| | ... | ${dut2_node} | ${dut2_to_tg} | ${subif_index_2} +| | Then Send and receive ICMPv4 | ${tg_node} | ${tg_to_dut1} | ${tg_to_dut2} |