Allowed >1 thresholds of resource usage in VM placement
This commit is contained in:
parent
34ee836a9d
commit
3cf767281e
@ -56,7 +56,7 @@ def get_available_resources(threshold, usage, total):
|
||||
""" Get a map of the available resource capacity.
|
||||
|
||||
:param threshold: A threshold on the maximum allowed resource usage.
|
||||
:type threshold: float,>=0,<=1
|
||||
:type threshold: float,>=0
|
||||
|
||||
:param usage: A map of hosts to the resource usage.
|
||||
:type usage: dict(str: number)
|
||||
|
Loading…
x
Reference in New Issue
Block a user