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
46830e43
Commit
46830e43
authored
4 years ago
by
Sana Zulfiqar
Browse files
Options
Downloads
Patches
Plain Diff
Descriptor checks added in 7.3.1.12.2
parent
2e63adf7
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
,
!145
SOL003 - Implementation of additional test steps for checks against VNFD content in v2.7.1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot
+9
-12
9 additions, 12 deletions
...FLifecycleManagement-API/VnfLcmMntOperationKeywords.robot
with
9 additions
and
12 deletions
SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot
+
9
−
12
View file @
46830e43
...
...
@@ -1342,21 +1342,18 @@ Check HTTP Response Body of Individual VNF LCM Operation occurrences content aga
Run Keyword If
${check_descriptors}
=
= 1
Check Individual VNF LCM Operation Occurence Content
Check Individual VNF LCM Operation Occurence Content
Run Keyword If
'
${descriptorType}
'=='SOL001'
Parse SOL001 VNF LCM
ELSE
Parse SOL006 VNF LCM
PARSE the Descriptor File
Match the VNF LCM Operation Occurence Response Attributes with Descriptors
Parse SOL001 Individual VNF LCM
Get key for VNF Descriptor
Match the VNF LCM Operation Occurence Response Attributes with Descriptors
#Checking Response attributes with VNF Descriptors
Should Be Equal As Strings
${response['body']['vnfdId']}
${Descriptor_ID}
Should Be Equal As Strings
${response['body']['vnfdVersion']}
${Descriptor_Version}
List Should Contain Value
${VDU_IDs}
${response['body']['resourceChanges']['AffectedVnfc']['vduId']}
List Should Contain value
${Storage_IDs}
${response['body']['resourceChanges']['affectedVirtualStorages']['virtualStorageDescId']}
List Should Contain Value
${VirtualLink_IDs}
${response['body']['resourceChanges']['affectedVirtualLinks']['vnfVirtualLinkDescId']}
${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}
Should Be Equal As Strings
${response['body']['changedInfo']['vnfdId']}
${descriptor_id}
Should Be Equal As Strings
${response['body']['changedInfo']['vnfdVersion']}
${descriptor_version}
Parse SOL006 Individual VNF LCM
${descriptor_id}
=
Get Variable Value
${nfv.vnfd[0].id}
${descriptor_version}
=
Get Variable Value
${nfv.vnfd[0].version}
Should Be Equal As Strings
${response['body']['changedInfo']['vnfdId']}
${descriptor_id}
Should Be Equal As Strings
${response['body']['changedInfo']['vnfdVersion']}
${descriptor_version}
Add VNF Descriptor Content to VNF Instance
Run Keyword If
'
${descriptorType}
'=='SOL001'
Parse SOL001 VNF Instance
ELSE
Parse SOL006 VNF Instance
...
...
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