diff options
author | Brian Freeman <bf1936@att.com> | 2019-05-30 22:21:55 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-05-31 09:05:03 -0500 |
commit | 4909b5612142c4ad074cd5b03c515bce619a583d (patch) | |
tree | 3d83be33e9332b453553b219aa3c1dd69895b5fc /robot/resources/test_templates | |
parent | 11fcc166673f41b0b41b17a32a2698efd1d33c17 (diff) |
Update vfwclosedloop for new vFW
Issue-ID: INT-838
Change-Id: I28cdf88599c6f4bae09a13cc3ad3ddca52f119dd
Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/test_templates')
-rw-r--r-- | robot/resources/test_templates/closedloop_test_template.robot | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/robot/resources/test_templates/closedloop_test_template.robot b/robot/resources/test_templates/closedloop_test_template.robot index 5853abf5..21d5e84a 100644 --- a/robot/resources/test_templates/closedloop_test_template.robot +++ b/robot/resources/test_templates/closedloop_test_template.robot @@ -200,12 +200,12 @@ Orchestrate VNF vFW closedloop VFWCL High Test [Documentation] Test Control Loop for High Traffic [Arguments] ${pkg_host} - Enable Streams ${pkg_host} 10 + Enable Streams V2 ${pkg_host} 10 Log To Console Set number of streams to 10 :FOR ${i} IN RANGE 12 \ Sleep 15s - \ ${resp}= Get List Of Enabled Streams ${pkg_host} - \ ${stream_count}= Evaluate len(${resp['sample-plugin']['pg-streams']['pg-stream']}) + \ ${resp}= Get List Of Enabled Streams V2 ${pkg_host} + \ ${stream_count}= Set Variable ${resp['stream-count']['streams']['active-streams']} \ Log To Console Number of streams: ${stream_count} \ Exit For Loop If '${stream_count}'=='5' Should Be Equal As Integers ${stream_count} 5 @@ -213,13 +213,12 @@ VFWCL High Test VFWCL Low Test [Documentation] Test Control Loop for Low Traffic [Arguments] ${pkg_host} - Enable Streams ${pkg_host} 1 + Enable Streams V2 ${pkg_host} 1 Log To Console Set number of streams to 1 - Get List Of Enabled Streams ${pkg_host} :FOR ${i} IN RANGE 12 \ Sleep 15s - \ ${resp}= Get List Of Enabled Streams ${pkg_host} - \ ${stream_count}= Evaluate len(${resp['sample-plugin']['pg-streams']['pg-stream']}) + \ ${resp}= Get List Of Enabled Streams V2 ${pkg_host} + \ ${stream_count}= Set Variable ${resp['stream-count']['streams']['active-streams']} \ Log To Console Number of streams: ${stream_count} \ Exit For Loop If '${stream_count}'=='5' Should Be Equal As Integers ${stream_count} 5 |