logTrying to perform a PUT. This method should not be implemented
logTrying to perform a PUT. This method should not be implemented
@@ -53,40 +44,61 @@ PUT Config - Method not implemented
LogValidate Status code
LogValidate Status code
Integerresponse status405
Integerresponse status405
PATCH Config
Set new VNF Configuration
[Documentation]Test ID: 9.4.2.2
[Documentation]Test ID: 9.4.2.1
...Test title: Set or modify a configuration resource
...Test title: Set a new VNF Configuration
...Test objective: The objective is to set or modify a configuration resource
...Test objective: The objective is to test the creation of a new VNF configuration
...Pre-conditions: A VNF instance and its VNFC instances exist
...Pre-conditions: A VNF instance is up and running
...Reference: section 9.4.2 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: The VNF supports the generation of HTTP Etag opaque identifiers
...Post-Conditions: The VNF configuration is set
Send VNF configuration
Check HTTP Response Status Code Is200
Check HTTP Response Header ContainsEtag
Check HTTP Response Body Json Schema IsvnfConfiModifications
Check Postcondition VNF Is Configured
Set new VNF Configuration - HTTP Etag precondition failed
[Documentation]Test ID: 9.4.2.3
...Test title: Set a new VNF Configuration - HTTP Etag precondition failed
...Test objective: The objective is to test the failure in setting a duplication of VNF configuration identified by an already used HTTP Etag identifier.
...Pre-conditions: A VNF instance is up and running. The VNF instance is already configured (Test ID: 9.4.2.1) with a given HTTP Etag identifier.
...Reference: section 9.4.2 - SOL002 v2.4.1
...Reference: section 9.4.2 - SOL002 v2.4.1
...Config ID: Config_prod_VNFM
...Config ID: Config_prod_VNFM
...Applicability:
...Applicability: The VNF supports the generation of HTTP Etag opaque identifiers
...Post-Conditions:Configuration of the VNF instance and/or its VNFC instances has been set
...Post-Conditions:The VNF configuration is not modified by the operation
Send Duplicated VNF configuration
Check HTTP Response Status Code Is412
Check HTTP Response Body Json Schema IsProblemDetails
Check Postcondition VNF Configuration Untouched
DELETE Config - Method not implemented
logTrying to perform a DELETE. This method should not be implemented
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
@@ -16,24 +16,34 @@ Suite Teardown Terminate All Processes kill=true
*** Test Cases ***
*** Test Cases ***
<<<<<<< .merge_file_a08480
Change VNF Flavour Operation
Change VNF Flavour Operation
[Documentation]Test ID: 5.x.y.x
[Documentation]Test ID: 5.x.y.x
...Test title: Change VNF Flavour Operation
...Test title: Change VNF Flavour Operation
...Test objective: The objective is to test a change flavour operation of an existing VNF instance
...Test objective: The objective is to test a change flavour operation of an existing VNF instance
...Pre-conditions: VNF instance in INSTANTIATED state (Test ID: 5.a.b.c)
...Pre-conditions: VNF instance in INSTANTIATED state (Test ID: 5.a.b.c)
...Reference: section 5.3.3 - SOL003 v2.4.1
...Reference: section 5.3.3 - SOL003 v2.4.1
=======
Change VNF Flavour
[Documentation]Test ID: 5.4.7.1
...Test title: Change VNF Flavour Workflow
...Test objective: The objective is to test the workflow for a change flavour of an existing VNF instance
...Pre-conditions: VNF instance in INSTANTIATED state (Test ID: 5.4.4.1). NFVO is subscribed to VNF LCM Operation Occurrence notifications (Test ID: 5.4.20.1)
...Reference: section 5.4.7 - SOL003 v2.4.1
>>>>>>> .merge_file_a08764
...Config ID: Config_prod_VNFM
...Config ID: Config_prod_VNFM
...Applicability: change flavour operation is supported for the VNF (as capability in the VNFD)
...Applicability: Multiple flavours are supported for the VNF (as capability in the VNFD). NFVO is able to receive notifications from VNFM
...Post-Conditions: VNF instance still in INSTANTIATED state and the flavour is changed
...Post-Conditions: VNF instance still in INSTANTIATED state and the flavour is changed
Send Change VNF Flavour Request
Send Change VNF Flavour Request
Check HTTP Response Status Code Is202
Check HTTP Response Status Code Is202
Check HTTP Response Header ContainsLocation
Check HTTP Response Header ContainsLocation
Check Operation Occurrence Id
Check Operation Occurrence Id
Check Operation Notification For Change FlavourSTARTING
Check Operation Notification For Change FlavourSTARTING
Create a new Grant - Sync - CHANGE_FLAVOUR
Check Operation Notification For Change FlavourPROCESSING
Check Operation Notification For Change FlavourPROCESSING
Check Operation Notification For Change FlavourCOMPLETED
Check Operation Notification For Change FlavourCOMPLETED
Check Postcondition VNFCHANGE_FLAVOUR
Check Postcondition VNF Flavor Changed
#Create a new Grant Sync - CHANGE_FLAVOU Scale REMOVED
*** Keywords ***
*** Keywords ***
@@ -48,8 +58,7 @@ Precondition Checks
${LccnSubscriptions}=Check subscriptions about one VNFInstance and operation type${vnfInstanceId}VnfLcmOperationOccurrenceNotificationoperationType=SCALE
${LccnSubscriptions}=Check subscriptions about one VNFInstance and operation type${vnfInstanceId}VnfLcmOperationOccurrenceNotificationoperationType=SCALE
@@ -16,32 +16,28 @@ Suite Teardown Terminate All Processes kill=true
*** Test Cases ***
*** Test Cases ***
Create a VNF Instance
Delete VNF Instance Resource
[Documentation]Test ID: 5.x.y.x
[Documentation]Test ID: 5.3.2.1
...Test title: Delete a VNF instance procedure
...Test title: Delete VNF Instance workflow
...Test objective: The objective is to test the procedure for the deletion of a VNF instance resource.
...Test objective: The objective is to test the workflow for the deleteion of an existing VNF instance resource
...Pre-conditions: The resource representing the VNF instance to be deleted needs to be in NOT_INSTANTIATED state
...Pre-conditions: The VNF Instance resource is in NOT_INSTANTIATED state. NFVO is subscribed to VNF Identifier Creation notifications (Test ID: 5.4.20.2)
...Reference: section 5.3.2 - SOL003 v2.4.1
...Reference: section 5.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Config ID: Config_prod_VNFM
...Applicability:
...Applicability: NFVO is able to receive notifications from VNFM
...Post-Conditions: The resource representing the VNF instance has been removed from the list of VNF instance resources
...Post-Conditions: The VNF instance resource is deleted on the VNFM.
Send VNF delete Request
Send VNF Instance Resource delete Request
Check HTTP Response Status Code Is204
Check HTTP Response Status Code Is204
Check Operation Notification For CreateVnfIdentifierDeletionNotification
Check Operation Notification For VNF Instance Deletion
Check Postcondition VNFDELETE
Check Postcondition VNF Instance Deleted
*** Keywords ***
*** Keywords ***
Initialize System
Initialize System
Create Sessions
Create Sessions
Check Postcondition VNF
Check Postcondition VNF Instance Deleted
[Arguments]${operation}
Check VNF Instance${vnfInstanceId}
Check VNF Instance${vnfInstanceId}
Check HTTP Response Status Code Is404
Check HTTP Response Status Code Is404
Check Operation Notification For Create
Check Operation Notification For VNF Instance Deletion