Loading SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot +282 −7 Original line number Diff line number Diff line Loading @@ -340,6 +340,26 @@ POST Change External VNF Connectivity ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change external VNF connectivity - VNF instance not found Log Trying to change the external connectivity of a non-existing VNF instance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${body}= Get File jsons/changeExtVnfConnectivityRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${notExistingVnfInstanceId}/change_ext_conn ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change External VNF Connectivity - Unauthorized Log Trying to change the external connectivity of a VNF instance without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${body}= Get File jsons/changeExtVnfConnectivityRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/change_ext_conn ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change External VNF Connectivity with permitted authorization scope Log Trying to change the external connectivity of a VNF instance with permitted authorization scope. ${scopeValue}= Create Dictionary scopeValue=${CHANGE_EXT_CONN_PERMITTED_SCOPE} Loading Loading @@ -464,6 +484,16 @@ POST Change VNF deployment flavour with not permitted authorization scope Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/change_flavour ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change VNF deployment flavour - Unauthorized Log Trying to change the deployment flavour of a VNF instance without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/changeVnfFlavourRequest.json ${body}= Format String ${template} newFlavourId=${Flavour_ID} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/change_flavour ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Change VNF deployment flavour log Trying to perform a GET. This method should not be implemented Loading Loading @@ -695,6 +725,15 @@ GET individual vnfInstance ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET individual vnfInstance - Unauthorized log Trying to get information about an individual VNF instance Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET individual vnfInstance with permitted authorization scope log Trying to get information about an individual VNF instance with permitted authorization scope ${scopeValue}= Create Dictionary scopeValue=${VNF_INSTANCE_INFO_READONLY_PERMITTED_SCOPE} Loading Loading @@ -817,6 +856,16 @@ POST instantiate individual vnfInstance with conflict Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${instantiatedVnfInstanceId}/instantiate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Instantiate a vnfInstance - Not Found Log Trying Instantiate a vnfInstance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${body}= Get File jsons/instantiateVnfRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${notExistingVnfInstanceId}/instantiate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET instantiate individual vnfInstance log Trying to perform a GET. This method should not be implemented Loading Loading @@ -936,6 +985,18 @@ POST Scale vnfInstance with not permitted authorization scope Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/scale ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST scale vnfInstance - Unauthorized Log Trying to scale a vnf Instance witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/scaleVnfRequest.json ${body}= Format String ${template} scaletype=${scaletype} scaleAspectId=${scaleAspectId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/scale ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Scale vnfInstance Log Trying to get a scale a vnf Instance Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1049,6 +1110,17 @@ POST Scale vnfInstance to level with InstantiationLevelId attribute with not per Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/scale_to_level ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST scale vnfInstance to level with InstantiationLevelId attribute - Unauthorized Log Trying to scale a vnf Instance to level without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/scaleVnfToLevelRequestInstantiationLevelId.json ${body}= Format String ${template} instantiationLevelId=${instantiationLevelId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/scale_to_level ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Scale vnfInstance to level log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1133,6 +1205,27 @@ POST Terminate VNF with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Terminate a vnfInstance - Not Found Log Trying to terminate a VNF instance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${body}= Get File jsons/terminateVnfRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${notExistingVnfInstanceId}/terminate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Terminate a vnfInstance - Unauthorized Log Trying to terminate a VNF instance without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${body}= Get File jsons/terminateVnfRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/terminate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Terminate VNF log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1229,6 +1322,16 @@ POST Heal VNF with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Heal a vnfInstance - Unauthorized Log Trying to heal a vnf Instance witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/healVnfRequest.json ${body}= Format String ${template} healingCause=${healingCause} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/heal ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Heal VNF log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1357,6 +1460,17 @@ POST Operate VNF with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Operate a vnfInstance - Unauthorized Log Trying to operate a vnf Instance witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/operateVnfRequest.json ${body}= Format String ${template} changeStateTo=${changeStateTo} stopType=${stopType} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/operate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Post VNF LCM Operation occurrences log Trying to perform a POST. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1470,6 +1584,13 @@ GET VNF LCM Operation occurrences with not permitted authorization scope Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET status information about multiple VNF LCM operation occurrences - Unauthorized Log Trying to get VNF LCM Operation occurrences without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} PUT VNF LCM Operation occurrences log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1533,6 +1654,14 @@ Get Individual VNF LCM Operation occurrences with not permitted authorization sc Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Get Individual VNF LCM Operation occurrences - Unauthorized Log Trying to get Individual VNF LCM Operation occurrences without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Put multiple VNF instances log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1636,6 +1765,13 @@ Post Retry operation with not permitted authorization scope Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/retry ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Retry operation task - Unauthorized Log Trying to retry a VNF LCM Operation Occurrence without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/retry ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Post Rollback operation Log Rollback a VNF lifecycle operation if that operation has experienced a temporary failure Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1713,6 +1849,14 @@ Post Rollback operation with not permitted authorization scope Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/rollback ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Rollback operation task - Unauthorized Log Trying to rollback a VNF LCM Operation Occurrence without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/rollback ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Post Fail operation Log mark as Failed a VNF lifecycle operation if that operation has experienced a temporary failure Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1760,6 +1904,13 @@ Post Fail operation with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Post Fail operation - Unauthorized Log Trying to mark as Failed a VNF LCM Operation Occurrence without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/fail ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Get Fail operation Log Trying to perform a GET. This method should not be implemented. Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1964,6 +2115,24 @@ Post Create subscription with not permitted authorization scope Log Verify notification endpoint is tested Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Post Create subscription - Unauthorized Log Trying to create a subscription without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/lccnSubscriptionRequest.json ${body}= Format String ${template} callback_uri=${callback_uri}:${callback_port} callback_endpoint=${callback_endpoint} Log Creating mock request and response to handle GET operation on notification endpoint &{notification_request}= Create Mock Request Matcher GET ${callback_endpoint} &{notification_response}= Create Mock Response status_code=204 Log Issue the subscription request Create Mock Expectation ${notification_request} ${notification_response} Post ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions ${body} allow_redirects=false ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Log Verify notification endpoint is tested Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} PUT subscriptions log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -2029,6 +2198,14 @@ Get Individual subscription with not permitted authorization scope Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Get Individual Subscription - Unauthorized log Trying to get information about an individual subscription without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Put Individual subscription log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -2344,6 +2521,29 @@ POST Change Current VNF Package Task with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change current VNF Package Task - VNF instance not found Log Trying to change current VNF package task for a non-existing VNF instance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/changeCurrentVnfPkgRequest.json ${body}= Format String ${template} vnfdId=${vnfdId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${notExistingVnfInstanceId}/change_vnfpkg ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change current VNF Package Task - Unauthorized Log Trying to change current VNF package task without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/changeCurrentVnfPkgRequest.json ${body}= Format String ${template} vnfdId=${vnfdId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/change_vnfpkg ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Change Current VNF Package Task log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -2456,6 +2656,16 @@ POST Create VNF Snapshot Task with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create VNF Snapshot Task - Unauthorized Log Trying to request a snapshot of a VNF instance without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/CreateVnfSnapshotRequest.json ${body}= Format String ${template} vnfSnapshotInfoId=${vnfSnapshotInfoId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/create_snapshot ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Create VNF Snapshot Task log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -2583,6 +2793,16 @@ POST Revert to VNF Snapshot Task with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Revert to VNF Snapshot Task - Unauthorized Log Trying to initiate revert to VNF snapshot task without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/RevertToVnfSnapshotRequest.json ${body}= Format String ${template} vnfSnapshotInfoId=${vnfSnapshotInfoId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/revert_to_snapshot ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create a new VNF Snapshot Log Create VNF snapshot by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -2743,6 +2963,16 @@ POST Create a new VNF Snapshot with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create a new VNF Snapshot - Unauthorized Log Create VNF snapshot without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template} = Get File jsons/CreateVnfSnapshotInfoRequest.json ${body}= Format String ${template} vnfSnapshotPkgId=${vnfSnapshotPkgId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST individual VNF Snapshot log Trying to perform a POST. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -2852,6 +3082,14 @@ GET individual VNF Snapshot with not permitted authorization scope Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots/${vnfSnapshotInfoId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Individual VNF Snapshot - Unauthorized Log Trying to get information about an individual VNF snapshot without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots/${vnfSnapshotInfoId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Check Postcondition VNF Snapshot Resource Is Deleted GET individual VNF Snapshot Loading Loading @@ -2936,6 +3174,14 @@ GET VNF State Snapshot - Complete with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET VNF State Snapshot - Unauthorized log Trying to fetch the complete contents of an VNF State Snapshot without authorization Set Headers {"Accept":"${ACCEPT_OCTET}"} Set Headers {"Version": "${API_VERSION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots/${vnfSnapshotInfoId}/vnf_state_snapshot ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} PUT VNF State Snapshot log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -3039,6 +3285,16 @@ DELETE Select VNF Deployable Modules ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Select VNF Deployable Module - Unauthorized log Trying to select deployable modules of VNF instance without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/SelectVnfDeployableModulesRequest.json ${body}= Format String ${template} Post ${apiRoot}/vnflcm/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/select_depl_mods ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Check HTTP Content-Type Header Is Set Log Check Content-Type HTTP Header Loading Loading @@ -3072,6 +3328,15 @@ POST instantiate individual vnfInstance - Unauthorized ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST cancel operation task - Unauthorized Log Trying to cancel operation task witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/cancel ${CancelMode} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create a new vnfInstance with Invalid vnfdId Log Create VNF instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances with invalid vnfdId Set Headers {"Accept":"${ACCEPT}"} Loading @@ -3084,6 +3349,16 @@ POST Create a new vnfInstance with Invalid vnfdId ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create a new vnfInstance - Unauthorized Log Trying to Create a new vnfInstance witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${body}= Get File jsons/createVnfRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Scale vnfInstance Scale Vertical Compute Log Trying to scale a vnf Instance vertically by scaling the compute Set Headers {"Accept":"${ACCEPT}"} Loading Loading
SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot +282 −7 Original line number Diff line number Diff line Loading @@ -340,6 +340,26 @@ POST Change External VNF Connectivity ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change external VNF connectivity - VNF instance not found Log Trying to change the external connectivity of a non-existing VNF instance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${body}= Get File jsons/changeExtVnfConnectivityRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${notExistingVnfInstanceId}/change_ext_conn ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change External VNF Connectivity - Unauthorized Log Trying to change the external connectivity of a VNF instance without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${body}= Get File jsons/changeExtVnfConnectivityRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/change_ext_conn ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change External VNF Connectivity with permitted authorization scope Log Trying to change the external connectivity of a VNF instance with permitted authorization scope. ${scopeValue}= Create Dictionary scopeValue=${CHANGE_EXT_CONN_PERMITTED_SCOPE} Loading Loading @@ -464,6 +484,16 @@ POST Change VNF deployment flavour with not permitted authorization scope Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/change_flavour ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change VNF deployment flavour - Unauthorized Log Trying to change the deployment flavour of a VNF instance without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/changeVnfFlavourRequest.json ${body}= Format String ${template} newFlavourId=${Flavour_ID} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/change_flavour ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Change VNF deployment flavour log Trying to perform a GET. This method should not be implemented Loading Loading @@ -695,6 +725,15 @@ GET individual vnfInstance ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET individual vnfInstance - Unauthorized log Trying to get information about an individual VNF instance Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET individual vnfInstance with permitted authorization scope log Trying to get information about an individual VNF instance with permitted authorization scope ${scopeValue}= Create Dictionary scopeValue=${VNF_INSTANCE_INFO_READONLY_PERMITTED_SCOPE} Loading Loading @@ -817,6 +856,16 @@ POST instantiate individual vnfInstance with conflict Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${instantiatedVnfInstanceId}/instantiate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Instantiate a vnfInstance - Not Found Log Trying Instantiate a vnfInstance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${body}= Get File jsons/instantiateVnfRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${notExistingVnfInstanceId}/instantiate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET instantiate individual vnfInstance log Trying to perform a GET. This method should not be implemented Loading Loading @@ -936,6 +985,18 @@ POST Scale vnfInstance with not permitted authorization scope Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/scale ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST scale vnfInstance - Unauthorized Log Trying to scale a vnf Instance witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/scaleVnfRequest.json ${body}= Format String ${template} scaletype=${scaletype} scaleAspectId=${scaleAspectId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/scale ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Scale vnfInstance Log Trying to get a scale a vnf Instance Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1049,6 +1110,17 @@ POST Scale vnfInstance to level with InstantiationLevelId attribute with not per Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/scale_to_level ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST scale vnfInstance to level with InstantiationLevelId attribute - Unauthorized Log Trying to scale a vnf Instance to level without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/scaleVnfToLevelRequestInstantiationLevelId.json ${body}= Format String ${template} instantiationLevelId=${instantiationLevelId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/scale_to_level ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Scale vnfInstance to level log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1133,6 +1205,27 @@ POST Terminate VNF with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Terminate a vnfInstance - Not Found Log Trying to terminate a VNF instance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${body}= Get File jsons/terminateVnfRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${notExistingVnfInstanceId}/terminate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Terminate a vnfInstance - Unauthorized Log Trying to terminate a VNF instance without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${body}= Get File jsons/terminateVnfRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/terminate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Terminate VNF log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1229,6 +1322,16 @@ POST Heal VNF with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Heal a vnfInstance - Unauthorized Log Trying to heal a vnf Instance witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/healVnfRequest.json ${body}= Format String ${template} healingCause=${healingCause} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/heal ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Heal VNF log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1357,6 +1460,17 @@ POST Operate VNF with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Operate a vnfInstance - Unauthorized Log Trying to operate a vnf Instance witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/operateVnfRequest.json ${body}= Format String ${template} changeStateTo=${changeStateTo} stopType=${stopType} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/operate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Post VNF LCM Operation occurrences log Trying to perform a POST. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1470,6 +1584,13 @@ GET VNF LCM Operation occurrences with not permitted authorization scope Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET status information about multiple VNF LCM operation occurrences - Unauthorized Log Trying to get VNF LCM Operation occurrences without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} PUT VNF LCM Operation occurrences log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1533,6 +1654,14 @@ Get Individual VNF LCM Operation occurrences with not permitted authorization sc Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Get Individual VNF LCM Operation occurrences - Unauthorized Log Trying to get Individual VNF LCM Operation occurrences without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Put multiple VNF instances log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1636,6 +1765,13 @@ Post Retry operation with not permitted authorization scope Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/retry ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Retry operation task - Unauthorized Log Trying to retry a VNF LCM Operation Occurrence without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/retry ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Post Rollback operation Log Rollback a VNF lifecycle operation if that operation has experienced a temporary failure Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1713,6 +1849,14 @@ Post Rollback operation with not permitted authorization scope Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/rollback ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Rollback operation task - Unauthorized Log Trying to rollback a VNF LCM Operation Occurrence without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/rollback ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Post Fail operation Log mark as Failed a VNF lifecycle operation if that operation has experienced a temporary failure Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -1760,6 +1904,13 @@ Post Fail operation with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Post Fail operation - Unauthorized Log Trying to mark as Failed a VNF LCM Operation Occurrence without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/fail ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Get Fail operation Log Trying to perform a GET. This method should not be implemented. Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -1964,6 +2115,24 @@ Post Create subscription with not permitted authorization scope Log Verify notification endpoint is tested Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Post Create subscription - Unauthorized Log Trying to create a subscription without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/lccnSubscriptionRequest.json ${body}= Format String ${template} callback_uri=${callback_uri}:${callback_port} callback_endpoint=${callback_endpoint} Log Creating mock request and response to handle GET operation on notification endpoint &{notification_request}= Create Mock Request Matcher GET ${callback_endpoint} &{notification_response}= Create Mock Response status_code=204 Log Issue the subscription request Create Mock Expectation ${notification_request} ${notification_response} Post ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions ${body} allow_redirects=false ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Log Verify notification endpoint is tested Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} PUT subscriptions log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -2029,6 +2198,14 @@ Get Individual subscription with not permitted authorization scope Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Get Individual Subscription - Unauthorized log Trying to get information about an individual subscription without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Put Individual subscription log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -2344,6 +2521,29 @@ POST Change Current VNF Package Task with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change current VNF Package Task - VNF instance not found Log Trying to change current VNF package task for a non-existing VNF instance. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/changeCurrentVnfPkgRequest.json ${body}= Format String ${template} vnfdId=${vnfdId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${notExistingVnfInstanceId}/change_vnfpkg ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Change current VNF Package Task - Unauthorized Log Trying to change current VNF package task without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/changeCurrentVnfPkgRequest.json ${body}= Format String ${template} vnfdId=${vnfdId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/change_vnfpkg ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Change Current VNF Package Task log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -2456,6 +2656,16 @@ POST Create VNF Snapshot Task with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create VNF Snapshot Task - Unauthorized Log Trying to request a snapshot of a VNF instance without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/CreateVnfSnapshotRequest.json ${body}= Format String ${template} vnfSnapshotInfoId=${vnfSnapshotInfoId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/create_snapshot ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Create VNF Snapshot Task log Trying to perform a GET. This method should not be implemented Set Headers {"Version": "${API_VERSION}"} Loading Loading @@ -2583,6 +2793,16 @@ POST Revert to VNF Snapshot Task with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Revert to VNF Snapshot Task - Unauthorized Log Trying to initiate revert to VNF snapshot task without authorization. Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/RevertToVnfSnapshotRequest.json ${body}= Format String ${template} vnfSnapshotInfoId=${vnfSnapshotInfoId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/revert_to_snapshot ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create a new VNF Snapshot Log Create VNF snapshot by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -2743,6 +2963,16 @@ POST Create a new VNF Snapshot with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create a new VNF Snapshot - Unauthorized Log Create VNF snapshot without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template} = Get File jsons/CreateVnfSnapshotInfoRequest.json ${body}= Format String ${template} vnfSnapshotPkgId=${vnfSnapshotPkgId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST individual VNF Snapshot log Trying to perform a POST. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -2852,6 +3082,14 @@ GET individual VNF Snapshot with not permitted authorization scope Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots/${vnfSnapshotInfoId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET Individual VNF Snapshot - Unauthorized Log Trying to get information about an individual VNF snapshot without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots/${vnfSnapshotInfoId} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Check Postcondition VNF Snapshot Resource Is Deleted GET individual VNF Snapshot Loading Loading @@ -2936,6 +3174,14 @@ GET VNF State Snapshot - Complete with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} GET VNF State Snapshot - Unauthorized log Trying to fetch the complete contents of an VNF State Snapshot without authorization Set Headers {"Accept":"${ACCEPT_OCTET}"} Set Headers {"Version": "${API_VERSION}"} Get ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots/${vnfSnapshotInfoId}/vnf_state_snapshot ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} PUT VNF State Snapshot log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading Loading @@ -3039,6 +3285,16 @@ DELETE Select VNF Deployable Modules ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Select VNF Deployable Module - Unauthorized log Trying to select deployable modules of VNF instance without authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/SelectVnfDeployableModulesRequest.json ${body}= Format String ${template} Post ${apiRoot}/vnflcm/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/select_depl_mods ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Check HTTP Content-Type Header Is Set Log Check Content-Type HTTP Header Loading Loading @@ -3072,6 +3328,15 @@ POST instantiate individual vnfInstance - Unauthorized ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST cancel operation task - Unauthorized Log Trying to cancel operation task witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/cancel ${CancelMode} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create a new vnfInstance with Invalid vnfdId Log Create VNF instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances with invalid vnfdId Set Headers {"Accept":"${ACCEPT}"} Loading @@ -3084,6 +3349,16 @@ POST Create a new vnfInstance with Invalid vnfdId ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Create a new vnfInstance - Unauthorized Log Trying to Create a new vnfInstance witout authorization Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${body}= Get File jsons/createVnfRequest.json Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Scale vnfInstance Scale Vertical Compute Log Trying to scale a vnf Instance vertically by scaling the compute Set Headers {"Accept":"${ACCEPT}"} Loading