From: stevenvanrossem Date: Mon, 24 Apr 2017 02:36:58 +0000 (+0200) Subject: use id iso name to identify a vnfd X-Git-Tag: v3.1~30^2~16 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=ae8da7c21d4f308c4b7b58f9871ed4108e429aa7;p=osm%2Fvim-emu.git use id iso name to identify a vnfd --- diff --git a/src/emuvim/api/sonata/dummygatekeeper.py b/src/emuvim/api/sonata/dummygatekeeper.py index 5214146..052d716 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("name")] = vnfd - LOG.debug("Loaded VNFD: %r" % vnfd.get("name")) + self.vnfds[vnfd.get("id")] = vnfd + LOG.debug("Loaded VNFD: %r" % vnfd.get("id")) def _load_saps(self): # create list of all SAPs