X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Ffunc%2Fsoftwire%2Feth2p-ethip4--ethip6ip4-ip4base--ip6base-swiremapt-func.robot;h=d3550bcac3a21f7a1c7d911775136b5e6867d996;hb=430afafb4cadf503ccee99c09f6de7402f5404c7;hp=4167ca2bcfed466f783767c201a97cc37e8764d9;hpb=982e81efab69bc007455481b6425fcebc7213906;p=csit.git diff --git a/tests/func/softwire/eth2p-ethip4--ethip6ip4-ip4base--ip6base-swiremapt-func.robot b/tests/func/softwire/eth2p-ethip4--ethip6ip4-ip4base--ip6base-swiremapt-func.robot index 4167ca2bcf..d3550bcac3 100644 --- a/tests/func/softwire/eth2p-ethip4--ethip6ip4-ip4base--ip6base-swiremapt-func.robot +++ b/tests/func/softwire/eth2p-ethip4--ethip6ip4-ip4base--ip6base-swiremapt-func.robot @@ -21,9 +21,9 @@ | Library | resources.libraries.python.IPUtil | Library | resources.libraries.python.Trace | Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO -| Test Setup | Run Keywords | Func Test Setup +| Test Setup | Run Keywords | Set up functional test | ... | AND | Set interfaces IP addresses and routes -| Test Teardown | Func Test Teardown +| Test Teardown | Tear down functional test | Documentation | *Test for Basic mapping rule for MAP-T*\ | ... | *[Top] Network Topologies:* TG - DUT1 - TG with two links between the | ... | nodes. @@ -52,6 +52,19 @@ | TC01: MAP-T test | | [Documentation] | | | ... | Test to check map-t address translation. +| | ... +| | ... | Arguments: +| | ... +| | ... | - ipv4_pfx +| | ... | - ipv6_dst_pfx +| | ... | - ipv6_src_pfx +| | ... | - ea_bit_len +| | ... | - psid_offset +| | ... | - psid_len +| | ... | - ipv4_src +| | ... | - ipv4_dst +| | ... | - dst_port +| | ... | | [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 | @@ -65,10 +78,10 @@ *** Keywords *** | Set interfaces IP addresses and routes -| | Path for 2-node testing is set +| | Configure path in 2-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']} -| | Interfaces in 2-node path are up -| | IP addresses are set on interfaces +| | Set interfaces in 2-node circular topology up +| | Configure IP addresses on interfaces | | ... | ${dut_node} | ${dut_to_tg_if1} | ${dut_ip4} | ${ipv4_prefix_len} | | ... | ${dut_node} | ${dut_to_tg_if2} | ${dut_ip6} | ${ipv6_prefix_len} | | Vpp Route Add | ${dut_node} | :: | 0 | ${dut_ip6_gw} | ${dut_to_tg_if2} @@ -119,4 +132,4 @@ | | ... | Map Del Domain | ${dut_node} | ${domain_index} | AND | | ... | Show packet trace on all DUTs | ${nodes} | AND | | ... | Clear packet trace on all DUTs | ${nodes} | AND -| | ... | Check VPP PID in Teardown +| | ... | Verify VPP PID in Teardown