Skip to content
DeleteNSInstanceWorkflow.robot 888 B
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
aureliano sinatra's avatar
aureliano sinatra committed
    [Documentation]    Test ID: 5.3.2.19
    ...    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
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Reference: section 6.3.2 - SOL005 v2.4.1
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
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