Change-Id: Ida6dd3b900eea05badffc1b405985e4dd813c5e5
Signed-off-by: garciaale <agarcia@whitestack.com>
if kdu_params and kdu_params.get("config-units"):
kdur["config-units"] = kdu_params["config-units"]
- kdu_model_data = all_kdu_models[all_kdu_profiles_models[kdur["name"]]]
+ kdu_model_data = all_kdu_models[all_kdu_profiles_models[kdur["kdu-name"]]]
kdur[kdu_model_data.get("kdu-model-type")] = kdu_model or kdu_model_data
if not vnfr_descriptor.get("kdur"):
vnfr_descriptor["kdur"] = []