summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaopengzhang <zhang.maopeng1@zte.com.cn>2017-09-22 11:48:35 +0800
committermaopengzhang <zhang.maopeng1@zte.com.cn>2017-09-22 11:48:35 +0800
commitba93dd36a742029283037009e6d4409b6e149e8c (patch)
tree916a1a75a87cea75f22fa3d5233332786d4fa4a8
parent61bbe1952821a9c1b6e3f73b75e1f3b2f638e51e (diff)
Add NS package parameter
Add NS package parameter,nsdProvider,nsdVersion, etc Change-Id: Ibcb94116612b3dabc969e4ddca35a1b1c8605df7 Issue-ID: VFC-33 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
-rw-r--r--catalog/packages/ns_package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog/packages/ns_package.py b/catalog/packages/ns_package.py
index 90e330d0..134e2ac8 100644
--- a/catalog/packages/ns_package.py
+++ b/catalog/packages/ns_package.py
@@ -178,7 +178,9 @@ class NsPackage(object):
for ns in nss:
csars.append({
"csarId": ns.nsPackageId,
- "nsdId": ns.nsdId
+ "nsdId": ns.nsdId,
+ "nsdProvider": ns.nsdDesginer,
+ "nsdVersion": ns.nsdVersion
})
return [0,csars]