aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2016-02-22 13:22:23 +0100
committerGerrit Code Review <gerrit@fd.io>2016-02-23 14:12:38 +0000
commitc8d76a16533edac586a98d2842932804709fea30 (patch)
tree99f2f702bc74f0b7b4e6453580f1c7cc5c507c09 /resources/libraries
parentae7411c745d47a70bb36c3d5cb6b2907f5697e57 (diff)
Remove Interface.close, rename script argument
Change-Id: I5da20a12f801264821890e6516899344456576a8 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/python/PacketVerifier.py4
-rw-r--r--resources/libraries/robot/ipv4.robot2
2 files changed, 1 insertions, 5 deletions
diff --git a/resources/libraries/python/PacketVerifier.py b/resources/libraries/python/PacketVerifier.py
index 19d6aaf53f..9af14e3dce 100644
--- a/resources/libraries/python/PacketVerifier.py
+++ b/resources/libraries/python/PacketVerifier.py
@@ -291,10 +291,6 @@ class Interface(object):
def recv_pkt(self, timeout=3):
return self.rxq.recv(timeout, self.sent_packets)
- def close(self):
- #self.rxq._proc.terminate()
- pass
-
def create_gratuitous_arp_request(src_mac, src_ip):
"""Creates scapy representation of gratuitous ARP request"""
diff --git a/resources/libraries/robot/ipv4.robot b/resources/libraries/robot/ipv4.robot
index 4ed0181d52..d122932c89 100644
--- a/resources/libraries/robot/ipv4.robot
+++ b/resources/libraries/robot/ipv4.robot
@@ -68,7 +68,7 @@
| | ${args}= | Traffic Script Gen Arg | ${to_port} | ${from_port} | ${src_mac}
| | | ... | ${dst_mac} | ${src_ip} | ${dst_ip}
| | ${args}= | Catenate | ${args} | --hops ${hops} | --first_hop_mac ${adj_int['mac_address']}
-| | | ... | --is_dst_defined ${is_dst_tg}
+| | | ... | --is_dst_tg ${is_dst_tg}
| | Run Traffic Script On Node | ipv4_ping_ttl_check.py | ${from_node} | ${args}
| Ipv4 icmp echo sweep