def _get_vm_ref_from_vm_uuid(session, instance_uuid):
    vm_refs = session._call_method(
        session.vim,
        "FindAllByUuid",
        session.vim.service_content.searchIndex,
        uuid=instance_uuid,
        vmSearch=True,
        instanceUuid=True)
    if vm_refs:
        return vm_refs[0]
Returns the couch datastore instance and datastore name.
dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/_get_vm_ref_from_vm_uuid--crossover with--dataset/ETHPy150Open ooici/pyon/pyon/datastore/couchbase/base_store.py/CouchbaseDataStore._get_datastore