aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2017-02-28 13:42:41 -0500
committerChristian Trautman <ctrautma@redhat.com>2017-02-28 13:42:41 -0500
commit8552d7f47c5843a422ba5b0530f0e56b9f8359ad (patch)
tree15dbec51cbcf6a10f141cfd828b2b775504caaf8 /tools
parente47c461e0f93d5517045aa36f56e52624a82fbd8 (diff)
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 <ctrautma@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pkt_gen/xena/xena.py8
1 files 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'])