From ccbbb4347bcd4552609c360ab75d55d76a8dfe09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nussbaumer?= <rn@google.com> Date: Mon, 12 Mar 2012 14:18:47 +0100 Subject: [PATCH] constants: Add new spindle_usage parameter to BE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RenΓ© Nussbaumer <rn@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/constants.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/constants.py b/lib/constants.py index 2fd543272..aa93c6531 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -918,6 +918,7 @@ BE_MINMEM = "minmem" BE_VCPUS = "vcpus" BE_AUTO_BALANCE = "auto_balance" BE_ALWAYS_FAILOVER = "always_failover" +BE_SPINDLE_USAGE = "spindle_usage" BES_PARAMETER_TYPES = { BE_MAXMEM: VTYPE_SIZE, @@ -925,6 +926,7 @@ BES_PARAMETER_TYPES = { BE_VCPUS: VTYPE_INT, BE_AUTO_BALANCE: VTYPE_BOOL, BE_ALWAYS_FAILOVER: VTYPE_BOOL, + BE_SPINDLE_USAGE: VTYPE_INT, } BES_PARAMETER_COMPAT = { @@ -1817,6 +1819,7 @@ BEC_DEFAULTS = { BE_VCPUS: 1, BE_AUTO_BALANCE: True, BE_ALWAYS_FAILOVER: False, + BE_SPINDLE_USAGE: 1, } NDC_DEFAULTS = { -- GitLab