X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Ffunc%2Fsoftwire%2Fmap_t.robot;h=4167ca2bcfed466f783767c201a97cc37e8764d9;hb=8e5d47081faa132562ee2bff90d44081495e2109;hp=76dea10ed02d536a4a89116c30a43e4cce54f4e6;hpb=f591e5d8bd72f5f60d3c26222b14b512366fedc3;p=csit.git diff --git a/tests/func/softwire/map_t.robot b/tests/func/softwire/map_t.robot index 76dea10ed0..4167ca2bcf 100644 --- a/tests/func/softwire/map_t.robot +++ b/tests/func/softwire/map_t.robot @@ -21,12 +21,9 @@ | Library | resources.libraries.python.IPUtil | Library | resources.libraries.python.Trace | Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO -| Suite Setup | Run Keywords -| ... | Setup all DUTs before test | AND -| ... | Setup all TGs before traffic script -| Test Teardown | Run Keywords -| ... | Show packet trace on all DUTs | ${nodes} | AND -| ... | Show vpp trace dump on all DUTs +| Test Setup | Run Keywords | Func Test Setup +| ... | AND | Set interfaces IP addresses and routes +| Test Teardown | Func Test Teardown | Documentation | *Test for Basic mapping rule for MAP-T*\ | ... | *[Top] Network Topologies:* TG - DUT1 - TG with two links between the | ... | nodes. @@ -53,18 +50,17 @@ *** Test Cases *** | TC01: MAP-T test -| | [Tags] | EXPECTED_FAILING | | [Documentation] | | | ... | Test to check map-t address translation. -| | [Setup] | Set interfaces IP addresses and routes | | [Template] | Check MAP-T configuration with traffic script # |===================|===============|================|============|=============|==========|===========|================|==========| # | ipv4_pfx | ipv6_dst_pfx | ipv6_src_pfx | ea_bit_len | psid_offset | psid_len | ipv4_src | ipv4_dst | dst_port | # |===================|===============|================|============|=============|==========|===========|================|==========| -| | 20.169.0.0/16 | 2001:db8::/32 | ${ipv6_br_src} | ${12} | ${6} | ${8} | 100.0.0.1 | 20.169.201.219 | ${1232} | -| | 20.169.0.0/16 | 2001:db8::/16 | ${ipv6_br_src} | ${40} | ${0} | ${0} | 100.0.0.1 | 20.169.201.219 | ${1232} | +| | 20.169.0.0/16 | 2001::/16 | ${ipv6_br_src} | ${40} | ${0} | ${0} | 100.0.0.1 | 20.169.201.219 | ${1232} | | | 20.169.201.219/32 | 2001:db8::/32 | ${ipv6_br_src} | ${0} | ${0} | ${0} | 100.0.0.1 | 20.169.201.219 | ${1232} | | | 20.0.0.0/8 | 2001:db8::/40 | ${ipv6_br_src} | ${24} | ${0} | ${0} | 100.0.0.1 | 20.169.201.219 | ${1232} | +#| | 20.169.201.0/32 | 2001:db8::/32 | ${ipv6_br_src} | ${0} | ${6} | ${8} | 100.0.0.1 | 20.169.201.219 | ${1232} | +#| | 20.169.201.0/24 | 2001:db8::/32 | ${ipv6_br_src} | ${0} | ${6} | ${8} | 100.0.0.1 | 20.169.201.219 | ${1232} | *** Keywords *** @@ -114,7 +110,7 @@ # Check translation from v6 to v4 with traffic script | | Send IPv6 UDP and check IPv4 headers for MAP-T | | ... | ${tg_node} | ${tg_to_dut_if2} | ${tg_to_dut_if1} -| | ... | ${dut_to_tg_if2_mac} +| | ... | ${dut_to_tg_if2_mac} | ${tg_to_dut_if2_mac} | | ... | ${ipv6_br_addr} | ${ipv6_ce_addr} | | ... | ${dst_port} | | ... | ${tg_to_dut_if1_mac} | ${dut_to_tg_if1_mac} @@ -122,4 +118,5 @@ | | [Teardown] | Run Keywords | | ... | Map Del Domain | ${dut_node} | ${domain_index} | AND | | ... | Show packet trace on all DUTs | ${nodes} | AND -| | ... | Clear packet trace on all DUTs | ${nodes} +| | ... | Clear packet trace on all DUTs | ${nodes} | AND +| | ... | Check VPP PID in Teardown