摘要 |
A computer-implemented method, carried out by one or more processors, for policy based virtual resource allocation. In an embodiment, the method includes identifying a number of host resources specified by host resource requirements for a first resource consumer. The method determines if the host resource requirements include a list of host resource pools for the first resource consumer. Responsive to determining that the host resource requirements include the list of host resource pools for the first resource consumer, a first set of eligible host resource pools is identified. An allocation policy may be identified, where the allocation policy includes one or more parameters for allocating host resources. Host resources from the first set of eligible host resource pools are allocated based on the allocation policy. |
主权项 |
1. A method for policy based virtual resource allocation, the method comprising:
identifying, by one or more processors, a number of host resources specified by host resource requirements for a first resource consumer; determining, by one or more processors, if the host resource requirements include a list of host resource pools for the first resource consumer; responsive to determining that the host resource requirements includes the list of host resource pools for the first resource consumer, identifying, by one or more processors, a first set of eligible host resource pools; identifying, by one or more processors, an allocation policy, wherein the allocation policy includes one or more parameters for allocating host resources; and allocating, by one or more processors, host resources from the first set of eligible host resource pools based on the allocation policy. |