DeleteNSInstanceWorkflow.robot 928 Bytes
Newer Older
AHMADABB's avatar
AHMADABB committed
*** Settings ***
Resource    environment/variables.txt 
Resource   NSLCMOperationKeywords.robot   
Library    REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} 
Library    OperatingSystem
Library    JSONLibrary
Library    JSONSchemaLibrary    schemas/

*** Test Cases ***
NS Instance Deletion
root's avatar
root committed
    [Documentation]    Test ID: 5.3.2.18.2
aureliano sinatra's avatar
aureliano sinatra committed
    ...    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] v2.4.1
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
root's avatar
root committed
    ...    Post-Conditions: Resource should be deleted
AHMADABB's avatar
AHMADABB committed
    Check resource not_instantiated
AHMADABB's avatar
AHMADABB committed
    DELETE IndividualNSInstance
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Status Code Is    204
AHMADABB's avatar
AHMADABB committed
    Check HTTP Response Body Json Schema Is    NsIdentifierDeletionNotification