aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/stack_validation/packet_generator_interface.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/stack_validation/packet_generator_interface.robot')
-rw-r--r--robot/resources/stack_validation/packet_generator_interface.robot15
1 files changed, 8 insertions, 7 deletions
diff --git a/robot/resources/stack_validation/packet_generator_interface.robot b/robot/resources/stack_validation/packet_generator_interface.robot
index 802c8df7..4baf5811 100644
--- a/robot/resources/stack_validation/packet_generator_interface.robot
+++ b/robot/resources/stack_validation/packet_generator_interface.robot
@@ -50,13 +50,14 @@ Enable Streams
${comma}= Set Variable
${stream_count}= Evaluate ${stream_count}+1
Templating.Create Environment pgi ${GLOBAL_TEMPLATE_FOLDER}
- :FOR ${i} IN RANGE 1 ${stream_count}
- \ ${name}= Catenate ${prefix}${i}
- \ ${map}= Create Dictionary stream=${name}
- \ ${one}= Templating.Apply Template pgi ${PGN_ENABLE_STREAM_TEMPLATE} ${map}
- \ ${one}= evaluate json.dumps(${one}) json
- \ ${streams}= Set Variable ${streams}${comma}${one}
- \ ${comma}= Set Variable ,
+ FOR ${i} IN RANGE 1 ${stream_count}
+ ${name}= Catenate ${prefix}${i}
+ ${map}= Create Dictionary stream=${name}
+ ${one}= Templating.Apply Template pgi ${PGN_ENABLE_STREAM_TEMPLATE} ${map}
+ ${one}= evaluate json.dumps(${one}) json
+ ${streams}= Set Variable ${streams}${comma}${one}
+ ${comma}= Set Variable ,
+ END
${map}= Create Dictionary pgstreams=${streams}
${data}= Templating.Apply Template pgi ${PGN_ENABLE_STREAMS_TEMPLATE} ${map}
${resp}= Put Request ${alias} ${data_path} data=${data} headers=${headers}