Loading SOL002/VNFLifecycleManagement-API/ScaleVNFToLevelTask.robot +13 −0 Original line number Diff line number Diff line Loading @@ -136,6 +136,19 @@ POST Scale a vnfInstance to level with Attribute instantiationLevelId - Unauthor POST Scale a vnfInstance to level with Attribute instantiationLevelId - Unauthorized Check HTTP Response Status Code Is 401 Check HTTP Response Body Json Schema Is ProblemDetails POST Scale a vnfInstance to level with attribute powerProfileId [Documentation] Test ID: 6.3.5.5.11 ... Test title: POST Scale a vnfInstance to level with powerProfileId attribute ... Test objective: The objective is to scale a VNF instance to a target level. ... Pre-conditions: none ... Reference: Clause 5.4.6.3.1 - ETSI GS NFV-SOL 002 [2] v5.3.1 ... Config ID: Config_prod_VE ... Applicability: none ... Post-Conditions: none POST Scale vnfInstance to level with attribute powerProfileId Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check Operation Occurrence Resource Available *** Keywords *** Check resource existence Set Headers {"Accept":"${ACCEPT}"} Loading SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot +12 −1 Original line number Diff line number Diff line Loading @@ -654,6 +654,17 @@ POST Scale vnfInstance to level with instantiationLevelId ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Scale vnfInstance to level with attribute powerProfileId Log Trying to scale a vnf Instance to level 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/scaleVnfToLevelRequestWithPowerProfileId.json ${body}= Format String ${template} powerProfileId=${powerProfileId} 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 Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} Loading SOL002/VNFLifecycleManagement-API/environment/variables.txt +2 −1 Original line number Diff line number Diff line Loading @@ -87,6 +87,7 @@ ${flavourId} vnf flavour ${scaleVnfRequesttype} SCALE_OUT ${scaleVnfRequestAspect} Aspect ${instantiationLevelId} ${powerProfileId} ${newFlavourId} 5a7d81f-e602-4afa-8e13-962fb5a7d81f Loading SOL002/VNFLifecycleManagement-API/jsons/scaleVnfToLevelRequestWithPowerProfileId.json 0 → 100644 +4 −0 Original line number Diff line number Diff line {{ "powerProfileId": "{powerProfileId}", "additionalParams": {} }} No newline at end of file Loading
SOL002/VNFLifecycleManagement-API/ScaleVNFToLevelTask.robot +13 −0 Original line number Diff line number Diff line Loading @@ -136,6 +136,19 @@ POST Scale a vnfInstance to level with Attribute instantiationLevelId - Unauthor POST Scale a vnfInstance to level with Attribute instantiationLevelId - Unauthorized Check HTTP Response Status Code Is 401 Check HTTP Response Body Json Schema Is ProblemDetails POST Scale a vnfInstance to level with attribute powerProfileId [Documentation] Test ID: 6.3.5.5.11 ... Test title: POST Scale a vnfInstance to level with powerProfileId attribute ... Test objective: The objective is to scale a VNF instance to a target level. ... Pre-conditions: none ... Reference: Clause 5.4.6.3.1 - ETSI GS NFV-SOL 002 [2] v5.3.1 ... Config ID: Config_prod_VE ... Applicability: none ... Post-Conditions: none POST Scale vnfInstance to level with attribute powerProfileId Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check Operation Occurrence Resource Available *** Keywords *** Check resource existence Set Headers {"Accept":"${ACCEPT}"} Loading
SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot +12 −1 Original line number Diff line number Diff line Loading @@ -654,6 +654,17 @@ POST Scale vnfInstance to level with instantiationLevelId ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Scale vnfInstance to level with attribute powerProfileId Log Trying to scale a vnf Instance to level 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/scaleVnfToLevelRequestWithPowerProfileId.json ${body}= Format String ${template} powerProfileId=${powerProfileId} 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 Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} Loading
SOL002/VNFLifecycleManagement-API/environment/variables.txt +2 −1 Original line number Diff line number Diff line Loading @@ -87,6 +87,7 @@ ${flavourId} vnf flavour ${scaleVnfRequesttype} SCALE_OUT ${scaleVnfRequestAspect} Aspect ${instantiationLevelId} ${powerProfileId} ${newFlavourId} 5a7d81f-e602-4afa-8e13-962fb5a7d81f Loading
SOL002/VNFLifecycleManagement-API/jsons/scaleVnfToLevelRequestWithPowerProfileId.json 0 → 100644 +4 −0 Original line number Diff line number Diff line {{ "powerProfileId": "{powerProfileId}", "additionalParams": {} }} No newline at end of file