...Test objective: The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed or rolled back, i.e. the "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state.
...Pre-conditions: the "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state.
...Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: the resource is in FAILED_TEMP state
@@ -27,7 +27,7 @@ Post Cancel operation task Conflict
...Test title: POST Cancel operation task Conflict
...Test objective: The POST method is NOT cancelling an ongoing VNF lifecycle operation due to the fact that the VNF instance resource is not in STARTING, PROCESSING or ROLLING_BACK state
...Pre-conditions: operation is not in STARTING, PROCESSING or ROLLING_BACK state
...Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -41,7 +41,7 @@ Post Cancel operation task Not Found
...Test title: POST Cancel operation task
...Test objective: The objective is to test that POST method cannot cancel a VNF lifecycle operation because the resource is not found
...Pre-conditions:
...Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -54,7 +54,7 @@ GET Cancel operation task - Method not implemented
...Test title: GET Cancel operation task - Method not implemented
...Test objective: The objective is to test that GET method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.17.3.2 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.17.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -66,7 +66,7 @@ PUT Cancel operation task - Method not implemented
...Test title: PUT Cancel operation task - Method not implemented
...Test objective: The objective is to test that PUT method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.17.3.3 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.17.3.3 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Test title: DELETE Cancel operation task - Method not implemented
...Test objective: The objective is to test that DELETE method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.17.3.5 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.17.3.5 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
DELETE Cancel operation task
Check HTTP Response Status Code Is405
Post Cancel operation task with permitted authorization scope
[Documentation]Test ID: 6.3.5.16.8
...Test title: POST Cancel operation task with permitted authorization scope
...Test objective: The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed or rolled back, i.e. the "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state with permitted authorization scope
...Pre-conditions: the "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state.
...Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: the resource is in FAILED_TEMP state
POST Cancel operation task with permitted authorization scope
Check HTTP Response Status Code Is202
Check operation resource state is FAILED_TEMP
Post Cancel operation task with not permitted authorization scope
[Documentation]Test ID: 6.3.5.16.9
...Test title: POST Cancel operation task with not permitted authorization scope
...Test objective: The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed or rolled back, i.e. the "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state with not permitted authorization scope
...Pre-conditions: the "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state.
...Reference: Clause 5.4.17.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: the resource is in FAILED_TEMP state
POST Cancel operation task with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Check resource existence
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Version": "${API_VERSION}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
@@ -13,7 +13,7 @@ POST Change current VNF Package Task
...Test title: POST Change current VNF Package Task
...Test objective: The objective is to test that the POST method changes the current VNF package on which the VNF instance is based.
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.1 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.11a.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: in response header Location shall not be null
@@ -26,7 +26,7 @@ POST Change current VNF Package Task - Conflict
...Test title: POST Change current VNF Package Task - Conflict
...Test objective: The objective is to test that the POST method cannot change the current VNF package task when another lifecycle management operation is ongoing.
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.1 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.11a.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: There is another lifecycle management operation ongoing.
...Post-Conditions: none
@@ -39,7 +39,7 @@ GET Change current VNF Package Task - Method not implemented
...Test title: GET Change current VNF Package Task - Method not implemented
...Test objective: The objective is to test that GET method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.2 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.11a.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -51,7 +51,7 @@ PUT Change current VNF Package Task - Method not implemented
...Test title: PUT Change current VNF Package Task - Method not implemented
...Test objective: The objective is to test that PUT method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.3 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.11a.3.3 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -63,7 +63,7 @@ PATCH Change current VNF Package Task - Method not implemented
...Test title: PATCH Change current VNF Package Task - Method not implemented
...Test objective: The objective is to test that PATCH method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.4 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.11a.3.4 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -75,16 +75,41 @@ DELETE Change current VNF Package Task - Method not implemented
...Test title: DELETE Change current VNF Package Task - Method not implemented
...Test objective: The objective is to test that DELETE method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.5 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.11a.3.5 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
DELETE Change Current VNF Package Task
Check HTTP Response Status Code Is405
POST Change current VNF Package Task with permitted authorization scope
[Documentation]Test ID: 6.3.5.22.7
...Test title: POST Change current VNF Package Task with permitted authorization scope
...Test objective: The objective is to test that the POST method changes the current VNF package on which the VNF instance is based with permitted authorization scope.
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: in response header Location shall not be null
POST Change Current VNF Package Task with permitted authorization scope
Check HTTP Response Status Code Is202
Check Operation Occurrence Id
POST Change current VNF Package Task with not permitted authorization scope
[Documentation]Test ID: 6.3.5.22.8
...Test title: POST Change current VNF Package Task with not permitted authorization scope
...Test objective: The objective is to test that the POST method changes the current VNF package on which the VNF instance is based with not permitted authorization scope.
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: in response header Location shall not be null
POST Change Current VNF Package Task with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Check resource existence
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Version": "${API_VERSION}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
...Test objective: The objective is to test that DELETE method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11.3.5 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.11.3.5 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -74,17 +74,42 @@ POST Change external VNF connectivity Conflict
...Test title: POST Change external VNF connectivity Conflict
...Test objective: The objective is to test that the operation cannot be executed currently, due to a conflict with the state of the VNF instance resource or that a required child attribute of the "extensions" attribue has not been set.
...Pre-conditions: none
...Reference: Clause 5.4.11.3.1 - ETSI GS NFV-SOL 002 [2] v4.4.1
...Reference: Clause 5.4.11.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
POST Change External VNF Connectivity
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
POST Change external VNF connectivity with permitted authorization scope
[Documentation]Test ID: 6.3.5.10.7
...Test title: POST Change external VNF connectivity with permitted authorization value
...Test objective: The objective is to test that POST method triggers a change in VNF external connectivity with the permitted authorization value
...Pre-conditions: none
...Reference: Clause 5.4.11.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: in response header Location shall not be null
POST Change External VNF Connectivity with permitted authorization scope
Check HTTP Response Status Code Is202
Check Operation Occurrence Id
POST Change external VNF connectivity with not permitted authorization scope
[Documentation]Test ID: 6.3.5.10.8
...Test title: POST Change external VNF connectivity with not permitted authorization value
...Test objective: The objective is to test that POST method triggers a change in VNF external connectivity with not permitted authorization value
...Pre-conditions: none
...Reference: Clause 5.4.11.3.1 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: in response header Location shall not be null
POST Change External VNF Connectivity with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Check resource existence
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Version": "${API_VERSION}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}