fix this later
authorstevenvanrossem <steven.vanrossem@intec.ugent.be>
Mon, 24 Apr 2017 02:45:43 +0000 (04:45 +0200)
committerstevenvanrossem <steven.vanrossem@intec.ugent.be>
Mon, 24 Apr 2017 02:45:43 +0000 (04:45 +0200)
src/emuvim/api/sonata/dummygatekeeper.py

index 052d716..5214146 100755 (executable)
@@ -486,8 +486,8 @@ class Service(object):
                         self.package_content_path,
                         make_relative_path(pc.get("name")))
                     vnfd = load_yaml(vnfd_path)
-                    self.vnfds[vnfd.get("id")] = vnfd
-                    LOG.debug("Loaded VNFD: %r" % vnfd.get("id"))
+                    self.vnfds[vnfd.get("name")] = vnfd
+                    LOG.debug("Loaded VNFD: %r" % vnfd.get("name"))
 
     def _load_saps(self):
         # create list of all SAPs