From cd3ab26e38c82a4321ab467ec372adf34efd9128 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Tue, 14 Oct 2008 11:29:12 +0000 Subject: [PATCH] Modify the beparams constants Memory is renamed for easier use. Reviewed-by: ultrotter --- lib/constants.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/constants.py b/lib/constants.py index ebeeb70a1..69049cceb 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -276,10 +276,16 @@ HVS_PARAMETERS = frozenset([ ]) # BE parameter names -BE_MEMSIZE = "memory" +BE_MEMORY = "memory" BE_VCPUS = "vcpus" BE_AUTOBALANCE = "auto_balance" +BES_PARAMETERS = frozenset([ + BE_MEMORY, + BE_VCPUS, + BE_AUTOBALANCE, + ]) + # BE GROUP BEGR_DEFAULT = "default" -- GitLab