FIX bug 576 07/6807/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 31 Oct 2018 08:41:53 +0000 (09:41 +0100)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 31 Oct 2018 08:41:53 +0000 (09:41 +0100)
Change-Id: I4d3517f945917593532b32749ee08013cb80c202
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_lcm/lcm.py
osm_lcm/ns.py

index 9e86b06..a0405f9 100644 (file)
@@ -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:
index 2d9852b..8f8cdac 100644 (file)
@@ -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"]: