for vdur in get_iterable(db_vnfr, "vdur"):
if (vdur["vdu-id-ref"] == vdu_id and vdur["count-index"] == vdu_index) or \
(ip_address and vdur.get("ip-address") == ip_address):
for vdur in get_iterable(db_vnfr, "vdur"):
if (vdur["vdu-id-ref"] == vdu_id and vdur["count-index"] == vdu_index) or \
(ip_address and vdur.get("ip-address") == ip_address):