diff options
author | DR695H <dr695h@att.com> | 2019-05-24 15:05:03 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-07-22 18:00:55 -0400 |
commit | 102f3207fbec080e81d4abaa9c7277cbf5d52a37 (patch) | |
tree | 54d33855afdfc35271a78d7c4ae0913b111d9806 /robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot | |
parent | c1103fba68e3461b136b044daec3339d0e6575f7 (diff) |
move the main so interface to use onaplibrary
left some cloud config and direct instantiate seperate
Change-Id: I4c508d5403c660f83b14b98585111b9219bae6b7
Issue-ID: TEST-158
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot')
-rw-r--r-- | robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot index 537dc5f1..f203b167 100644 --- a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot +++ b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot @@ -18,7 +18,6 @@ Resource ../openstack/neutron_interface.robot Resource ../heatbridge.robot Resource ../global_properties.robot -Resource ../so_interface.robot Library ONAPLibrary.Openstack Library ONAPLibrary.Utilities @@ -29,6 +28,7 @@ Library ONAPLibrary.JSON Library RequestsLibrary Library Collections +Library ONAPLibrary.SO WITH NAME SO *** Variables *** ${service_template} robot/assets/cds/service-Vfirewall0911-template.yml @@ -85,7 +85,8 @@ Orchestrate VNF With CDS Log --------request-------- Log ${request} Log --------end request-------- - ${resp}= Run MSO Post Request ${so_uri_path} ${request} + ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD} + ${resp}= SO.Run Post Request ${GLOBAL_SO_ENDPOINT} ${so_uri_path} ${data} auth=${auth} Log --------response------- ${json_string}= Evaluate json.dumps(${resp.json()}) json Log ${json_string} @@ -93,8 +94,8 @@ Orchestrate VNF With CDS ${requestId}= Catenate ${resp.json()['requestReferences']['requestId']} Log requestId=${requestId} Log -------end response------- - # Poll MSO Get Request ${GLOBAL_MSO_STATUS_PATH}${request_id} COMPLETE - + # ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD} + # Run Polling Get Request ${MSO_ENDPOINT} ${GLOBAL_MSO_STATUS_PATH}${request_id} auth=${auth} Get VNF Info [Documentation] Get VNF Info |