From: stevenvanrossem Date: Mon, 24 Apr 2017 02:45:43 +0000 (+0200) Subject: fix this later X-Git-Tag: v3.1~30^2~15 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=885e762d31097919f1f842553bd93faadfd9aec5;p=osm%2Fvim-emu.git fix this later --- diff --git a/src/emuvim/api/sonata/dummygatekeeper.py b/src/emuvim/api/sonata/dummygatekeeper.py index 052d716..5214146 100755 --- a/src/emuvim/api/sonata/dummygatekeeper.py +++ b/src/emuvim/api/sonata/dummygatekeeper.py @@ -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