Merge "Bug 820 fix - Unable to update NST via CLI"
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 30 Aug 2019 07:24:06 +0000 (09:24 +0200)
committerGerrit Code Review <root@osm.etsi.org>
Fri, 30 Aug 2019 07:24:06 +0000 (09:24 +0200)
osmclient/sol005/nst.py

index b7c67be..ca62235 100644 (file)
@@ -174,6 +174,6 @@ class Nst(object):
 
     def update(self, name, filename):
         nst = self.get(name)
-        endpoint = '{}/{}/netslice_templates_content'.format(self._apiBase, nst['_id'])
+        endpoint = '{}/{}/nst_content'.format(self._apiBase, nst['_id'])
         self.create(filename=filename, update_endpoint=endpoint)