Bug 1139 Adding ns-configuration data 94/9394/1
authorpreethika.p <preethika.p@tataelxsi.co.in>
Fri, 10 Jul 2020 13:14:22 +0000 (13:14 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 13 Jul 2020 09:48:36 +0000 (09:48 +0000)
Change-Id: I55f13a301d10ac5ee4332612565c2663f4bb35d8
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
osm_nbi/instance_topics.py

index 7a6397a..12deff7 100644 (file)
@@ -256,7 +256,8 @@ class NsrTopic(BaseTopic):
                 "deploymentStatus": None,
                 "configurationStatus": None,
                 "vcaStatus": None,
-                "nsd": {k: v for k, v in nsd.items() if k in ("vld", "_id", "id", "constituent-vnfd", "name")},
+                "nsd": {k: v for k, v in nsd.items() if k in ("vld", "_id", "id", "constituent-vnfd", "name",
+                                                              "ns-configuration")},
                 "datacenter": ns_request["vimAccountId"],
                 "resource-orchestrator": "osmopenmano",
                 "description": ns_request.get("nsDescription", ""),