Modify the beparams constants
authorIustin Pop <iustin@google.com>
Tue, 14 Oct 2008 11:29:12 +0000 (11:29 +0000)
committerIustin Pop <iustin@google.com>
Tue, 14 Oct 2008 11:29:12 +0000 (11:29 +0000)
Memory is renamed for easier use.

Reviewed-by: ultrotter

lib/constants.py

index ebeeb70..69049cc 100644 (file)
@@ -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"