diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-06-01 07:00:50 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-06-08 14:23:08 +0200 |
commit | 430afafb4cadf503ccee99c09f6de7402f5404c7 (patch) | |
tree | ef79d59dba8558b85af1b7ad2fe89d3c9c49b5af /tests/func/vlan/eth2p-dot1ad--dot1q-l2xcbase-vlantrans21-func.robot | |
parent | 7436d8bdf60bca9b80fb76781e1f709bbcd435da (diff) |
CSIT-662: KWI - KW renaming
- plus: CSIT-656: Script to rename robot keywords.
Change-Id: Ia69917e406a1b346b80e5ea742f6200c1c9e9d21
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'tests/func/vlan/eth2p-dot1ad--dot1q-l2xcbase-vlantrans21-func.robot')
-rw-r--r-- | tests/func/vlan/eth2p-dot1ad--dot1q-l2xcbase-vlantrans21-func.robot | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/tests/func/vlan/eth2p-dot1ad--dot1q-l2xcbase-vlantrans21-func.robot b/tests/func/vlan/eth2p-dot1ad--dot1q-l2xcbase-vlantrans21-func.robot index bf65f87acb..f3643be8bb 100644 --- a/tests/func/vlan/eth2p-dot1ad--dot1q-l2xcbase-vlantrans21-func.robot +++ b/tests/func/vlan/eth2p-dot1ad--dot1q-l2xcbase-vlantrans21-func.robot @@ -18,8 +18,8 @@ | Resource | resources/libraries/robot/l2_traffic.robot | Library | resources.libraries.python.Trace | Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | VM_ENV | SKIP_VPP_PATCH -| Test Setup | Func Test Setup -| Test Teardown | Func Test Teardown +| Test Setup | Set up functional test +| Test Teardown | Tear down functional test | Documentation | *L2XC with VLAN tag rewrite test cases - translate-2-1* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -65,23 +65,23 @@ | | ... | tagged with Dot1ad tags from one of its interfaces to another one | | ... | via DUT1 and DUT2; verify that packet is received. | | ... | [Ref] IEEE 802.1q, IEEE 802.1ad -| | Given Path for 3-node testing is set +| | Given Configure path in 3-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} -| | And Interfaces in 3-node path are up -| | ${vlan1_name} | ${vlan1_index}= | When Tagged Subinterface Created +| | And Set interfaces in 3-node circular topology up +| | ${vlan1_name} | ${vlan1_index}= | When Create tagged sub-interface | | ... | ${dut1_node} | ${dut1_to_tg} | ${subid} | | ... | outer_vlan_id=${outer_vlan_id1} | inner_vlan_id=${inner_vlan_id1} | | ... | type_subif=two_tags dot1ad -| | ${vlan2_name} | ${vlan2_index}= | And Vlan Subinterface Created +| | ${vlan2_name} | ${vlan2_index}= | And Create vlan sub-interface | | ... | ${dut2_node} | ${dut2_to_dut1} | ${outer_vlan_id2} -| | And L2 Tag Rewrite Method Is Set On Interface | ${dut1_node} +| | And Configure L2 tag rewrite method on interface | ${dut1_node} | | ... | ${vlan1_index} | translate-2-1 | tag1_id=${outer_vlan_id2} -| | And L2 Tag Rewrite Method Is Set On Interface | ${dut2_node} +| | And Configure L2 tag rewrite method on interface | ${dut2_node} | | ... | ${vlan2_index} | pop-1 -| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | And Connect interfaces and VLAN sub-interfaces using L2XC | | ... | ${dut1_node} | ${dut1_to_dut2} | ${vlan1_index} | | ... | ${dut2_node} | ${dut2_to_tg} | ${vlan2_index} -| | Then Send and receive ICMP Packet +| | Then Send ICMP packet and verify received packet | | ... | ${tg_node} | ${tg_to_dut1} | ${tg_to_dut2} | encaps=Dot1ad | | ... | vlan1=${outer_vlan_id1} | vlan2=${inner_vlan_id1} @@ -99,24 +99,24 @@ | | ... | via DUT1 and DUT2; verify that packet is not received. | | ... | [Ref] IEEE 802.1q, IEEE 802.1ad | | [Tags] | SKIP_PATCH -| | Given Path for 3-node testing is set +| | Given Configure path in 3-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} -| | And Interfaces in 3-node path are up -| | ${vlan1_name} | ${vlan1_index}= | When Tagged Subinterface Created +| | And Set interfaces in 3-node circular topology up +| | ${vlan1_name} | ${vlan1_index}= | When Create tagged sub-interface | | ... | ${dut1_node} | ${dut1_to_tg} | ${subid} | | ... | outer_vlan_id=${outer_vlan_id1} | inner_vlan_id=${inner_vlan_id1} | | ... | type_subif=two_tags dot1ad -| | ${vlan2_name} | ${vlan2_index}= | And Vlan Subinterface Created +| | ${vlan2_name} | ${vlan2_index}= | And Create vlan sub-interface | | ... | ${dut2_node} | ${dut2_to_dut1} | ${outer_vlan_id2} -| | And L2 Tag Rewrite Method Is Set On Interface | ${dut1_node} +| | And Configure L2 tag rewrite method on interface | ${dut1_node} | | ... | ${vlan1_index} | translate-2-1 | tag1_id=${outer_vlan_wrong} -| | And L2 Tag Rewrite Method Is Set On Interface | ${dut2_node} +| | And Configure L2 tag rewrite method on interface | ${dut2_node} | | ... | ${vlan2_index} | pop-1 -| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | And Connect interfaces and VLAN sub-interfaces using L2XC | | ... | ${dut1_node} | ${dut1_to_dut2} | ${vlan1_index} | | ... | ${dut2_node} | ${dut2_to_tg} | ${vlan2_index} | | Then Run Keyword And Expect Error | ICMP echo Rx timeout -| | ... | Send and receive ICMP Packet | ${tg_node} | ${tg_to_dut1} +| | ... | Send ICMP packet and verify received packet | ${tg_node} | ${tg_to_dut1} | | ... | ${tg_to_dut2} | encaps=Dot1ad | vlan1=${outer_vlan_id1} | | ... | vlan2=${inner_vlan_id1} @@ -132,23 +132,23 @@ | | ... | tagegd with Dot1ad tags from one of its interfaces to another one | | ... | via DUT1 and DUT2; verify that packet is received. | | ... | [Ref] IEEE 802.1q, IEEE 802.1ad -| | Given Path for 3-node testing is set +| | Given Configure path in 3-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} -| | And Interfaces in 3-node path are up -| | ${vlan1_name} | ${vlan1_index}= | When Tagged Subinterface Created +| | And Set interfaces in 3-node circular topology up +| | ${vlan1_name} | ${vlan1_index}= | When Create tagged sub-interface | | ... | ${dut1_node} | ${dut1_to_tg} | ${subid} | | ... | outer_vlan_id=${outer_vlan_id1} | inner_vlan_id=${inner_vlan_id1} | | ... | type_subif=two_tags dot1ad -| | ${vlan2_name} | ${vlan2_index}= | And Vlan Subinterface Created +| | ${vlan2_name} | ${vlan2_index}= | And Create vlan sub-interface | | ... | ${dut2_node} | ${dut2_to_dut1} | ${outer_vlan_id2} -| | And L2 Tag Rewrite Method Is Set On Interface | ${dut1_node} +| | And Configure L2 tag rewrite method on interface | ${dut1_node} | | ... | ${vlan1_index} | translate-2-1 | tag1_id=${outer_vlan_id2} -| | And L2 Tag Rewrite Method Is Set On Interface | ${dut2_node} +| | And Configure L2 tag rewrite method on interface | ${dut2_node} | | ... | ${vlan2_index} | pop-1 -| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | And Connect interfaces and VLAN sub-interfaces using L2XC | | ... | ${dut1_node} | ${dut1_to_dut2} | ${vlan1_index} | | ... | ${dut2_node} | ${dut2_to_tg} | ${vlan2_index} -| | Then Send and receive ICMP Packet +| | Then Send ICMP packet and verify received packet | | ... | ${tg_node} | ${tg_to_dut1} | ${tg_to_dut2} | src_ip=${src_ip} | | ... | dst_ip=${dst_ip} | encaps=Dot1ad | vlan1=${outer_vlan_id1} | | ... | vlan2=${inner_vlan_id1} @@ -167,23 +167,23 @@ | | ... | via DUT1 and DUT2; verify that packet is not received. | | ... | [Ref] IEEE 802.1q, IEEE 802.1ad | | [Tags] | SKIP_PATCH -| | Given Path for 3-node testing is set +| | Given Configure path in 3-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']} -| | And Interfaces in 3-node path are up -| | ${vlan1_name} | ${vlan1_index}= | When Tagged Subinterface Created +| | And Set interfaces in 3-node circular topology up +| | ${vlan1_name} | ${vlan1_index}= | When Create tagged sub-interface | | ... | ${dut1_node} | ${dut1_to_tg} | ${subid} | | ... | outer_vlan_id=${outer_vlan_id1} | inner_vlan_id=${inner_vlan_id1} | | ... | type_subif=two_tags dot1ad -| | ${vlan2_name} | ${vlan2_index}= | And Vlan Subinterface Created +| | ${vlan2_name} | ${vlan2_index}= | And Create vlan sub-interface | | ... | ${dut2_node} | ${dut2_to_dut1} | ${outer_vlan_id2} -| | And L2 Tag Rewrite Method Is Set On Interface | ${dut1_node} +| | And Configure L2 tag rewrite method on interface | ${dut1_node} | | ... | ${vlan1_index} | translate-2-1 | tag1_id=${outer_vlan_wrong} -| | And L2 Tag Rewrite Method Is Set On Interface | ${dut2_node} +| | And Configure L2 tag rewrite method on interface | ${dut2_node} | | ... | ${vlan2_index} | pop-1 -| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | And Connect interfaces and VLAN sub-interfaces using L2XC | | ... | ${dut1_node} | ${dut1_to_dut2} | ${vlan1_index} | | ... | ${dut2_node} | ${dut2_to_tg} | ${vlan2_index} | | Then Run Keyword And Expect Error | ICMP echo Rx timeout -| | ... | Send and receive ICMP Packet | ${tg_node} | ${tg_to_dut1} +| | ... | Send ICMP packet and verify received packet | ${tg_node} | ${tg_to_dut1} | | ... | ${tg_to_dut2} | src_ip=${src_ip} | dst_ip=${dst_ip} | encaps=Dot1ad | | ... | vlan1=${outer_vlan_id1} | vlan2=${inner_vlan_id1} |