From: Christian Trautman Date: Tue, 28 Feb 2017 18:42:41 +0000 (-0500) Subject: Xena_pylint_fix: Fix param call to changes made by pylint patch X-Git-Tag: danube.1.RC1~23 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=8552d7f47c5843a422ba5b0530f0e56b9f8359ad;p=vswitchperf.git 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 --- 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'])