[Teardown]#We cannot know if the "scale" operation is finished easily because the 202 indicates only whether the operation has been accepted, not whether the operation has been finished
Change deployment flavour of a vnfInstance Not Found
# TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent
[Documentation]Not Found
...Error: The API producer did not find a current representation for the target resource or is not willing to disclose that one exists.
...Specifically in case of this task resource, the response code 404 shall also returned if the task is not supported for the VNF instance represented by the parent resource, which means that the task resource consequently does not exist.
...In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which the “detail” attribute shall convey more information about the error.
[Setup]Check change flavour not supported
LogTrying to change the deployment flavour of a VNF instance, not exist
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
[Teardown]#We cannot know if the "scale" operation is finished easily because the 202 indicates only whether the operation has been accepted, not whether the operation has been finished
Heal a vnfInstance Not Found
# TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent
[Documentation]Not Found
...Error: The API producer did not find a current representation for the target resource or is not willing to disclose that one exists.
...Specifically in case of this task resource, the response code 404 shall also returned if the task is not supported for the VNF instance represented by the parent resource, which means that the task resource consequently does not exist.
...In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which the “detail” attribute shall convey more information about the error.
[Setup]Check heal not supported
LogTrying to heal a VNF instance, not exist
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
[Teardown]#We cannot know if the "scale" operation is finished easily because the 202 indicates only whether the operation has been accepted, not whether the operation has been finished
Operate a vnfInstance Not Found
# TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent
[Documentation]Not Found
...Error: The API producer did not find a current representation for the target resource or is not willing to disclose that one exists.
...Specifically in case of this task resource, the response code 404 shall also returned if the task is not supported for the VNF instance represented by the parent resource, which means that the task resource consequently does not exist.
...In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which the “detail” attribute shall convey more information about the error.
[Setup]Check operate not supported
LogTrying to change the operational state of a VNF instance, not exist
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}