Commit fb67b696 authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

Updated pre-conditoin and post-condition of different LCM operations

parent ec254083
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -12,24 +12,24 @@ POST Heal a NSInstance
    [Documentation]    Test ID: 5.3.2.6.1
    ...    Test title: POST Heal a NSInstance
    ...    Test objective: The objective is to test that POST method trigger a Heal NS instance
    ...    Pre-conditions: resource status is not in NOT_INSTANTIATED state
    ...    Pre-conditions: NS Instance is in INSTANTIATED state.
    ...    Reference: Clause 6.4.7.3.1 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: NS instance is still in INSTANTIATED state.
    POST Heal NSInstance
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location

POST Heal a NSInstance Conflict
POST Heal a NSInstance - Conflict (Not Instantited)
    [Documentation]    Test ID: 5.3.2.6.2
    ...    Test title: POST Heal a NSInstance Conflict
    ...    Test objective: The objective is to test that POST method fail if NS instance is not in NOT_INSTANTIATE state 
    ...    Pre-conditions: resource status is in NOT_INSTANTIATED state
    ...    Test title: POST Heal a NSInstance - Conflict (Not Instantited)
    ...    Test objective: The objective is to test that POST method fail if NS instance is in NOT_INSTANTIATE state 
    ...    Pre-conditions: NS Instance is in NOT_INSTANTIATED state
    ...    Reference: Clause 6.4.7.3.1 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: NS Instance is still in NOT_INSTANTIATED state
    POST Heal NSInstance
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is    ProblemDetails
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ POST Instantiate a nsInstance
    [Documentation]    Test ID: 5.3.2.3.1
    ...    Test title: POST Instantiate a nsInstance
    ...    Test objective: The objective is to test that POST method instantiate a new NS instance
    ...    Pre-conditions: none
    ...    Pre-conditions: An NS instance created and it is in NOT_INSTANTIATED state
    ...    Reference: Clause 6.4.4.3.1 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
+6 −6
Original line number Diff line number Diff line
@@ -12,21 +12,21 @@ POST Scale a nsInstance
    [Documentation]    Test ID: 5.3.2.4.1
    ...    Test title: POST Scale a nsInstance
    ...    Test objective: The objective is to test that POST method scales NS instance
    ...    Pre-conditions: the resource is in NOT_INSTANTIATED state
    ...    Pre-conditions: NS instance is INSTANTIATED state
    ...    Reference: Clause 6.4.5.3.1 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: NS instance is INSTANTIATED state and NS has been scaled
    POST scale nsInstance
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location
    Check resource existence
    
POST Instantiate a nsInstance Conflict
POST Scale a nsInstance - Conflict (Not Instantited)
    [Documentation]    Test ID: 5.3.2.4.2
    ...    Test title: POST Instantiate a nsInstance Conflict
    ...    Test objective: The objective is to test that POST method cannot scale NS instance because of conflict in resource status (i.e. because the resource is in not in NOT_INSTANTIATED state)
    ...    Pre-conditions: the resource is in not in NOT_INSTANTIATED state
    ...    Test title: POST Scale a nsInstance - Conflict (Not Instantited)
    ...    Test objective: The objective is to test that POST method cannot scale NS instance because of conflict in resource status (i.e. because the resource is in  NOT_INSTANTIATED state)
    ...    Pre-conditions: NS instance is in NOT_INSTANTIATED state.
    ...    Reference: Clause 6.4.5.3.1 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
+2 −2
Original line number Diff line number Diff line
@@ -21,9 +21,9 @@ POST Terminate a NSInstance
    Check HTTP Response Header Contains    Location
    Check resource not_instantiated
    
POST Terminate a NSInstance Conflict
POST Terminate a NSInstance - Conflict (Not Instantited)
    [Documentation]    Test ID: 5.3.2.7.2
    ...    Test title: POST Terminate a NSInstance Conflict
    ...    Test title: POST Terminate a NSInstance - Conflict (Not Instantited)
    ...    Test objective: The objective is to test that POST method cannot terminate the NS because of conflict in resource status (i.e. the resource is not in INSTANTIATED state) 
    ...    Pre-conditions: NS instance is in NOT_INSTANTIATED state
    ...    Reference: Clause 6.4.8.3.1 - ETSI GS NFV-SOL 005 [3] v2.6.1
+6 −6
Original line number Diff line number Diff line
@@ -12,20 +12,20 @@ POST Update a NSInstance
    [Documentation]    Test ID: 5.3.2.5.1
    ...    Test title: POST Update a NSInstance
    ...    Test objective: The objective is to test that POST method update a NS instance
    ...    Pre-conditions: an existing NS Instance 
    ...    Pre-conditions: An NS instance is in INSTANTIATED state
    ...    Reference: Clause 6.4.6.3.1 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The  NS instance is updated on the NFVO
    ...    Post-Conditions: The NS instance is still INSTANTIATED and updated on the NFVO
    POST Update NSInstance
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location

POST Update a NSInstance Conflict
POST Update a NSInstance - Conflict (Not Instantited)
    [Documentation]    Test ID: 5.3.2.5.2
    ...    Test title: POST Update a NSInstance Conflict
    ...    Test objective: The objective is to test that POST method fail if a NS Instance is not existing or is not in NOT_INSTANTIATED state
    ...    Pre-conditions: an existing NS  Instance 
    ...    Test title: POST Update a NSInstance - Conflict (Not Instantited)
    ...    Test objective: The objective is to test that POST method fail if a NS Instance is not existing or is in NOT_INSTANTIATED state
    ...    Pre-conditions: An NS instance is in INSTANTIATED state 
    ...    Reference: Clause 6.4.6.3.1 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none