Fix bug #677 osm nsi-op-list name' and 'osm nsi-op-show id' returns null 15/7615/1
authorFelipe Vicens <felipe.vicens@atos.net>
Wed, 5 Jun 2019 17:26:04 +0000 (19:26 +0200)
committerFelipe Vicens <felipe.vicens@atos.net>
Wed, 5 Jun 2019 17:27:39 +0000 (19:27 +0200)
Change-Id: I95e9691e9ef0ba8aafb40d6a0a207949c3cfe147
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
osmclient/sol005/nsi.py

index 392d1ab..33c0b92 100644 (file)
@@ -249,7 +249,7 @@ class Nsi(object):
             filter_string = ''
             if filter:
                 filter_string = '&{}'.format(filter)
-            http_code, resp = self._http.get2_cmd('{}?nsiInstanceId={}'.format(
+            http_code, resp = self._http.get2_cmd('{}?netsliceInstanceId={}'.format(
                                                        self._apiBase, nsi['_id'],
                                                        filter_string) )
             #print 'HTTP CODE: {}'.format(http_code)