X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fipv6.robot;h=b82c995e3a58a4a30d5760c749dd80e8b95fe835;hb=53d69321e41aa6fd94abc16c7050314dc2e53f08;hp=c6bf2922cb9cdbdcf41250f9538a467e264c0c42;hpb=66919d66b8ab63369266eaab8db1628501e884aa;p=csit.git diff --git a/resources/libraries/robot/ipv6.robot b/resources/libraries/robot/ipv6.robot index c6bf2922cb..b82c995e3a 100644 --- a/resources/libraries/robot/ipv6.robot +++ b/resources/libraries/robot/ipv6.robot @@ -26,7 +26,7 @@ | Documentation | IPv6 keywords *** Keywords *** -| Ipv6 icmp echo +| Send IPv6 icmp echo request to DUT1 ingress inteface and verify answer | | [Documentation] | Type of the src_node must be TG and dst_node must be DUT | | [Arguments] | ${tg_node} | ${dut_node} | ${nodes_addr} | | Append Nodes | ${tg_node} | ${dut_node} @@ -41,14 +41,14 @@ | | ${args}= | Traffic Script Gen Arg | ${src_port_name} | ${src_port_name} | ${src_mac} | | | ... | ${dst_mac} | ${src_ip} | ${dst_ip} | | Run Traffic Script On Node | icmpv6_echo.py | ${tg_node} | ${args} -| | Vpp dump stats | ${dst_node} -| | ${ipv6_counter}= | Vpp get interface ipv6 counter | ${dst_node} | ${dst_port} +| | Get interface statistics | ${dst_node} +| | ${ipv6_counter}= | Get interface ipv6 counter | ${dst_node} | ${dst_port} | | Should Be Equal | ${ipv6_counter} | ${2} | #ICMPv6 neighbor advertisement + ICMPv6 echo request -| Ipv6 icmp echo sweep +| Execute IPv6 ICMP echo sweep | | [Documentation] | Type of the src_node must be TG and dst_node must be DUT | | [Arguments] | ${src_node} | ${dst_node} | ${start_size} | ${end_size} -| | ... | ${step} | ${nodes_addr} +| | ... | ${step} | ${nodes_addr} | | Append Nodes | ${src_node} | ${dst_node} | | Compute Path | | ${src_port} | ${src_node}= | First Interface @@ -67,7 +67,7 @@ | | Run Traffic Script On Node | ipv6_sweep_ping.py | ${src_node} | ${args} | | ... | timeout=${180} -| Ipv6 tg to dut1 egress +| Send IPv6 ICMP echo request to DUT1 egress interface and verify answer | | [Documentation] | Send traffic from TG to first DUT egress interface | | [Arguments] | ${tg_node} | ${first_dut} | ${second_dut} | ${nodes_addr} | | Append Nodes | ${tg_node} | ${first_dut} | ${second_dut} @@ -85,7 +85,7 @@ | | Run Traffic Script On Node | icmpv6_echo.py | ${tg_node} | ${args} -| Ipv6 tg to dut2 via dut1 +| Send IPv6 ICMP echo request to DUT2 via DUT1 and verify answer | | [Documentation] | Send traffic from TG to second DUT through first DUT | | [Arguments] | ${tg_node} | ${first_dut} | ${second_dut} | ${nodes_addr} | | Append Nodes | ${tg_node} | ${first_dut} | ${second_dut} @@ -102,7 +102,7 @@ | | | ... | ${dst_mac} | ${src_ip} | ${dst_ip} | | Run Traffic Script On Node | icmpv6_echo.py | ${tg_node} | ${args} -| Ipv6 tg to dut2 egress via dut1 +| Send IPv6 ICMP echo request to DUT2 egress interface via DUT1 and verify answer | | [Documentation] | Send traffic from TG to second DUT egress interface through first DUT | | [Arguments] | ${tg_node} | ${first_dut} | ${second_dut} | ${nodes_addr} | | Append Nodes | ${tg_node} | ${first_dut} | ${second_dut} | ${tg_node} @@ -121,7 +121,7 @@ | Ipv6 tg to tg routed | | [Documentation] | Send traffic from one TG port to another through DUT nodes -| | ... | and send reply back, also verify hop limit processing +| | ... | and send reply back, also verify hop limit processing | | [Arguments] | ${tg_node} | ${first_dut} | ${second_dut} | ${nodes_addr} | | Append Nodes | ${tg_node} | ${first_dut} | ${second_dut} | ${tg_node} | | Compute Path @@ -143,7 +143,7 @@ | | | ... | --dst_nh_mac ${dst_nh_mac} | --h_num 2 | | Run Traffic Script On Node | icmpv6_echo_req_resp.py | ${tg_node} | ${args} -| Ipv6 neighbor solicitation +| Send IPv6 neighbor solicitation and verify answer | | [Documentation] | Send IPv6 neighbor solicitation from TG to DUT | | [Arguments] | ${tg_node} | ${dut_node} | ${nodes_addr} | | Append Nodes | ${tg_node} | ${dut_node} @@ -159,26 +159,21 @@ | | | ... | ${dst_mac} | ${src_ip} | ${dst_ip} | | Run Traffic Script On Node | ipv6_ns.py | ${src_node} | ${args} -| Setup ipv6 to all dut in topology +| Configure IPv6 on all DUTs in topology | | [Documentation] | Setup IPv6 address on all DUTs | | [Arguments] | ${nodes} | ${nodes_addr} -| | Setup all DUTs before test +| | Configure all DUTs before test | | ${interfaces}= | Nodes Set Ipv6 Addresses | ${nodes} | ${nodes_addr} | | :FOR | ${interface} | IN | @{interfaces} | | | Set Interface State | @{interface} | up | if_type=name | | All Vpp Interfaces Ready Wait | ${nodes} -| Clear ipv6 on all dut in topology -| | [Documentation] | Remove IPv6 address on all DUTs -| | [Arguments] | ${nodes} | ${nodes_addr} -| | Nodes Clear Ipv6 Addresses | ${nodes} | ${nodes_addr} - -| Vpp nodes ra suppress link layer +| Suppress ICMPv6 router advertisement message | | [Documentation] | Suppress ICMPv6 router advertisement message for link scope address | | [Arguments] | ${nodes} | | Vpp All Ra Suppress Link Layer | ${nodes} -| Vpp nodes setup ipv6 routing +| Configure IPv6 routing on all DUTs | | [Documentation] | Setup routing on all VPP nodes required for IPv6 tests | | [Arguments] | ${nodes} | ${nodes_addr} | | Append Nodes | ${nodes['DUT1']} | ${nodes['DUT2']}