From: tierno Date: Wed, 31 Oct 2018 08:41:53 +0000 (+0100) Subject: FIX bug 576 X-Git-Tag: v5.0.0~15 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F6807%2F1;p=osm%2FLCM.git FIX bug 576 Change-Id: I4d3517f945917593532b32749ee08013cb80c202 Signed-off-by: tierno --- diff --git a/osm_lcm/lcm.py b/osm_lcm/lcm.py index 9e86b068..a0405f99 100644 --- a/osm_lcm/lcm.py +++ b/osm_lcm/lcm.py @@ -27,8 +27,8 @@ min_RO_version = [0, 5, 72] min_n2vc_version = "0.0.2" min_common_version = "0.1.11" # uncomment if LCM is installed as library and installed, and get them from __init__.py -lcm_version = '0.1.20' -lcm_version_date = '2018-10-15' +lcm_version = '0.1.21' +lcm_version_date = '2018-10-31' class Lcm: diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 2d9852b0..8f8cdac2 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -331,8 +331,8 @@ class NsLcm(LcmBase): if ns_params.get("vduImage"): RO_ns_params["vduImage"] = ns_params["vduImage"] - if ns_params.get("ssh-authorized-key"): - RO_ns_params["cloud-config"] = {"key-pairs": ns_params["ssh-authorized-key"]} + if ns_params.get("ssh_keys"): + RO_ns_params["cloud-config"] = {"key-pairs": ns_params["ssh_keys"]} for vnf_params in get_iterable(ns_params, "vnf"): for constituent_vnfd in nsd["constituent-vnfd"]: if constituent_vnfd["member-vnf-index"] == vnf_params["member-vnf-index"]: