Loading interconnectedTestCases/SOL003/IC_TC_Keywords.robot +27 −0 Original line number Diff line number Diff line Loading @@ -301,6 +301,33 @@ VNF Instance Scale In Check Operation Notification For Scale COMPLETED Check Postcondition VNF SCALE_IN VNF Instance Heal Send Heal VNF Request Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check Operation Occurrence Id existence Check Operation Notification For Heal STARTING Check Operation Notification For Heal PROCESSING Check Operation Notification For Heal COMPLETED Check Postcondition VNF Heal Send Heal VNF Request Log Trying to heal a VNF instance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${body}= Get File jsons/healVnfRequest.json Post ${NFVO}/${NFVO_API_ROOT}/${NFVO_API_NAME}/${NFVO_API_MAJOR_VERSION}/vnf_instances/${vnfid}/heal ${body} ${output}= Output response Set Global Variable ${response} ${output} Check Operation Notification For Heal [Arguments] ${status} Check Operation Notification VnfLcmOperationOccurrenceNotification ${status} Check Postcondition VNF Heal Check resource Instantiated GET Individual VNF Package [keyword] Log Trying to get a VNF Package present in the NFVO Catalogue Set Headers {"Accept": "${ACCEPT_JSON}"} Loading interconnectedTestCases/SOL003/VNFInstanceHeal.robot 0 → 100644 +21 −0 Original line number Diff line number Diff line *** Settings *** Suite Setup Initialize System Suite Teardown Terminate All Processes kill=true Resource environment/variables.txt # Generic Parameters Resource IC_TC_Keywords.robot Library JSONLibrary *** Test Cases *** Heal a VNF instance [Documentation] Test ID: 11.3.1.11.1 ... Test title: Heal a VNF instance ... Test objective: The objective is to test the interconnected case of VNF instance resource creation, instantiation and heal ... Pre-conditions: none ... Reference: ETSI GS NFV-SOL 003 [1] v5.1.1 ... Config ID: Config_prod_NFVO, Config_prod_VNFM ... Applicability: none ... Post-Conditions: none GET Individual VNF Package POST Create a new vnfInstance VNF Instantiation VNF Instance Heal Loading
interconnectedTestCases/SOL003/IC_TC_Keywords.robot +27 −0 Original line number Diff line number Diff line Loading @@ -301,6 +301,33 @@ VNF Instance Scale In Check Operation Notification For Scale COMPLETED Check Postcondition VNF SCALE_IN VNF Instance Heal Send Heal VNF Request Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check Operation Occurrence Id existence Check Operation Notification For Heal STARTING Check Operation Notification For Heal PROCESSING Check Operation Notification For Heal COMPLETED Check Postcondition VNF Heal Send Heal VNF Request Log Trying to heal a VNF instance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${body}= Get File jsons/healVnfRequest.json Post ${NFVO}/${NFVO_API_ROOT}/${NFVO_API_NAME}/${NFVO_API_MAJOR_VERSION}/vnf_instances/${vnfid}/heal ${body} ${output}= Output response Set Global Variable ${response} ${output} Check Operation Notification For Heal [Arguments] ${status} Check Operation Notification VnfLcmOperationOccurrenceNotification ${status} Check Postcondition VNF Heal Check resource Instantiated GET Individual VNF Package [keyword] Log Trying to get a VNF Package present in the NFVO Catalogue Set Headers {"Accept": "${ACCEPT_JSON}"} Loading
interconnectedTestCases/SOL003/VNFInstanceHeal.robot 0 → 100644 +21 −0 Original line number Diff line number Diff line *** Settings *** Suite Setup Initialize System Suite Teardown Terminate All Processes kill=true Resource environment/variables.txt # Generic Parameters Resource IC_TC_Keywords.robot Library JSONLibrary *** Test Cases *** Heal a VNF instance [Documentation] Test ID: 11.3.1.11.1 ... Test title: Heal a VNF instance ... Test objective: The objective is to test the interconnected case of VNF instance resource creation, instantiation and heal ... Pre-conditions: none ... Reference: ETSI GS NFV-SOL 003 [1] v5.1.1 ... Config ID: Config_prod_NFVO, Config_prod_VNFM ... Applicability: none ... Post-Conditions: none GET Individual VNF Package POST Create a new vnfInstance VNF Instantiation VNF Instance Heal