Commit 1f334ee8 authored by uihassan's avatar uihassan
Browse files

Descriptors for 7.3.1.2.4 added

parent d5851aa7
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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}"}
+0 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
  "vnfProductName":"{vnfProductName}",
  "vnfSoftwareVersion":"{vnfSoftwareVersion}",
  "vnfdVersion":"{vnfdVersion}",
  "vnfConfigurableProperties":"{vnfConfigurableProperties}",
  "instantiatedVnfInfo":{{
  	"flavourId":"{flavourId}",
  	"vnfState":"STARTED"
+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