Commit 95981c70 authored by aureliano sinatra's avatar aureliano sinatra
Browse files

added workflow

parent 38b7f343
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ Suite Teardown Terminate All Processes kill=true

*** Test Cases ***
Cancel a VNF LCM Operation - STARTING
    [Documentation]    Test ID: 7.3.1.2.1
    [Documentation]    Test ID: 7.3.1.25
    ...    Test title: Cancel a VNF LCM Operation
    ...    Test objective: The objective is to test the workflow for Cancelling a VNF LCM Operation
    ...    Pre-conditions: The VNF lifecycle management operation occurrence is in STARTING state. NFVO is subscribed to VNF LCM Operation Occurrence notifications (Test ID: 5.4.20.1)
    ...    Reference: section 5.3.10 - SOL003 v2.4.1
    ...    Reference: section 5.4.17 - SOL003 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: NFVO is able to receive notifications from VNFM
    ...    Post-Conditions: The VNF lifecycle management operation occurrence is in ROLLED_BACK state
+2 −2
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ Suite Teardown Terminate All Processes kill=true

*** Test Cases ***
Operate a VNF Instance
    [Documentation]    Test ID: 7.3.5.4.1
    [Documentation]    Test ID: 7.3.1.24
    ...    Test title: Change the external connectivity of a VNF instance
    ...    Test objective: The objective is to change the external connectivity of a VNF instance.
    ...    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.4.11 - SOL003 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: NFVO is able to receive notifications from VNFM. Change the external connectivity of a VNF instance is supported for the VNF (as capability in the VNFD)
    ...    Post-Conditions: VNF instance still in INSTANTIATED state and external connectivity of the VNF is changed
+4 −4
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ Suite Teardown Terminate All Processes kill=true

*** Test Cases ***
Create VNF Instance Resource
    [Documentation]    Test ID: 5.3.1.1
    [Documentation]    Test ID: 7.3.1.20
    ...    Test title: Create VNF Instance workflow
    ...    Test objective: The objective is to test the workflow for the creation of a new VNF instance resource.
    ...    Pre-conditions: NFVO is subscribed to VNF Identifier Creation notifications (Test ID: 5.4.20.2)
    ...    Reference: section 5.4.2 - SOL003 v2.4.1
    ...    Reference: section 5.3.1 - SOL003 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: NFVO is able to receive notifications from VNFM
    ...    Post-Conditions: The VNF instance resource has been created in "NOT_INSTANTIATED" state.
@@ -28,14 +28,14 @@ Create VNF Instance Resource
    Check HTTP Response Status Code Is    201
    Check HTTP Response Header Contains    Location 
    Check Operation Notification For VNF Instance Creation
    Check Postcondition VNF Instance Created  NOT_INSTANTIATED
    Check Postcondition VNF Instance Created status is  NOT_INSTANTIATED

*** Keywords ***

Initialize System
    Create Sessions

Check Postcondition VNF Instance Created
Check Postcondition VNF Instance Created status is
    [Arguments]    ${status}
    Check VNF Instance    ${vnfInstanceId}
    Check HTTP Response Status Code Is    200
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Suite Teardown Terminate All Processes kill=true

*** Test Cases ***
Delete VNF Instance Resource
    [Documentation]    Test ID: 5.3.2.1
    [Documentation]    Test ID: 7.3.1.21
    ...    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)
+2 −2
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ Suite Teardown Terminate All Processes kill=true

*** Test Cases ***
Fail VNF LCM Operation
    [Documentation]    Test ID: 5.x.x.x
    [Documentation]    Test ID: 7.3.1.22
    ...    Test title: Fail a VNF LCM Operation
    ...    Test objective: The objective is to test the workflow for a Fail VNF LCM Operation
    ...    Pre-conditions: The VNF lifecycle management operation occurrence is in FAILED_TEMP state. NFVO is subscribed to VNF LCM Operation Occurrence notifications (Test ID: 5.4.20.1)
    ...    Reference: section 5.3.10 - SOL003 v2.4.1
    ...    Reference: section 5.4.16 - SOL003 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: NFVO is able to receive notifications from VNFM
    ...    Post-Conditions: The VNF lifecycle management operation occurrence is in FAILED state
Loading