X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fl2%2Fl2_traffic.robot;h=25699b14c78a8a5a512c8fe3173f05549d6270bb;hp=eac0be446ba8fe0465948c949e4d797c99bdb75c;hb=b9d16fbf761f4c91505636574654ecb9131d87ac;hpb=925b50c85a24b3c91031d09eeca19f17b4e01f2c diff --git a/resources/libraries/robot/l2/l2_traffic.robot b/resources/libraries/robot/l2/l2_traffic.robot index eac0be446b..25699b14c7 100644 --- a/resources/libraries/robot/l2/l2_traffic.robot +++ b/resources/libraries/robot/l2/l2_traffic.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -46,18 +46,18 @@ | | | | ... | _NOTE:_ Default IP is IPv4 | | -| | ... | \| Send IP packet and verify received packet \| ${nodes['TG']} \ -| | ... | \| ${tg_to_dut_if1} \| ${tg_to_dut_if2} \| -| | ... | \| Send IP packet and verify received packet \| ${nodes['TG']} \ -| | ... | \| ${tg_to_dut1} \| ${tg_to_dut2} \| encaps=Dot1q \| vlan1=100 \| -| | ... | \| Send IP packet and verify received packet \| ${nodes['TG']} \ -| | ... | \| ${tg_to_dut1} \| ${tg_to_dut2} \| encaps=Dot1ad \| vlan1=110 \ +| | ... | \| Send IP packet and verify received packet \| \${nodes['TG']} \ +| | ... | \| \${tg_to_dut_if1} \| \${tg_to_dut_if2} \| +| | ... | \| Send IP packet and verify received packet \| \${nodes['TG']} \ +| | ... | \| \${tg_to_dut1} \| \${tg_to_dut2} \| encaps=Dot1q \| vlan1=100 \| +| | ... | \| Send IP packet and verify received packet \| \${nodes['TG']} \ +| | ... | \| \${tg_to_dut1} \| \${tg_to_dut2} \| encaps=Dot1ad \| vlan1=110 \ | | ... | \| vlan2=220 \| -| | ... | \| Send IP packet and verify received packet \| ${nodes['TG']} \ -| | ... | \| ${tg_to_dut1} \| ${tg_to_dut2} \| encaps=Dot1q \| vlan1=110 \ +| | ... | \| Send IP packet and verify received packet \| \${nodes['TG']} \ +| | ... | \| \${tg_to_dut1} \| \${tg_to_dut2} \| encaps=Dot1q \| vlan1=110 \ | | ... | \| encaps_rx=Dot1q \| -| | ... | \| Send IP packet and verify received packet \| ${nodes['TG']} \ -| | ... | \| ${tg_to_dut1} \| ${tg_to_dut2} \| encaps=Dot1q \| vlan1=110 \ +| | ... | \| Send IP packet and verify received packet \| \${nodes['TG']} \ +| | ... | \| \${tg_to_dut1} \| \${tg_to_dut2} \| encaps=Dot1q \| vlan1=110 \ | | ... | \| encaps_rx=Dot1q \| vlan1_rx=120 \| | | | | [Arguments] | ${tg_node} | ${tx_src_port} | ${rx_dst_port} @@ -94,7 +94,7 @@ | | ... | *Example:* | | | | ... | \| Send IPv4 bidirectionally and verify received packets \ -| | ... | \| ${nodes['TG']} \| ${tg_to_dut_if1} \| ${tg_to_dut_if2} \| +| | ... | \| \${nodes['TG']} \| \${tg_to_dut_if1} \| \${tg_to_dut_if2} \| | | | | [Arguments] | ${tg_node} | ${int1} | ${int2} | ${src_ip}=192.168.100.1 | | | ... | ${dst_ip}=192.168.100.2