projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8705eb9
)
Modify the beparams constants
author
Iustin Pop
<iustin@google.com>
Tue, 14 Oct 2008 11:29:12 +0000
(11:29 +0000)
committer
Iustin 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
patch
|
blob
|
history
diff --git
a/lib/constants.py
b/lib/constants.py
index
ebeeb70
..
69049cc
100644
(file)
--- 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"