Commit 076b62cf authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Merge branch 'SOL005-NSLifecycleManagement' into '4.5.1-dev'

SOL005 NS LCM management - Implementation of deltas between v4.5.1 and v4.4.1

See merge request !333
parents 1d7c3769 69de76a3
Loading
Loading
Loading
Loading
+33 −8
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ POST Cancel operation task
    ...    Test title: POST Cancel operation task
    ...    Test objective: The objective is to test that POST method cancel the NS LCM operation
    ...    Pre-conditions: NS instance status equal to STARTING, PROCESSING or ROLLING_BACK
    ...    Reference: Clause 6.4.15.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.15.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: NS instance status equal to FAILED_TEMP     
@@ -26,7 +26,7 @@ POST Cancel operation task Not Found
    ...    Test title: POST Cancel operation task Not Found
    ...    Test objective: The objective is to test that POST method fail completing the Cancel NS LCM operation if the resource is not found
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.15.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.15.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none       
@@ -39,7 +39,7 @@ POST Cancel operation task Conflict
    ...    Test title: POST Cancel operation task Conflict
    ...    Test objective: The objective is to test that POST method fail if a status conflict exist on the NS LCM operation. (i.e. NS instance status not equal to STARTING, PROCESSING or ROLLING_BACK)
    ...    Pre-conditions: NS instance status not equal to STARTING, PROCESSING or ROLLING_BACK
    ...    Reference: Clause 6.4.15.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.15.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -52,7 +52,7 @@ GET Cancel operation task - Method not implemented
    ...    Test title: GET Cancel operation task - Method not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.15.3.2 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.15.3.2 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -64,7 +64,7 @@ PUT Cancel operation task - Method not implemented
    ...    Test title: PUT Cancel operation task - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.15.3.3 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.15.3.3 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none    
@@ -76,7 +76,7 @@ PATCH Cancel operation task - Method not implemented
    ...    Test title: PATCH Cancel operation task - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.15.3.4 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.15.3.4 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -88,9 +88,34 @@ DELETE Cancel operation task - Method not implemented
    ...    Test title: DELETE Cancel operation task - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.15.3.5 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.15.3.5 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    DELETE Cancel operation task
    Check HTTP Response Status Code Is    405

POST Cancel operation task with permitted authorization scope
    [Documentation]    Test ID: 5.3.2.14.8
    ...    Test title: POST Cancel operation task with permitted authorization scope
    ...    Test objective: The objective is to test that POST method cancel the NS LCM operation with permitted authorization scope
    ...    Pre-conditions: NS instance status equal to STARTING, PROCESSING or ROLLING_BACK
    ...    Reference: Clause 6.4.15.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: NS instance status equal to FAILED_TEMP     
	POST Cancel operation task with permitted authorization scope
	Check HTTP Response Status Code Is    202
	Check operation resource state is FAILED_TEMP

POST Cancel operation task with not permitted authorization scope
    [Documentation]    Test ID: 5.3.2.14.9
    ...    Test title: POST Cancel operation task with not permitted authorization scope
    ...    Test objective: The objective is to test that POST method cancel the NS LCM operation fails when using not permitted authorization scope
    ...    Pre-conditions: NS instance status equal to STARTING, PROCESSING or ROLLING_BACK
    ...    Reference: Clause 6.4.15.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none   
	POST Cancel operation task with not permitted authorization scope
	Check HTTP Response Status Code Is    401
 No newline at end of file
+33 −8
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ POST Continue operation task
    ...    Test title: POST Continue operation task
    ...    Test objective: The objective is to test that POST method trigger a continue on the LCM operation
    ...    Pre-conditions: NS instance status equal to FAILED_TEMP
    ...    Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: NS instance status not equal to FAILED_TEMP 
@@ -26,7 +26,7 @@ POST Continue operation task Not Found
    ...    Test title: POST Continue operation task Not Found
    ...    Test objective: The objective is to test that POST method cannot perform a continue operation task because the resource is not found
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -39,7 +39,7 @@ POST Continue operation task Conflict
    ...    Test title: POST Continue operation task Conflict
    ...    Test objective: The objective is to test that POST method fail in case of operation status conflict (i.e. NS instance status not equal to FAILED_TEMP )
    ...    Pre-conditions: NS instance status not equal to FAILED_TEMP 
    ...    Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none      
@@ -52,7 +52,7 @@ GET Continue operation task - Method not implemented
    ...    Test title: GET Continue operation task - Method not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.13.3.2 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.13.3.2 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -64,7 +64,7 @@ PUT Continue operation task - Method not implemented
    ...    Test title: PUT Continue operation task - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.13.3.3 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.13.3.3 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -76,7 +76,7 @@ PATCH Continue operation task - Method not implemented
    ...    Test title: PATCH Continue operation task - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.14.3.4 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.4 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -88,9 +88,34 @@ DELETE Continue operation task - Method not implemented
    ...    Test title: DELETE Continue operation task - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.14.3.5 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.5 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    DELETE Continue operation task
    Check HTTP Response Status Code Is    405

