From 8552d7f47c5843a422ba5b0530f0e56b9f8359ad Mon Sep 17 00:00:00 2001 From: Christian Trautman Date: Tue, 28 Feb 2017 13:42:41 -0500 Subject: Xena_pylint_fix: Fix param call to changes made by pylint patch Missed this small issue when calling continuous streams caused by the param name change from the pylint patch in XenaDriver.py ca9c9275ed6d5d852987c69a378e88a3502cb2ab. Change-Id: Ic8ad86358f72e91edea34cb37207d7dc583128b4 Signed-off-by: Christian Trautman --- tools/pkt_gen/xena/xena.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/pkt_gen/xena/xena.py b/tools/pkt_gen/xena/xena.py index e251c1d6..c6b26f88 100755 --- a/tools/pkt_gen/xena/xena.py +++ b/tools/pkt_gen/xena/xena.py @@ -430,10 +430,10 @@ class Xena(ITrafficGenerator): (self._params['traffic']['frame_rate'] / 100)) stream.set_packet_limit(packets) - port.set_port_arp_reply(on=True) - port.set_port_arp_reply(on=True, v6=True) - port.set_port_ping_reply(on=True) - port.set_port_ping_reply(on=True, v6=True) + port.set_port_arp_reply(is_on=True) + port.set_port_arp_reply(is_on=True, ipv6=True) + port.set_port_ping_reply(is_on=True) + port.set_port_ping_reply(is_on=True, ipv6=True) stream.set_rate_fraction( 10000 * self._params['traffic']['frame_rate']) -- cgit 1.2.3-korg