Skip to content
Snippets Groups Projects
Commit 6e8bba52 authored by Hammad Zafar's avatar Hammad Zafar Committed by Giacomo Bernini
Browse files

additional resources added for VNFSnapshotPackageManagement-API

parent feb58bce
No related branches found
No related tags found
2 merge requests!199Merge "3.3.1 dev" into "release 3" master,!169SOL005 VNF Snapshot Package - Implementation of deltas between v3.3.1 and v2.7.1
Showing
with 742 additions and 3 deletions
*** Settings ***
Resource VnfSnapshotPackageManagementKeywords.robot
*** Test Cases ***
POST Access Configuration for External Artifacts - Method not implemented
[Documentation] Test ID: 5.3.6.9.1
... Test title: POST Access Configuration for External Artifacts - Method not implemented
... Test objective: The objective is to test that POST method is not implemented
... Pre-conditions: Individual VNF Snapshot Package resource have been created.
... Reference: Clause 11.4.9.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
POST Access Configuration for External Artifacts
Check HTTP Response Status Code Is 405
GET Access Configuration for External Artifacts
[Documentation] Test ID: 5.3.6.9.2
... Test title: GET Access Configuration for External Artifacts
... Test objective: The objective is to test that GET method reads the access configuration information that is used by the NFVO to get the content of external VNF snapshot package artifacts.
... Pre-conditions: Individual VNF Snapshot Package resource have been created.
... Reference: Clause 11.4.9.3.2 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Access Configuration for External Artifacts
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is VnfSnapshotPkgExtArtifactsAccessInfo
PUT Access Configuration for External Artifacts
[Documentation] Test ID: 5.3.6.9.3
... Test title: PUT Access Configuration for External Artifacts
... Test objective: The objective is to test that PUT method provides the access configuration information for the NFVO to download the content of external VNF package artifacts.
... Pre-conditions: Individual VNF Snapshot Package resource have been created.
... Reference: Clause 11.4.9.3.3 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PUT Access Configuration for External Artifacts
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is VnfSnapshotPkgExtArtifactsAccessInfo
PUT Access Configuration for External Artifacts - Conflict
[Documentation] Test ID: 5.3.6.9.4
... Test title: PUT Access Configuration for External Artifacts - Conflict
... Test objective: The objective is to test that PUT method cannot provide the access configuration information to the NFVO when the VNF Snapshot Package resource is not in CREATED or ERROR state.
... Pre-conditions: Individual VNF Snapshot Package resource have been created.
... Reference: Clause 11.4.9.3.3 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: The "state" attribute of the "Individual VNF snapshot package" resources contains a value different from "CREATED" or "ERROR".
... Post-Conditions: none
PUT Access Configuration for External Artifacts - Conflict
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
PATCH Access Configuration for External Artifacts - Method Not implemented
[Documentation] Test ID: 5.3.6.9.5
... Test title: PATCH Access Configuration for External Artifacts - Method Not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.8.3.4 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Access Configuration for External Artifacts
Check HTTP Response Status Code Is 405
DELETE Access Configuration for External Artifacts - Method Not implemented
[Documentation] Test ID: 5.3.6.9.6
... Test title: DELETE Access Configuration for External Artifacts - Method Not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.8.3.5 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Access Configuration for External Artifacts
Check HTTP Response Status Code Is 405
\ No newline at end of file
*** Settings ***
Resource VnfSnapshotPackageManagementKeywords.robot
*** Test Cases ***
POST Build VNF Snapshot Package Content Task
[Documentation] Test ID: 5.3.6.6.1
... Test title: POST Build VNF Snapshot Package Content Task
... Test objective: The objective is to test that POST method provides the information for the NFVO to start building the content of a VNF snapshot package.
... Pre-conditions: none
... Reference: Clause 11.4.6.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
POST Build VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 202
POST Build VNF Snapshot Package Content Task - Conflict
[Documentation] Test ID: 5.3.6.6.2
... Test title: POST Build VNF Snapshot Package Content Task - Conflict
... Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate building of VNF Snapshot Package and the state of the VNF snapshot package resource is other than "CREATED".
... Pre-conditions: none
... Reference: Clause 11.4.6.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: The state of the VNF snapshot package resource is other than "CREATED".
... Post-Conditions: none
POST Build VNF Snapshot Package Content Task - Conflict
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
GET Build VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.6.3
... Test title: GET Build VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.6.3.2 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Build VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
PUT Build VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.6.4
... Test title: PUT Build VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.6.3.3 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Build VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
PATCH Build VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.6.5
... Test title: PATCH Build VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.6.3.4 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Build VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
DELETE Build VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.6.6
... Test title: DELETE Build VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.6.3.5 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Build VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
\ No newline at end of file
*** Settings ***
Resource VnfSnapshotPackageManagementKeywords.robot
*** Test Cases ***
POST Cancel VNF Snapshot Package Content Task
[Documentation] Test ID: 5.3.6.8.1
... Test title: POST Cancel VNF Snapshot Package Content Task
... Test objective: The objective is to test that POST method provides the information for the NFVO to cancel the ongoing operation related to the content of a VNF snapshot package.
... Pre-conditions: none
... Reference: Clause 11.4.8.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
POST Cancel VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 202
POST Cancel VNF Snapshot Package Content Task - Conflict
[Documentation] Test ID: 5.3.6.8.2
... Test title: POST Cancel VNF Snapshot Package Content Task - Conflict
... Test objective: The objective is to test that a correct error code is returned when the POST method tries to cancel a VNF Snapshot Package task and the state of the VNF snapshot package resource is other than "UPLOADING", "BUILDING", "PROCESSING" or "EXTRACTING".
... Pre-conditions: none
... Reference: Clause 11.4.8.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: The state of the VNF snapshot package resource is other than "UPLOADING", "BUILDING", "PROCESSING" or "EXTRACTING".
... Post-Conditions: none
POST Cancel VNF Snapshot Package Content Task - Conflict
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
GET Cancel VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.8.3
... Test title: GET Cancel VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.8.3.2 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Cancel VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
PUT Cancel VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.8.4
... Test title: PUT Cancel VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.8.3.3 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Cancel VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
PATCH Cancel VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.8.5
... Test title: PATCH Cancel VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.8.3.4 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Cancel VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
DELETE Cancel VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.8.6
... Test title: DELETE Cancel VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.8.3.5 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Cancel VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
\ No newline at end of file
*** Settings ***
Resource VnfSnapshotPackageManagementKeywords.robot
*** Test Cases ***
POST Extract VNF Snapshot Package Content Task
[Documentation] Test ID: 5.3.6.7.1
... Test title: POST Extract VNF Snapshot Package Content Task
... Test objective: The objective is to test that POST method provides the information for the NFVO to start extracting the content of a VNF snapshot package.
... Pre-conditions: none
... Reference: Clause 11.4.7.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
POST Extract VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 202
POST Extract VNF Snapshot Package Content Task - Conflict State
[Documentation] Test ID: 5.3.6.7.2
... Test title: POST Extract VNF Snapshot Package Content Task - Conflict
... Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate extraction of VNF Snapshot Package and the state of the VNF snapshot package resource is other than "AVAILABLE".
... Pre-conditions: none
... Reference: Clause 11.4.7.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: The state of the VNF snapshot package resource is other than "AVAILABLE".
... Post-Conditions: none
POST Extract VNF Snapshot Package Content Task - Conflict State
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
POST Extract VNF Snapshot Package Content Task - Invalid VnfInstanceId
[Documentation] Test ID: 5.3.6.7.3
... Test title: POST Extract VNF Snapshot Package Content Task - Conflict
... Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate extraction of VNF Snapshot Package using an invalid VnfInstanceId in the request body.
... Pre-conditions: none
... Reference: Clause 11.4.7.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: The state of the VNF snapshot package resource is other than "CREATED".
... Post-Conditions: none
POST Extract VNF Snapshot Package Content Task - Invalid vnfInstanceId
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
GET Extract VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.7.4
... Test title: GET Extract VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.7.3.2 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Extract VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
PUT Extract VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.7.5
... Test title: PUT Extract VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.7.3.3 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Extract VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
PATCH Extract VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.7.6
... Test title: PATCH Extract VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.7.3.4 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Extract VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
DELETE Extract VNF Snapshot Package Content Task - Method Not implemented
[Documentation] Test ID: 5.3.6.7.7
... Test title: DELETE Extract VNF Snapshot Package Content Task - Method Not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.7.3.5 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Extract VNF Snapshot Package Content Task
Check HTTP Response Status Code Is 405
\ No newline at end of file
*** Settings ***
Resource VnfSnapshotPackageManagementKeywords.robot
*** Test Cases ***
POST Upload VNF Snapshot Package Content from URI
[Documentation] Test ID: 5.3.6.5.1
... Test title: POST Upload VNF Snapshot Package Content from URI
... Test objective: The objective is to test that POST method provides the information for the NFVO to get the content of a VNF snapshot package.
... Pre-conditions: none
... Reference: Clause 11.4.5.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
POST Upload VNF Snapshot Package Content from URI
Check HTTP Response Status Code Is 202
POST Upload VNF Snapshot Package Content from URI - Conflict
[Documentation] Test ID: 5.3.6.5.2
... Test title: POST Upload VNF Snapshot Package Content from URI - Conflict
... Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate upload VNF Snapshot Package from URI task and the state of the VNF snapshot package resource is other than "CREATED" or "ERROR".
... Pre-conditions: none
... Reference: Clause 11.4.5.3.1 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: The state of the VNF snapshot package resource is other than "CREATED" or "ERROR".
... Post-Conditions: none
POST Upload VNF Snapshot Package Content from URI - Conflict
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
GET Upload VNF Snapshot Package Content from URI - Method Not implemented
[Documentation] Test ID: 5.3.6.5.3
... Test title: GET Upload VNF Snapshot Package Content from URI - Method Not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.5.3.2 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Upload VNF Snapshot Package Content from URI
Check HTTP Response Status Code Is 405
PUT Upload VNF Snapshot Package Content from URI - Method Not implemented
[Documentation] Test ID: 5.3.6.5.4
... Test title: PUT Upload VNF Snapshot Package Content from URI - Method Not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.5.3.3 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Upload VNF Snapshot Package Content from URI
Check HTTP Response Status Code Is 405
PATCH Upload VNF Snapshot Package Content from URI - Method Not implemented
[Documentation] Test ID: 5.3.6.5.5
... Test title: PATCH Upload VNF Snapshot Package Content from URI - Method Not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.5.3.4 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Upload VNF Snapshot Package Content from URI
Check HTTP Response Status Code Is 405
DELETE Upload VNF Snapshot Package Content from URI - Method Not implemented
[Documentation] Test ID: 5.3.6.5.6
... Test title: DELETE Upload VNF Snapshot Package Content from URI - Method Not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: Clause 11.4.5.3.5 - ETSI GS NFV-SOL 005 [3] v3.3.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Upload VNF Snapshot Package Content from URI
Check HTTP Response Status Code Is 405
\ No newline at end of file
...@@ -96,5 +96,9 @@ ${callbackResp} localhost ...@@ -96,5 +96,9 @@ ${callbackResp} localhost
${vnfSnapshotPkgId} ${vnfSnapshotPkgId}
${invalidVnfSnapshotPkgId} ${invalidVnfSnapshotPkgId}
${vnfSnapshotPkgId_notInAvailableState} ${vnfSnapshotPkgId_notInAvailableState}
${vnfSnapshotInfoId}
${vnfInstanceId} associated-with-extraction-of-VNF-snapshot-package
${invalidVnfInstanceId} invlalid-association-with-VNF-snapshot-package
${erroneousState_VnfSnapshotPackage} 1 ${vnfPackageContent_URI} http://uri/for/vnfpackagecontent/upload
${externalArtifact_URI} http://uri/for/external/artifact
\ No newline at end of file
{{
"vnfSnapshotInfoId": "{vnfSnapshotInfoId}"
}}
\ No newline at end of file
{
"cause": "Cancelation cause..."
}
\ No newline at end of file
{{
"vnfSnapshotInfoId": "{vnfSnapshotInfoId}",
"vnfInstanceId": "{vnfInstanceId}"
}}
\ No newline at end of file
{{
"addressInformation": "{addressInformation}"
}}
\ No newline at end of file
{{
"artifact": [
{{
"artifactUri": "{artifactUri}"
}}
]
}}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment