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
3a5eb54b
Commit
3a5eb54b
authored
4 years ago
by
Hammad Zafar
Committed by
Giacomo Bernini
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
updated importing of variables for NSD
parent
197891b1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!199
Merge "3.3.1 dev" into "release 3" master
,
!164
SOL005 NSD Management - Implementation of deltas between v3.3.1 and v2.7.1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SOL005/NSDManagement-API/NSDManagementKeywords.robot
+4
-2
4 additions, 2 deletions
SOL005/NSDManagement-API/NSDManagementKeywords.robot
with
4 additions
and
2 deletions
SOL005/NSDManagement-API/NSDManagementKeywords.robot
+
4
−
2
View file @
3a5eb54b
...
...
@@ -10,8 +10,8 @@ Library JSONSchemaLibrary schemas/
Library
RequestsLibrary
Library
Process
Library
String
Variables
descriptors/SOL006/NSD/nsd_SOL006.yaml
Variables
descriptors/SOL001/NSD/nsd_SOL001.yaml
#
Variables descriptors/SOL006/NSD/nsd_SOL006.yaml
#
Variables descriptors/SOL001/NSD/nsd_SOL001.yaml
*** Keywords ***
GET all Network Service Descriptors Information
...
...
@@ -1532,6 +1532,7 @@ PARSE the NS Descriptor File
Run Keyword If
'
${descriptorType}
'=='SOL001'
Fetch Information from SOL001 NS descriptor file
ELSE
Fetch Information from SOL006 NS descriptor file
Fetch Information from SOL001 NS descriptor file
Import Variables
${CURDIR}
/descriptors/SOL001/NSD/nsd_SOL001.yaml
${ns_descriptor_id}
=
Get Variable Value
${topology_template.node_templates.properties.descriptorId}
${designer}
=
Get Variable Value
${topology_template.node_templates.properties.designer}
${version}
=
Get Variable Value
${topology_template.node_templates.properties.version}
...
...
@@ -1545,6 +1546,7 @@ Fetch Information from SOL001 NS descriptor file
Set Global Variable
${NS_InvariantID}
${invariantId}
Fetch Information from SOL006 NS descriptor file
Import Variables
${CURDIR}
/descriptors/SOL006/NSD/nsd_SOL006.yaml
${nsd_id}
=
Get Variable Value
${nfv.nsd[0].id}
Set Global Variable
${NS_DescriptorID}
${nsd_id}
...
...
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