aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/ipv4.robot
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2017-01-30 12:36:34 +0100
committerMatej Klotton <mklotton@cisco.com>2017-02-23 16:16:14 +0100
commit66919d66b8ab63369266eaab8db1628501e884aa (patch)
tree7a7ffa4c278244e7b9fe9c30a4972811f93066f2 /resources/libraries/robot/ipv4.robot
parent8c465631f6029b174e6d2549e1305b5b4cb8b8de (diff)
Add pypcap python requirement
Using pypcap's L2listen instead of standard AF_PACKET scapy can see received Dot1Q tag. Change-Id: Icb3dcb272a9611158a26a83fede7550bba3f367e Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'resources/libraries/robot/ipv4.robot')
-rw-r--r--resources/libraries/robot/ipv4.robot5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/libraries/robot/ipv4.robot b/resources/libraries/robot/ipv4.robot
index 6fb2b753ba..d279892ec3 100644
--- a/resources/libraries/robot/ipv4.robot
+++ b/resources/libraries/robot/ipv4.robot
@@ -88,11 +88,12 @@
| | ${src_mac}= | Get Interface Mac | ${src_node} | ${src_port}
| | ${dst_mac}= | Get Interface Mac | ${dst_node} | ${dst_port}
| | ${src_port_name}= | Get interface name | ${src_node} | ${src_port}
-| | ${args}= | Traffic Script Gen Arg | ${src_port_name} | ${src_port_name} | ${src_mac}
-| | | ... | ${dst_mac} | ${src_ip} | ${dst_ip}
+| | ${args}= | Traffic Script Gen Arg | ${src_port_name} | ${src_port_name}
+| | | ... | ${src_mac} | ${dst_mac} | ${src_ip} | ${dst_ip}
| | ${args}= | Set Variable
| | ... | ${args} --start_size ${start_size} --end_size ${end_size} --step ${step}
| | Run Traffic Script On Node | ipv4_sweep_ping.py | ${src_node} | ${args}
+| | ... | timeout=${180}
| Send ARP request and validate response
| | [Arguments] | ${tg_node} | ${vpp_node}