From fff19c8c2faced0972601ca9956bb36a33aa6e87 Mon Sep 17 00:00:00 2001 From: imarom Date: Wed, 21 Dec 2016 14:25:16 +0200 Subject: watchdog disable for time capability Signed-off-by: imarom --- .../trex_control_plane/stl/trex_stl_lib/trex_stl_port.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib') diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py index 37472cdb..3fe4c198 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py @@ -761,17 +761,11 @@ class Port(object): # invalidates the current ARP def invalidate_arp (self): - dest = self.__attr['dest'] - if not self.is_l3_mode(): return self.err('port is not configured with L3') - self.set_l3_mode(self.get_src_addr()['ipv4'], self.get_dst_addr()['ipv4']) + return self.set_l3_mode(self.get_src_addr()['ipv4'], self.get_dst_addr()['ipv4']) - if dest['type'] != 'mac': - return self.set_attr(dest = dest['ipv4']) - else: - return self.ok() def print_profile (self, mult, duration): -- cgit