From: garciadeblas Date: Thu, 29 Nov 2018 22:41:37 +0000 (+0100) Subject: NsiTopic: added name, description and datacenter to NSI record X-Git-Tag: v5.0.0~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F7006%2F2;p=osm%2FNBI.git NsiTopic: added name, description and datacenter to NSI record Change-Id: Iced7d9a9d72b04be375b0aedcf7df906a1c66f0a Signed-off-by: garciadeblas --- 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": [] },