*** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false Library OperatingSystem Library DependencyLibrary Library JSONLibrary Library JSONSchemaLibrary schemas/ *** Test Cases *** POST Continue operation task [Documentation] Test ID: 5.3.2.12.1 ... Test title: POST Continue operation task ... Test objective: The objective is to test that POST method trigger a continue on the LCM operation ... Pre-conditions: NS instance status equal to FAILED_TEMP ... Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v2.8.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: NS instance status not equal to FAILED_TEMP POST Continue operation task Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check Individual NS LCM operation occurrence operationState is PROCESSING Check operation resource state is not FAILED_TEMP POST Continue operation task Not Found [Documentation] Test ID: 5.3.2.12.2 ... Test title: POST Continue operation task Not Found ... Test objective: The objective is to test that POST method cannot perform a continue operation task because the resource is not found ... Pre-conditions: none ... Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v2.8.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none POST Continue operation task Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails POST Continue operation task Conflict [Documentation] Test ID: 5.3.2.12.3 ... Test title: POST Continue operation task Conflict ... Test objective: The objective is to test that POST method fail in case of operation status conflict (i.e. NS instance status not equal to FAILED_TEMP ) ... Pre-conditions: NS instance status not equal to FAILED_TEMP ... Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v2.8.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none POST Continue operation task Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails GET Continue operation task - Method not implemented [Documentation] Test ID: 5.3.2.12.4 ... Test title: GET Continue operation task - Method not implemented ... Test objective: The objective is to test that GET method is not implemented ... Pre-conditions: none ... Reference: Clause 6.4.13.3.2 - ETSI GS NFV-SOL 005 [3] v2.8.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none GET Continue operation task Check HTTP Response Status Code Is 405 PUT Continue operation task - Method not implemented [Documentation] Test ID: 5.3.2.12.5 ... Test title: PUT Continue operation task - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none ... Reference: Clause 6.4.13.3.3 - ETSI GS NFV-SOL 005 [3] v2.8.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none PUT Continue operation task Check HTTP Response Status Code Is 405 PATCH Continue operation task - Method not implemented [Documentation] Test ID: 5.3.2.12.6 ... Test title: PATCH Continue operation task - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none ... Reference: Clause 6.4.14.3.4 - ETSI GS NFV-SOL 005 [3] v2.8.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none PATCH Continue operation task Check HTTP Response Status Code Is 405 DELETE Continue operation task - Method not implemented [Documentation] Test ID: 5.3.2.12.7 ... Test title: DELETE Continue operation task - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none ... Reference: Clause 6.4.14.3.5 - ETSI GS NFV-SOL 005 [3] v2.8.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none DELETE Continue operation task Check HTTP Response Status Code Is 405