diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2024-11-05 18:22:30 +0100 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2024-11-08 11:42:55 +0100 |
commit | 69fd079507e6a4500c2117b7dad31fa81b7e1299 (patch) | |
tree | a55826ede16537d8087c122ec38b00028aa18479 /robot/resources/stack_validation/packet_generator_interface.robot | |
parent | b3cf372e63b153b19ec685782300ec2bd07875ac (diff) |
Update SDNC APIs
Issue-ID: OOM-3301
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I515e503abef90f3aaa3733d7518d6e738173100e
Diffstat (limited to 'robot/resources/stack_validation/packet_generator_interface.robot')
-rw-r--r-- | robot/resources/stack_validation/packet_generator_interface.robot | 15 |
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} |