From 885e762d31097919f1f842553bd93faadfd9aec5 Mon Sep 17 00:00:00 2001 From: stevenvanrossem Date: Mon, 24 Apr 2017 04:45:43 +0200 Subject: [PATCH] fix this later --- 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 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 -- 2.25.1