Newer
Older
*** Settings ***
Resource environment/variables.txt
Resource NSLCMOperationKeywords.robot
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false
Library OperatingSystem
Library JSONLibrary
Library JSONSchemaLibrary schemas/
Suite Setup Check resource existence
... Test objective: The objective is to test that POST method scales NS instance
... Pre-conditions: NS instance is INSTANTIATED state
... Reference: Clause 6.4.5.3.1 - ETSI GS NFV-SOL 005 [3] v2.8.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: NS instance is INSTANTIATED state and NS has been scaled
Check HTTP Response Status Code Is 202
Check HTTP Response Header Contains Location
Check Individual NS LCM operation occurrence operationState is PROCESSING
Check resource existence
POST Scale a nsInstance - Conflict (Not Instantited)
... 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.8.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The Scale NS operation is not triggered on the NFVO
... Test title: GET Scale NSInstance- Method not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: Clause 6.4.5.3.2 - ETSI GS NFV-SOL 005 [3] v2.8.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Check HTTP Response Status Code Is 405
PUT Scale NSInstance - Method not implemented
... Test title: PUT Scale NSInstance - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: Clause 6.4.5.3.3 - ETSI GS NFV-SOL 005 [3] v2.8.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Check HTTP Response Status Code Is 405
PATCH Scale NSInstance - Method not implemented
... Test title: PATCH Scale NSInstance - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: Clause 6.4.5.3.4 - ETSI GS NFV-SOL 005 [3] v2.8.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Check HTTP Response Status Code Is 405
DELETE Scale NSInstance - Method not implemented
... Test title: DELETE Scale NSInstance - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: Clause 6.4.5.3.5 - ETSI GS NFV-SOL 005 [3] v2.8.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none