Keep robot example lines short 84/30184/3
authorVratko Polak <vrpolak@cisco.com>
Fri, 18 Dec 2020 14:58:13 +0000 (15:58 +0100)
committerVratko Polak <vrpolak@cisco.com>
Fri, 18 Dec 2020 14:58:13 +0000 (15:58 +0100)
Do not expand argument expressions into actual verbose values.

Change-Id: I3d86cd826e9cd03cefefe2e197250f76414ac101
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/robot/l2/l2_traffic.robot

index eac0be4..25699b1 100644 (file)
@@ -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:
 # 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:
 | |
 | | ... | _NOTE:_ Default IP is IPv4
 | |
 | |
 | | ... | _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 \|
 | | ... | \| 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 \|
 | | ... | \| 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}
 | | ... | \| 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 \
 | | ... | *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
 | |
 | | [Arguments] | ${tg_node} | ${int1} | ${int2} | ${src_ip}=192.168.100.1 |
 | | ... | ${dst_ip}=192.168.100.2