def get_res_pool_ref(session, cluster):
    # Get the root resource pool of the cluster
    res_pool_ref = session._call_method(vutil,
                                        "get_object_property",
                                        cluster,
                                        "resourcePool")
    return res_pool_ref
Get member of enum - a symbolic constant ID
dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/get_res_pool_ref--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetConstByName