DocumentationThis task resource represents the "Cancel operation" operation. The client can use this resource to cancel an ongoing VNF lifecycle operation.
Suite setupCheck resource existance
Suite SetupCheck resource existance
*** Test Cases ***
Post Cancel operation task
...
...
@@ -28,7 +28,7 @@ Post Fail operation task Conflict (Not-FAILED_TEMP)
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state,
...or another error handling action is starting, such as retry or rollback.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
Depends on test failureCheck resource FAILED_TEMP
LogFinal Fail an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state,
...or another error handling action is starting, such as retry or rollback.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another error handling action
logFinal Fail an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...
...
@@ -66,7 +66,7 @@ Post Fail operation task Not Found
...Specifically in case of this task resource, the response code 404 shall also be returned
...if the task is not supported for the VNF LCM operation occurrence 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.
...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 Fail not supported
logFinal fail an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
@@ -28,7 +28,7 @@ Change deployment flavour of a vnfInstance Conflict (Not-Instantiated)
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...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.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...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 change the deployment flavour of a VNF instance.
Set Headers{"Accept":"${ACCEPT}"}
...
...
@@ -49,7 +49,7 @@ Change deployment flavour of a vnfInstance Conflict (parallel LCM operation)
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...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.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another LCM operation
logTrying to change the deployment flavour of a VNF instance.
Set Headers{"Accept":"${ACCEPT}"}
...
...
@@ -70,7 +70,7 @@ Change deployment flavour of a vnfInstance Not Found
[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.
...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
@@ -9,7 +9,7 @@ Documentation This task resource represents the "Fail operation" operation.
... The client can use this resource to mark a VNF lifecycle management operation occurrence as "finally failed",
... i.e. change the state of the related VNF LCM operation occurrence resource to "FAILED", if it is not assumed that a subsequent retry or rollback will succeed.
... Once the operation is marked as "finally failed", it cannot be retried or rolled back anymore.
Suite setupCheck resource existance
Suite SetupCheck resource existance
*** Test Cases ***
Post Fail operation task
...
...
@@ -31,7 +31,7 @@ Post Fail operation task Conflict (Not-FAILED_TEMP)
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state,
...or another error handling action is starting, such as retry or rollback.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
Depends on test failureCheck resource FAILED_TEMP
LogFinal Fail an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state,
...or another error handling action is starting, such as retry or rollback.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another error handling action
logFinal Fail an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...
...
@@ -69,7 +69,7 @@ Post Fail operation task Not Found
...Specifically in case of this task resource, the response code 404 shall also be returned
...if the task is not supported for the VNF LCM operation occurrence 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.
...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 Fail not supported
logFinal fail an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...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.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another LCM operation
logTrying to heal a VNF instance.
Set Headers{"Accept":"${ACCEPT}"}
...
...
@@ -70,7 +70,7 @@ Heal a vnfInstance Not Found
[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.
...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.
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that another LCM operation is ongoing. The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...Typically, this is due to the fact that another LCM operation is ongoing. The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...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.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another LCM operation
logTrying to change the operational state of a VNF instance.
Set Headers{"Accept":"${ACCEPT}"}
...
...
@@ -70,7 +70,7 @@ Operate a vnfInstance Not Found
[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.
...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
DocumentationThis task resource represents the "Retry operation" operation. The client can use this resource to initiate retrying a VNF lifecycle operation.
Suite setupCheck resource existance
Suite SetupCheck resource existance
*** Test Cases ***
Post Retry operation task
...
...
@@ -29,7 +29,7 @@ Post Retry operation task Conflict (Not-FAILED_TEMP)
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state,
...or another error handling action is starting, such as rollback or fail.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
Depends on test failureCheck resource FAILED_TEMP
LogRetry an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state,
...or another error handling action is starting, such as rollback or fail.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another error handling action
logRetry an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...
...
@@ -69,7 +69,7 @@ Post Retry operation task Not Found
...Specifically in case of this task resource, the response code 404 shall also be returned
...if the task is not supported for the VNF LCM operation occurrence 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.
...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 retry not supported
logRetry an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
DocumentationThis task resource represents the "Rollback operation" operation. The client can use this resource to initiate rolling back a VNF lifecycle operation
Suite setupCheck resource existance
Suite SetupCheck resource existance
*** Test Cases ***
Post Rollback operation task
[Documentation]The POST method initiates rolling back a VNF lifecycle operation if that operation has experienced a temporary failure,
...i.e. the related “VNF LCM operation occurrence” resource is in “FAILED_TEMP” state.
...i.e. the related �VNF LCM operation occurrence� resource is in �FAILED_TEMP� state.
Depends on testCheck resource FAILED_TEMP
LogRollback a VNF lifecycle operation if that operation has experienced a temporary failure
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...
...
@@ -29,7 +29,7 @@ Post Rollback operation task Conflict (Not-FAILED_TEMP)
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state,
...or another error handling action is starting, such as retry or fail.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
Depends on test failureCheck resource FAILED_TEMP
LogRollback an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state,
...or another error handling action is starting, such as retry or fail.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another error handling action
logRollback an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...
...
@@ -68,7 +68,7 @@ Post Rollback operation task Not Found
...Specifically in case of this task resource, the response code 404 shall also be returned
...if the task is not supported for the VNF LCM operation occurrence 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.
...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 Rollback not supported
logRollback an operation
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
@@ -27,7 +27,7 @@ Scale a vnfInstance Conflict (Not-Instantiated)
[Documentation]Conflict.
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...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.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...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.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another LCM operation
logTrying to Scale a vnf Instance
Set Headers{"Accept":"${ACCEPT}"}
...
...
@@ -68,7 +68,7 @@ Scale a vnfInstance Not Found
[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.
...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.
@@ -27,7 +27,7 @@ Scale a vnfInstance to level Conflict (Not-Instantiated)
[Documentation]Conflict.
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...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.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...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}"}
...
...
@@ -46,7 +46,7 @@ Scale a vnfInstance to level Conflict (parallel LCM operation)
[Documentation]Conflict
...The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource.
...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.
...The response body shall contain a ProblemDetails structure, in which the “detail” attribute should convey more information about the error.
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
[Setup]Launch another LCM operation
logTrying to Scale a vnf Instance
Set Headers{"Accept":"${ACCEPT}"}
...
...
@@ -67,7 +67,7 @@ Scale a vnfInstance Not Found
[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.
...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.