diff options
author | krzysztof kuzmicki <krzysztof.kuzmicki@nokia.com> | 2019-07-31 20:08:36 +0200 |
---|---|---|
committer | Daniel Rose <dr695h@att.com> | 2019-08-02 19:23:00 +0000 |
commit | dadd0e69a24c6a43534086cb04672dc6d4ddc18b (patch) | |
tree | 83ba7fac3fe3367da96642ab5289a01d2eaa0097 /robot/resources/test_templates/pnf_orchestration_test_template.robot | |
parent | e971ed9437e004b415b4321edc75883d69eca3e5 (diff) |
ROBOT test cases improvements for PnP PNF in El Alto release
Issue-ID: INT-1179
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I7b840e4fa53c9058d74872cbaf3e1922651b7997
Diffstat (limited to 'robot/resources/test_templates/pnf_orchestration_test_template.robot')
-rw-r--r-- | robot/resources/test_templates/pnf_orchestration_test_template.robot | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/robot/resources/test_templates/pnf_orchestration_test_template.robot b/robot/resources/test_templates/pnf_orchestration_test_template.robot new file mode 100644 index 00000000..0e7d9025 --- /dev/null +++ b/robot/resources/test_templates/pnf_orchestration_test_template.robot @@ -0,0 +1,32 @@ +*** Settings *** +Documentation This test template encapsulates the VNF Orchestration use case. + +Resource ../vid/create_service_instance.robot +Resource ../vid/vid_interface.robot +Resource ../aai/service_instance.robot +Resource model_test_template.robot +Resource ../openstack/neutron_interface.robot + + +Library ONAPLibrary.Openstack +Library SeleniumLibrary +Library Collections +Library ONAPLibrary.Utilities + +*** Keywords *** + +Orchestrate PNF + [Documentation] Use ONPA to Orchestrate a PNF Macro service. + [Arguments] ${customer_name} ${service} ${product_family} ${pnf_correlation_id} ${tenant_id} ${tenant_name} ${service_model_type} ${project_name}=Project-Demonstration ${owning_entity}=OE-Demonstration + ${lcp_region}= Get Openstack Region + ${uuid}= Generate UUID4 + ${full_customer_name}= Catenate ${customer_name}_${uuid} + ${list}= Create List + ${service_name}= Catenate Service_Ete_Name${uuid} + ${service_type}= Set Variable ${service} + Create Customer For VNF ${full_customer_name} ${full_customer_name} INFRA ${service_type} ${GLOBAL_AAI_CLOUD_OWNER} ${tenant_id} + Setup Browser + Login To VID GUI + ${service_instance_id} ${request_id}= Wait Until Keyword Succeeds 300s 5s Create VID PNF Service Instance ${full_customer_name} ${service_model_type} ${service} ${service_name} ${project_name} ${owning_entity} ${product_family} ${lcp_region} ${tenant_name} ${pnf_correlation_id} + Validate Service Instance ${service_instance_id} ${service} ${full_customer_name} + [Return] ${service} ${request_id} ${full_customer_name} |