X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fvpp%2Fdevice%2Fvm_vhost%2Fip4%2Feth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot;h=9c9bd39de5374a184512eb29c6098e34d9888997;hb=6871d4e7f6ed43ce0bb003cb08e88b2581a474eb;hp=e97e7919b1f35ad951ffbb9ad82f72f69098016d;hpb=c8b5a89276f6c10a2d8ca9858f426a6089ac08e3;p=csit.git diff --git a/tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot b/tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot index e97e7919b1..9c9bd39de5 100644 --- a/tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot +++ b/tests/vpp/device/vm_vhost/ip4/eth2p-ethip4-ip4base-eth-2vhost-1vm-dev.robot @@ -19,6 +19,7 @@ | Library | resources.libraries.python.Trace | Library | resources.libraries.python.VhostUser | Library | resources.libraries.python.VPPUtil +| ... | Resource | resources/libraries/robot/ip/ip4.robot | Resource | resources/libraries/robot/l2/l2_bridge_domain.robot | Resource | resources/libraries/robot/shared/default.robot @@ -31,9 +32,7 @@ | ... | Test Setup | Set up VPP device test | ... -| Test Teardown | Run Keywords -| ... | Tear down QEMU -| ... | AND | Tear down VPP device test +| Test Teardown | Tear down test | packet_trace | vhost | ... | Documentation | *IPv4 routing test cases with vhost user interface* | ... @@ -92,14 +91,13 @@ | | ${vhost2_mac}= | And Get Vhost User Mac By SW Index | | ... | ${dut_node} | ${vhost2} | | And Vpp Route Add | ${dut_node} | ${net3} | ${prefix_length} -| | ... | gateway=${net2_ip2} | interface=${vhost1} | resolve_attempts=${NONE} -| | ... | count=${NONE} +| | ... | gateway=${net2_ip2} | interface=${vhost1} | | And Vpp Route Add | ${dut_node} | ${net1} | ${prefix_length} -| | ... | gateway=${net2_ip1} | interface=${vhost2} | resolve_attempts=${NONE} -| | ... | count=${NONE} | vrf=${fib_table_2} -| | Add IP Neighbor | ${dut_node} | ${vhost1} | ${net2_ip2} | ${vhost2_mac} -| | Add IP Neighbor | ${dut_node} | ${dut_to_tg_if2} | ${net3_ip2} -| | ... | ${tg_to_dut_if2_mac} +| | ... | gateway=${net2_ip1} | interface=${vhost2} +| | ... | vrf=${fib_table_2} +| | VPP Add IP Neighbor | ${dut_node} | ${vhost1} | ${net2_ip2} | ${vhost2_mac} +| | VPP Add IP Neighbor +| | ... | ${dut_node} | ${dut_to_tg_if2} | ${net3_ip2} | ${tg_to_dut_if2_mac} | | When Configure VM for vhost L2BD forwarding | | ... | ${dut_node} | ${sock1} | ${sock2} | | Then Send packet and verify headers