From ae8da7c21d4f308c4b7b58f9871ed4108e429aa7 Mon Sep 17 00:00:00 2001 From: stevenvanrossem Date: Mon, 24 Apr 2017 04:36:58 +0200 Subject: [PATCH] use id iso name to identify a vnfd --- src/emuvim/api/sonata/dummygatekeeper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1