summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2016-05-12 09:04:56 -0400
committerChristian Trautman <ctrautma@redhat.com>2016-05-12 09:04:56 -0400
commit4cfa39b5af7ae16324654ae3f04f4a7c2f10de33 (patch)
treecbe4835f1f40a112ac5874ea69096e956aca7f64
parent30d75a0778d825fa13eecea7d352eedfe35bd4ed (diff)
xena_multistream_fix: Fix multistream json config
Fix xena_json module to correctly assign hwmodifier for multistream. Append was incorrect application and list needs to be assigned directly. JIRA: VSPERF-293 Change-Id: I88d1930b88711af7c920b507a4db6c29cca83d8d Signed-off-by: Christian Trautman <ctrautma@redhat.com>
-rw-r--r--tools/pkt_gen/xena/xena_json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pkt_gen/xena/xena_json.py b/tools/pkt_gen/xena/xena_json.py
index 971426cf..23b56084 100644
--- a/tools/pkt_gen/xena/xena_json.py
+++ b/tools/pkt_gen/xena/xena_json.py
@@ -95,7 +95,7 @@ class XenaJSON(object):
]
self.json_data['StreamProfileHandler']['EntityList'][entity][
- 'StreamConfig']['HwModifiers'].append(segments)
+ 'StreamConfig']['HwModifiers'] = (segments)
def _create_packet_header(self):
"""