Revert gerrit 9831 "provide juju parameters to the config primitives" 10/9910/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 22 Oct 2020 14:12:46 +0000 (14:12 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 22 Oct 2020 14:13:25 +0000 (14:13 +0000)
This reverts commit 0e434cac4d986da7e85d075daf9b78d0f8d1039d.

Change-Id: Iafb9f0a5d70b5542f2cd071e784e1ac00210207c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_lcm/ns.py

index a83495a..ecd195a 100644 (file)
@@ -3523,7 +3523,8 @@ class NsLcm(LcmBase):
             self._write_op_status(nslcmop_id, stage)
         return error_detail_list
 
-    def _map_primitive_params(self, primitive_desc, params, instantiation_params):
+    @staticmethod
+    def _map_primitive_params(primitive_desc, params, instantiation_params):
         """
         Generates the params to be provided to charm before executing primitive. If user does not provide a parameter,
         The default-value is used. If it is between < > it look for a value at instantiation_params
@@ -3571,7 +3572,6 @@ class NsLcm(LcmBase):
         if primitive_desc["name"] == "config":
             if "ns_config_info" in instantiation_params:
                 calculated_params["ns_config_info"] = instantiation_params["ns_config_info"]
-            calculated_params["VCA"] = self.vca_config
         return calculated_params
 
     def _look_for_deployed_vca(self, deployed_vca, member_vnf_index, vdu_id, vdu_count_index, kdu_name=None,