From e56f43ba6fb4b378e1a7daa604d6cedb783919e6 Mon Sep 17 00:00:00 2001 From: esberglu Date: Tue, 20 Mar 2018 15:12:50 -0500 Subject: [PATCH] PowerVM: Add proc_units_factor conf option This introduces a new PowerVM conf option, proc_units_factor, which can range from 0.05 to 1.0 and will default to 0.1. It is used to calculate the physical processing power to assign per vCPU, where 1.0 is a whole physical processor and 0.05 is 1/20th of a physical processor. Change-Id: I67bfe2a6eff86f1947ada7661fc7c3fed81ed28f --- nova/conf/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nova/conf/__init__.py b/nova/conf/__init__.py index 309621c51..377435add 100644 --- a/nova/conf/__init__.py +++ b/nova/conf/__init__.py @@ -51,6 +51,7 @@ from nova.conf import osapi_v21 from nova.conf import paths from nova.conf import pci from nova.conf import placement +from nova.conf import powervm from nova.conf import quota from nova.conf import rdp from nova.conf import remote_debug @@ -103,6 +104,7 @@ osapi_v21.register_opts(CONF) paths.register_opts(CONF) pci.register_opts(CONF) placement.register_opts(CONF) +powervm.register_opts(CONF) quota.register_opts(CONF) rdp.register_opts(CONF) scheduler.register_opts(CONF)