Loading SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot +6 −1 Original line number Diff line number Diff line Loading @@ -508,10 +508,15 @@ PATCH individual vnfInstance Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} ${body}= Get File jsons/patchBodyRequest.json Get key for VNF Descriptor ${descriptor_id}= Get Variable Value ${topology_template.node_templates.${vnfKey}.properties.descriptor_id} ${descriptor_version}= Get Variable Value ${topology_template.node_templates.${vnfKey}.properties.descriptor_version} ${template}= Get File jsons/patchBodyRequest.json ${body}= Format String ${template} vnfdId=${descriptor_id} vnfdVersion= ${descriptor_version} Patch ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId} ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} DELETE individual vnfInstance log Trying to delete an individual VNF instance Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Loading SOL003/VNFLifecycleManagement-API/jsons/createVnfRequest.json +0 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ "vnfProductName":"{vnfProductName}", "vnfSoftwareVersion":"{vnfSoftwareVersion}", "vnfdVersion":"{vnfdVersion}", "vnfConfigurableProperties":"{vnfConfigurableProperties}", "instantiatedVnfInfo":{{ "flavourId":"{flavourId}", "vnfState":"STARTED" Loading SOL003/VNFLifecycleManagement-API/jsons/patchBodyRequest.json +7 −4 Original line number Diff line number Diff line { "vnfInstanceName": "vnf new name", "vnfInstanceDescription": "new description" } No newline at end of file {{ "vnfInstanceName": "vnf string", "vnfInstanceDescription": "string", "vnfdId": "{vnfdId}", "vnfdVersion":"{vnfdVersion}", "metadata":{{}} }} No newline at end of file Loading
SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot +6 −1 Original line number Diff line number Diff line Loading @@ -508,10 +508,15 @@ PATCH individual vnfInstance Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Content-Type": "${CONTENT_TYPE_PATCH}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} ${body}= Get File jsons/patchBodyRequest.json Get key for VNF Descriptor ${descriptor_id}= Get Variable Value ${topology_template.node_templates.${vnfKey}.properties.descriptor_id} ${descriptor_version}= Get Variable Value ${topology_template.node_templates.${vnfKey}.properties.descriptor_version} ${template}= Get File jsons/patchBodyRequest.json ${body}= Format String ${template} vnfdId=${descriptor_id} vnfdVersion= ${descriptor_version} Patch ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId} ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} DELETE individual vnfInstance log Trying to delete an individual VNF instance Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Loading
SOL003/VNFLifecycleManagement-API/jsons/createVnfRequest.json +0 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ "vnfProductName":"{vnfProductName}", "vnfSoftwareVersion":"{vnfSoftwareVersion}", "vnfdVersion":"{vnfdVersion}", "vnfConfigurableProperties":"{vnfConfigurableProperties}", "instantiatedVnfInfo":{{ "flavourId":"{flavourId}", "vnfState":"STARTED" Loading
SOL003/VNFLifecycleManagement-API/jsons/patchBodyRequest.json +7 −4 Original line number Diff line number Diff line { "vnfInstanceName": "vnf new name", "vnfInstanceDescription": "new description" } No newline at end of file {{ "vnfInstanceName": "vnf string", "vnfInstanceDescription": "string", "vnfdId": "{vnfdId}", "vnfdVersion":"{vnfdVersion}", "metadata":{{}} }} No newline at end of file