From c54d420352dcfb85d984b94a09dc897de10610ea Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 29 Nov 2018 23:41:37 +0100 Subject: [PATCH] NsiTopic: added name, description and datacenter to NSI record Change-Id: Iced7d9a9d72b04be375b0aedcf7df906a1c66f0a Signed-off-by: garciadeblas --- osm_nbi/instance_topics.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osm_nbi/instance_topics.py b/osm_nbi/instance_topics.py index c3471ea..210a207 100644 --- a/osm_nbi/instance_topics.py +++ b/osm_nbi/instance_topics.py @@ -796,7 +796,11 @@ class NsiTopic(BaseTopic): # TODO: Equal as template for now nsi_descriptor = { "id": nsi_id, + "name": slice_request["nsiName"], + "description": slice_request.get("nsiDescription", ""), + "datacenter": slice_request["vimAccountId"], "nst-ref": nstd["id"], + # "instantiate_params": slice_request, "instantiation-parameters": { "netslice-subnet": [] }, -- 2.25.1