def get_all_cluster_mors(session):
    try:
        results = session._call_method(vim_util, "get_objects",
                                        "ClusterComputeResource", ["name"])
        session._call_method(vutil, 'cancel_retrieval',
                             results)
        return results.objects

    except Exception as excep:
        LOG.warning(_LW("Failed to get cluster references %s"), excep)
Get all the clusters in the vCenter.
dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/get_all_cluster_mors