From b9d16fbf761f4c91505636574654ecb9131d87ac Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Fri, 18 Dec 2020 15:58:13 +0100 Subject: [PATCH] Keep robot example lines short Do not expand argument expressions into actual verbose values. Change-Id: I3d86cd826e9cd03cefefe2e197250f76414ac101 Signed-off-by: Vratko Polak --- resources/libraries/robot/l2/l2_traffic.robot | 24 ++++++++++++------------ 1 file 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 -- 2.16.6