Change-Id: I5f38f35e6144abdf048d85b776687f43ebcbc3e7
Signed-off-by: jegan <jegan.s@tataelxsi.co.in>
)
+def get_helm_ee_ref(vnfd, entity_id):
+ return list_utils.find_in_list(
+ get_configuration(vnfd, entity_id).get("execution-environment-list", []),
+ lambda ee: "helm-chart" in ee,
+ )
+
+
def find_software_version(vnfd: dict) -> str:
"""Find the sotware version in the VNFD descriptors
get_scaling_aspect,
get_number_of_instances,
get_juju_ee_ref,
+ get_helm_ee_ref,
get_kdu_resource_profile,
find_software_version,
check_helm_ee_in_ns,
kdu_config
and kdu_config.get("initial-config-primitive")
and get_juju_ee_ref(vnfd, k8s_instance_info["kdu-name"]) is None
+ and get_helm_ee_ref(vnfd, k8s_instance_info["kdu-name"]) is None
):
initial_config_primitive_list = kdu_config.get(
"initial-config-primitive"