From 06aaa024bc3ee4ee5faf16188cc55f00277e6711 Mon Sep 17 00:00:00 2001 From: Michael Marchetti Date: Thu, 12 Jan 2017 14:23:06 -0500 Subject: [PATCH] - Fix for getting vnfd id, no object named vnfd_ref. - the failure causes the VNFD to not go active when utilizing a charm Signed-off-by: Michael Marchetti --- .../rwconman/rift/tasklets/rwconmantasklet/rwconman_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/rwconman_config.py b/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/rwconman_config.py index caf09b5a..0abed993 100644 --- a/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/rwconman_config.py +++ b/rwcm/plugins/rwconman/rift/tasklets/rwconmantasklet/rwconman_config.py @@ -831,10 +831,10 @@ class ConfigManagerConfig(object): vnfr_name = vnfr.name - vnfd = yield from self.cmdts_obj.get_vnfd(vnfr.vnfd_ref) + vnfd = yield from self.cmdts_obj.get_vnfd(vnfr.vnfd.id) if vnfd is None: msg = "VNFR {}, unable to get VNFD {}". \ - format(vnfr_name, vnfr.vnfd_ref) + format(vnfr_name, vnfr.vnfd.id) self._log.error(msg) raise InitialConfigError(msg) -- 2.25.1