@@ -16,24 +16,25 @@ Suite Teardown Terminate All Processes kill=true
*** Test Cases ***
Scale out a VNF Instance
[Documentation]Test ID: 5.x.y.x
...Test title: Change VNF Flavour Operation
...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)
...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
...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
Send VNF Scale Out Request
Send Change VNF Flavour Request
Check HTTP Response Status Code Is202
Check HTTP Response Header ContainsLocation
Check Operation Occurrence Id
Check Operation Notification For Change FlavourSTARTING
Create a new Grant - Sync - CHANGE_FLAVOUR
Check Operation Notification For Change FlavourPROCESSING
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 ***
...
...
@@ -48,8 +49,7 @@ Precondition Checks
${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 ***
Create a VNF Instance
[Documentation]Test ID: 5.x.y.x
...Test title: Delete a VNF instance procedure
...Test objective: The objective is to test the procedure for the deletion of a VNF instance resource.
...Pre-conditions: The resource representing the VNF instance to be deleted needs to be in NOT_INSTANTIATED state
Delete VNF Instance Resource
[Documentation]Test ID: 5.3.2.1
...Test title: Delete VNF Instance workflow
...Test objective: The objective is to test the workflow for the deleteion of an existing VNF instance resource
...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
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions: The resource representing the VNF instance has been removed from the list of VNF instance resources
Send VNF delete Request
...Applicability: NFVO is able to receive notifications from VNFM
...Post-Conditions: The VNF instance resource is deleted on the VNFM.
Send VNF Instance Resource delete Request
Check HTTP Response Status Code Is204
Check Operation Notification For CreateVnfIdentifierDeletionNotification
Check Postcondition VNFDELETE
Check Operation Notification For VNF Instance Deletion
Check Postcondition VNF Instance Deleted
*** Keywords ***
Initialize System
Create Sessions
Check Postcondition VNF
[Arguments]${operation}
Check Postcondition VNF Instance Deleted
Check VNF Instance${vnfInstanceId}
Check HTTP Response Status Code Is404
Check Operation Notification For Create
[Arguments]${element}
${json}=Get Fileschemas/${element}.schema.json
Configure Notification Handler${notification_ep}
\ No newline at end of file
Check Operation Notification For VNF Instance Deletion