${id}= Instantiate Network Service ${NS_NAME} ${NSD_NAME} %{VIM_TARGET} --config '${NS_CONFIG}'
Set Suite Variable ${NS_ID} ${id}
${id}= Instantiate Network Service ${NS_NAME} ${NSD_NAME} %{VIM_TARGET} --config '${NS_CONFIG}'
Set Suite Variable ${NS_ID} ${id}
[Documentation] Obtain the operation ID of the NS instantiation
${id}= Get Operations By Type ${NS_ID} instantiate
Set Suite Variable ${OP_ID} ${id}
[Documentation] Obtain the operation ID of the NS instantiation
${id}= Get Operations By Type ${NS_ID} instantiate
Set Suite Variable ${OP_ID} ${id}
[Documentation] Cancel the ongoing NS instantiation
Sleep 5s Waiting before cancelling the operation
Cancel Operation By Id ${OP_ID}
[Documentation] Cancel the ongoing NS instantiation
Sleep 5s Waiting before cancelling the operation
Cancel Operation By Id ${OP_ID}
[Documentation] Check that the operation is succesfully cancelled
Check For NS Operation Cancelled ${OP_ID}
[Documentation] Check that the operation is succesfully cancelled
Check For NS Operation Cancelled ${OP_ID}