Add support for increasing the ram allocation ratio

This commit is contained in:
James Page
2014-09-16 09:59:35 +01:00
parent 4e3db0b330
commit 66e54429ff
3 changed files with 10 additions and 0 deletions

View File

@@ -251,4 +251,5 @@ class NovaConfigContext(WorkerConfigContext):
def __call__(self):
ctxt = super(NovaConfigContext, self).__call__()
ctxt['cpu_allocation_ratio'] = config('cpu-allocation-ratio')
ctxt['ram_allocation_ratio'] = config('ram-allocation-ratio')
return ctxt