Skip to content
Snippets Groups Projects
Commit 3a5eb54b authored by Hammad Zafar's avatar Hammad Zafar Committed by Giacomo Bernini
Browse files

updated importing of variables for NSD

parent 197891b1
No related branches found
No related tags found
2 merge requests!199Merge "3.3.1 dev" into "release 3" master,!164SOL005 NSD Management - Implementation of deltas between v3.3.1 and v2.7.1
......@@ -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}
......
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