+
+ def get_vca_deployment_info(self, nsr_id, vnf_member_index, vdur_name):
+ nsr = self.common_db.get_nsr(nsr_id)
+ for vca_deployment in nsr["_admin"]["deployed"]["VCA"]:
+ if vca_deployment:
+ if vca_deployment['member-vnf-index'] == vnf_member_index and vca_deployment['vdu_name'] == vdur_name:
+ return vca_deployment
+ raise VcaDeploymentInfoNotFound("VCA deployment info for nsr_id {}, index {} and vdur_name {} not found."
+ .format(nsr_id, vnf_member_index, vdur_name))