Commit cd760d55 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

aligned vnfPackage.zip filename in VNF Package Management

parent a2f7d9f9
......@@ -525,7 +525,7 @@ Send PUT Request for individual VNF Package Content
Send PUT Request to upload VNF Package Content
Log Trying to perform a PUT. This method upload the content of a NSD
Create Session nbi ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} headers={"Accept": "${ACCEPT_ZIP}", "Content-Type": "application/zip", "Authorization": "${AUTHORIZATION}"} verify=False
${body}= Get Binary File files/hackfest_gateway_vnfd-1.0.tar.gz
${body}= Get Binary File files/vnfPackage.zip
${response}= Put Request nbi ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_packages/${newVnfPackageId}/package_content data=${body}
Should Be Empty ${response.text}
${response}= Create Dictionary status=${response.status_code}
......@@ -542,7 +542,7 @@ Check Postcondition VNF Package Content is uploaded and available in the NFVO
Send PUT Request to upload VNF Package Content with conflict due to onboarding state
Log Trying to perform a PUT. This method upload the content of a NSD
Create Session nbi ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} headers={"Accept": "${ACCEPT_ZIP}", "Content-Type": "application/zip", "Authorization": "${AUTHORIZATION}"} verify=False
${body}= Get Binary File files/hackfest_gateway_vnfd-1.0.tar.gz
${body}= Get Binary File files/vnfPackage.zip
${response}= Put Request nbi ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_packages/${creatingVnfPackageId}/package_content data=${body}
Should Be Empty ${response.text}
${response}= Create Dictionary status=${response.status_code}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment