bug 839: fix error looking for nsi using a nst 48/7948/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 13 Sep 2019 09:44:42 +0000 (09:44 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 13 Sep 2019 09:49:42 +0000 (09:49 +0000)
Change-Id: Iba0af5eccc16255eb408531fd5b0da3637651274
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_nbi/__init__.py
osm_nbi/descriptor_topics.py

index 1e02f66..d93de2d 100644 (file)
@@ -12,5 +12,5 @@
 # under the License.
 ##
 
-version = '6.0.2.post1'
-version_date = '2018-08-30'
+version = '6.0.2.post3'
+version_date = '2018-09-13'
index 27b51a1..0c9a3a4 100644 (file)
@@ -854,7 +854,7 @@ class NstTopic(DescriptorTopic):
             return
         # Get Network Slice Template from Database
         _filter = self._get_project_filter(session)
-        _filter["nst-id"] = _id
+        _filter["_admin.nst-id"] = _id
         if self.db.get_list("nsis", _filter):
             raise EngineException("there is at least one Netslice Instance using this descriptor",
                                   http_code=HTTPStatus.CONFLICT)