X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Ffunc%2Ftap%2Feth2p-eth-l2bdbasemaclrn-eth-2tap-func.robot;h=984b6e42efda94854cde4f0fe1458343525a6eab;hb=086f3a5065d744e00fe10289eb2f090b7bde208e;hp=6c47c5c574b78591e954be8dcf3347326bcd5826;hpb=982e81efab69bc007455481b6425fcebc7213906;p=csit.git diff --git a/tests/func/tap/eth2p-eth-l2bdbasemaclrn-eth-2tap-func.robot b/tests/func/tap/eth2p-eth-l2bdbasemaclrn-eth-2tap-func.robot index 6c47c5c574..984b6e42ef 100644 --- a/tests/func/tap/eth2p-eth-l2bdbasemaclrn-eth-2tap-func.robot +++ b/tests/func/tap/eth2p-eth-l2bdbasemaclrn-eth-2tap-func.robot @@ -23,11 +23,13 @@ | Library | resources.libraries.python.Tap | Library | resources.libraries.python.Namespaces | Library | resources.libraries.python.IPUtil +| ... | Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO -| Test Setup | Run Keywords | Func Test Setup -| ... | AND | Clean Up Namespaces | ${nodes['DUT1']} -| Test Teardown | Run Keywords | Func Test Teardown -| ... | AND | Clean Up Namespaces | ${nodes['DUT1']} +| ... +| Test Setup | Set up TAP functional test +| ... +| Test Teardown | Tear down TAP functional test with Linux bridge | ${bid_TAP} +| ... | Documentation | *Tap Interface Traffic Tests* | ... | *[Top] Network Topologies:* TG=DUT1 2-node topology with two links | ... | between nodes. @@ -55,38 +57,32 @@ | | [Documentation] | | ... | [Top] TG-DUT1-TG. | | ... | [Enc] Eth-IPv4-ICMPv4. -| | ... | [Cfg] On DUT1 configure two -| | ... | L2BD with two if's for each L2BD with MAC learning and one L2BD -| | ... | joining two linux-TAP interfaces created by VPP located in namespace. -| | ... | [Ver] Packet sent from TG is passed through all L2BD and received +| | ... | [Cfg] On DUT1 configure two L2BD with two if's for each L2BD with MAC\ +| | ... | learning and one L2BD joining two linux-TAP interfaces created by VPP\ +| | ... | located in namespace. +| | ... | [Ver] Packet sent from TG is passed through all L2BD and received\ | | ... | back on TG. Then src_ip, dst_ip and MAC are checked. | | ... -| | [Teardown] | Run Keywords -| | ... | Linux Del Bridge | ${dut_node} | ${bid_TAP} | AND -| | ... | Show Packet Trace on All DUTs | ${nodes} | AND -| | ... | Clean Up Namespaces | ${nodes['DUT1']} | AND -| | ... | Check VPP PID in Teardown -| | ... -| | Given Path for 2-node testing is set | ${nodes['TG']} | ${nodes['DUT1']} -| | ... | ${nodes['TG']} -| | And Interfaces in 2-node path are up +| | Given Configure path in 2-node circular topology | ${nodes['TG']} +| | ... | ${nodes['DUT1']} | ${nodes['TG']} +| | And Set interfaces in 2-node circular topology up | | ${int1}= | And Add Tap Interface | ${dut_node} | ${tap_int1} | | ${int2}= | And Add Tap Interface | ${dut_node} | ${tap_int2} | | And Set Interface State | ${dut_node} | ${int1} | up | | And Set Interface State | ${dut_node} | ${int2} | up -| | And Bridge domain on DUT node is created | ${dut_node} +| | And Create bridge domain | ${dut_node} | | ... | ${bid_from_TG} | learn=${TRUE} -| | And Bridge domain on DUT node is created | ${dut_node} +| | And Create bridge domain | ${dut_node} | | ... | ${bid_to_TG} | learn=${TRUE} | | And Linux Add Bridge | ${dut_node} | | ... | ${bid_TAP} | ${tap_int1} | ${tap_int2} -| | And Interface is added to bridge domain | ${dut_node} +| | And Add interface to bridge domain | ${dut_node} | | ... | ${int1} | ${bid_to_TG} | 0 -| | And Interface is added to bridge domain | ${dut_node} +| | And Add interface to bridge domain | ${dut_node} | | ... | ${dut_to_tg_if1} | ${bid_to_TG} | 0 -| | And Interface is added to bridge domain | ${dut_node} +| | And Add interface to bridge domain | ${dut_node} | | ... | ${int2} | ${bid_from_TG} | 0 -| | And Interface is added to bridge domain | ${dut_node} +| | And Add interface to bridge domain | ${dut_node} | | ... | ${dut_to_tg_if2} | ${bid_from_TG} | 0 -| | Then Send and receive ICMP Packet | ${tg_node} +| | Then Send ICMP packet and verify received packet | ${tg_node} | | ... | ${tg_to_dut_if1} | ${tg_to_dut_if2}