@@ -18,7 +19,7 @@ Requests a grant for a particular VNF lifecycle operation - Synchronous mode
...Test title: Requests a grant for a particular VNF lifecycle operation - Synchronous mode
...Test objective: The objective is to request a grant for a particular VNF lifecycle operation and perform a JSON schema validation on the returned grant data structure
...Pre-conditions:
...Reference: Clause 9.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.4.1
...Reference: Clause 9.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO can decide immediately what to respond to a grant request
...Post-Conditions: The grant information is available to the VNFM.
@@ -27,13 +28,12 @@ Requests a grant for a particular VNF lifecycle operation - Synchronous mode
Check Operation Occurrence Id existence
Check HTTP Response Body Json Schema Isgrant
Requests a grant for a particular VNF lifecycle operation - Asynchronous mode
[Documentation]Test ID: 7.3.2.1.2
...Test title: Requests a grant for a particular VNF lifecycle operation - Asynchronous mode
...Test objective: The objective is to request a grant for a particular VNF lifecycle operation and perform a JSON schema validation on the returned grant data structure
...Pre-conditions:
...Reference: Clause 9.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.4.1
...Reference: Clause 9.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO can not decide immediately what to respond to a grant request
...Post-Conditions: The grant information is available to the VNFM.
@@ -48,7 +48,7 @@ Requests a grant for a particular VNF lifecycle operation - Forbidden
...Test title: Requests a grant for a particular VNF lifecycle operation - Forbidden
...Test objective: The objective is to request a grant for a particular VNF lifecycle operation and the grant is rejected
...Pre-conditions: none
...Reference: Clause 9.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.4.1
...Reference: Clause 9.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
@@ -61,7 +61,7 @@ GET Grants - Method not implemented
...Test title: GET Grants - Method not implemented
...Test objective: The objective is to test that GET method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: Clause 9.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.4.1
...Reference: Clause 9.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions:none
@@ -73,7 +73,7 @@ PUT Grants - Method not implemented
...Test title: PUT Grants - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: Clause 9.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.4.1
...Reference: Clause 9.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
@@ -85,7 +85,7 @@ PATCH Grants - Method not implemented
...Test title: PATCH Grants - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: Clause 9.4.2.3.4 - ETSI GS NFV-SOL 003 [1] v2.4.1
...Reference: Clause 9.4.2.3.4 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
@@ -97,7 +97,7 @@ DELETE Grants - Method not implemented
...Test title: DELETE Grants - Method not implemented
...Test objective: The objective is to test that DELETE method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: Clause 9.4.2.3.5 - ETSI GS NFV-SOL 003 [1] v2.4.1
...Reference: Clause 9.4.2.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions:resources are not deleted
@@ -109,35 +109,38 @@ DELETE Grants - Method not implemented
Wait for individual grant successful notification
Wait Until Keyword Succeeds${retry}${polling}Get an individual grant - Successful
Send Request Grant Request in Synchronous mode
LogRequest a new Grant for a VNF LCM operation by POST to ${apiRoot}/${apiName}/${apiVersion}/grants
LogRequest a new Grant for a VNF LCM operation by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/grants
Pass Execution If${SYNC_MODE}== 0The Granting process is asynchronous mode. Skipping the test
Set Headers{"Accept": "${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}