From 4cfa39b5af7ae16324654ae3f04f4a7c2f10de33 Mon Sep 17 00:00:00 2001 From: Christian Trautman Date: Thu, 12 May 2016 09:04:56 -0400 Subject: 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 --- tools/pkt_gen/xena/xena_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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): """ -- cgit 1.2.3-korg