Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NFV - Network Functions Virtualisation
api-tests
Commits
cd760d55
Commit
cd760d55
authored
4 years ago
by
Giacomo Bernini
Browse files
Options
Downloads
Patches
Plain Diff
aligned vnfPackage.zip filename in VNF Package Management
parent
a2f7d9f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!199
Merge "3.3.1 dev" into "release 3" master
,
!193
Merge 2.7.1 dev into Master, for TST010ed271 publication
,
!154
NFV&MEC API Plugtests 2021: changes to fix issues found on SOL002/3/5 v2.7.1 tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
+2
-2
2 additions, 2 deletions
...FPackageManagement-API/VNFPackageManagementKeywords.robot
with
2 additions
and
2 deletions
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
+
2
−
2
View file @
cd760d55
...
...
@@ -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}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment