Skip to content
Snippets Groups Projects
Commit cd760d55 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

aligned vnfPackage.zip filename in VNF Package Management

parent a2f7d9f9
No related branches found
No related tags found
3 merge requests!199Merge "3.3.1 dev" into "release 3" master,!193Merge 2.7.1 dev into Master, for TST010ed271 publication,!154NFV&MEC API Plugtests 2021: changes to fix issues found on SOL002/3/5 v2.7.1 tests
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment