def search_vm_ref_by_identifier(session, identifier):
 vm_ref = (_get_vm_ref_from_vm_uuid(session, identifier) or _get_vm_ref_from_extraconfig(session, identifier) or _get_vm_ref_from_uuid(session, identifier))
 return vm_ref

def search_vm_ref_by_identifier ( session , identifier ) : vm_ref = ( _get_vm_ref_from_vm_uuid ( session , identifier ) or _get_vm_ref_from_extraconfig ( session , identifier ) or _get_vm_ref_from_uuid ( session , identifier ) ) return vm_ref
searches vm reference using the identifier .