+ # TODO: store fixed IP address in the record (if it exists in the ICP)
+ # if iface type is SRIOV or PASSTHROUGH, set pci-interfaces flag to True
+ if vdu_iface.get("type") in ("SR-IOV", "PCI-PASSTHROUGH"):
+ ivld_index = utils.find_index_in_list(vnfd.get("int-virtual-link-desc", ()),
+ lambda ivld:
+ ivld["id"] == icp.get("int-virtual-link-desc")
+ )
+ vnfr_descriptor["vld"][ivld_index]["pci-interfaces"] = True