+
+ # Charms are also used for deployments with Helm charts.
+ # If deployment unit is a Helm chart/KDU,
+ # vdu_profile_id and vdu_count will be empty string.
+ vdu_profile_id = ""
+
+ if vdu_count is None:
+ vdu_count = ""
+
+ elif vdu_count:
+ vdu_profile_id = vnfrs["vdur"][int(vdu_count)]["vdu-id-ref"]
+