[Documentation]Test Name: Scale VNF The POST method scales a VNF instance..
...Another key: The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Applicability: Typically, this is due to the fact that the VNF instance resource is in NOT-INSTANTIATED state, or that another lifecycle management operation is ongoing.
...Post-conditions: The response body shall contain a ProblemDetails structure, in which the detail attribute should convey more information about the error.
LogTrying to scale a vnf Instance
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
# TODO: Need to set the pre-condition of the test. VNF instance shall be in NOT-INSTANTIATED state
[Documentation]Test ID: Conflict.
...Reference: The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Applicability: Typically, this is due to the fact that the VNF instance resource is in NOT-INSTANTIATED state, or that another lifecycle management operation is ongoing.
...Task: The response body shall contain a ProblemDetails structure, in which the detail attribute should convey more information about the error.
[Setup]Check resource not instantiated
LogTrying to Scale a vnf Instance
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}