aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen/xena/xena.py
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2016-05-04 13:58:03 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-04 13:58:03 +0000
commit6c888fd41de8889891c163d4757099aec84b34d8 (patch)
treed780aa2cbfab7a03c4532a6861610d21826c1ae5 /tools/pkt_gen/xena/xena.py
parenta4587f0127ccc93daba3696c5a1ec4f169f9d394 (diff)
parent47875a6f01fa9dc1738d4c4a29ad75e12e251077 (diff)
Merge "bidirectional value: Fix inconsistency for bidir param"
Diffstat (limited to 'tools/pkt_gen/xena/xena.py')
-rwxr-xr-xtools/pkt_gen/xena/xena.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pkt_gen/xena/xena.py b/tools/pkt_gen/xena/xena.py
index 67ac5652..d29fc362 100755
--- a/tools/pkt_gen/xena/xena.py
+++ b/tools/pkt_gen/xena/xena.py
@@ -182,7 +182,7 @@ class Xena(ITrafficGenerator):
flows=self._params['traffic']['multistream'],
multistream_layer=self._params['traffic']['stream_type'])
# set duplex mode
- if bool(self._params['traffic']['bidir']):
+ if self._params['traffic']['bidir'] == "True":
j_file.set_topology_mesh()
else:
j_file.set_topology_blocks()