aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-12-18 15:58:13 +0100
committerVratko Polak <vrpolak@cisco.com>2020-12-18 15:58:13 +0100
commitb9d16fbf761f4c91505636574654ecb9131d87ac (patch)
treebb04878c9d8aabdf87e2e9cea100edc2122c3528
parent925b50c85a24b3c91031d09eeca19f17b4e01f2c (diff)
Keep robot example lines short
Do not expand argument expressions into actual verbose values. Change-Id: I3d86cd826e9cd03cefefe2e197250f76414ac101 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-rw-r--r--resources/libraries/robot/l2/l2_traffic.robot24
1 files changed, 12 insertions, 12 deletions
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