POST Continue operation task with permitted authorization scope
     [Documentation]    Test ID: 5.3.2.12.8
    ...    Test title: POST Continue operation task with permitted authorization scope
    ...    Test objective: The objective is to test that POST method trigger a continue on the LCM operation with permitted authorization scope
    ...    Pre-conditions: NS instance status equal to FAILED_TEMP
    ...    Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: NS instance status not equal to FAILED_TEMP 
	POST Continue operation task with permitted authorization scope
	Check HTTP Response Status Code Is    202
	Check operation resource state is not FAILED_TEMP

POST Continue operation task with not permitted authorization scope
     [Documentation]    Test ID: 5.3.2.12.9
    ...    Test title: POST Continue operation task with not permitted authorization scope
    ...    Test objective: The objective is to test that POST method trigger a continue on the LCM operation fails when using not permitted authorization scope
    ...    Pre-conditions: NS instance status equal to FAILED_TEMP
    ...    Reference: Clause 6.4.13.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
	POST Continue operation task with not permitted authorization scope
	Check HTTP Response Status Code Is    401
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ NS Instance Creation
    ...    Test title: NS Instance Creation
    ...    Test objective: The objective is to test the workflow for Creating a NS instance
    ...    Pre-conditions: none
    ...    Reference: Clause 6.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The NS resource is in NOT_ISTANTIATED state
@@ -32,7 +32,7 @@ NS Instance Creation with DISABLED Network Service Descriptor
    ...    Test title: NS Instance Creation with DISABLED Network Service Descriptor
    ...    Test objective: The objective is to test the workflow for Creating a NS instance with a disabled NSD
    ...    Pre-conditions: One or more Network Service Descriptors are onboarded in the NFVO in disabled operational state.
    ...    Reference: Clauses 6.4.2.3.1 and 5.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clauses 6.4.2.3.1 and 5.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ NS Instance Deletion
    ...    Test title: NS Instance Deletion
    ...    Test objective: The objective is to test the workflow for Deleting a NS instance
    ...    Pre-conditions: the resource is in NOT_INSTANTIATED state
    ...    Reference: Clause 6.3.2 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.3.2 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: NS Instance resource is deleted
+32 −8
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ POST Fail operation task
    ...    Test title: POST Fail operation task
    ...    Test objective: The objective is to test that POST method trigger a state change to "finally failed" on the NS LCM operation
    ...    Pre-conditions: NS instance status equal to FAILED_TEMP
    ...    Reference: Clause 6.4.14.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -26,7 +26,7 @@ POST Fail operation task Not Found
    ...    Test title: POST Fail operation task Not Found
    ...    Test objective: The objective is to test that POST method fail if the NS LCM resource is not found
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.14.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -39,7 +39,7 @@ POST Fail operation task Conflict
    ...    Test title: POST Fail operation task Conflict
    ...    Test objective: The objective is to test that POST method fail in case of status conflict on the NS LCM operation (i.e NS instance status not equal to FAILED_TEMP)
    ...    Pre-conditions: NS instance status not equal to FAILED_TEMP
    ...    Reference: Clause 6.4.14.3.1 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -52,7 +52,7 @@ GET Fail operation task - Method not implemented
    ...    Test title: GET Fail operation task - Method not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.14.3.2 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.2 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -64,7 +64,7 @@ PUT Fail operation task - Method not implemented
    ...    Test title: PUT Fail operation task - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.14.3.3 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.3 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -76,7 +76,7 @@ PATCH Fail operation task - Method not implemented
    ...    Test title: PATCH Fail operation task - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.14.3.4 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.4 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -88,11 +88,35 @@ DELETE Fail operation task - Method not implemented
    ...    Test title: DELETE Fail operation task - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.14.3.5 - ETSI GS NFV-SOL 005 [3] v4.4.1
    ...    Reference: Clause 6.4.14.3.5 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none    
    DELETE Fail operation task
    Check HTTP Response Status Code Is    405

POST Fail operation task with permitted authorization scope
    [Documentation]    Test ID: 5.3.2.13.8
    ...    Test title: POST Fail operation task with permitted authorization scope
    ...    Test objective: The objective is to test that POST method trigger a state change to "finally failed" on the NS LCM operation with permitted authorization scope
    ...    Pre-conditions: NS instance status equal to FAILED_TEMP
    ...    Reference: Clause 6.4.14.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
	POST Fail operation task with permitted authorization scope
	Check HTTP Response Status Code Is    202
	Check resource is finally failed
    
POST Fail operation task with not ermitted authorization scope
    [Documentation]    Test ID: 5.3.2.13.9
    ...    Test title: POST Fail operation task with not ermitted authorization scope
    ...    Test objective: The objective is to test that POST method trigger a state change to "finally failed" on the NS LCM operation fails when using not permitted authorization scope
    ...    Pre-conditions: NS instance status equal to FAILED_TEMP
    ...    Reference: Clause 6.4.14.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
	POST Fail operation task with not permitted authorization scope
	Check HTTP Response Status Code Is    401
    
 No newline at end of file
Loading