projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d0229b
)
Add uid_pool cluster parameter
author
Balazs Lecz
<leczb@google.com>
Fri, 26 Mar 2010 15:13:11 +0000
(15:13 +0000)
committer
Balazs Lecz
<leczb@google.com>
Fri, 16 Apr 2010 13:10:39 +0000
(14:10 +0100)
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/objects.py
patch
|
blob
|
history
diff --git
a/lib/objects.py
b/lib/objects.py
index
4e6874b
..
7c7f24f
100644
(file)
--- a/
lib/objects.py
+++ b/
lib/objects.py
@@
-865,6
+865,7
@@
class Cluster(TaggableObject):
"modify_etc_hosts",
"modify_ssh_setup",
"maintain_node_health",
+ "uid_pool",
] + _TIMESTAMPS + _UUID
def UpgradeConfig(self):
@@
-915,6
+916,9
@@
class Cluster(TaggableObject):
if self.maintain_node_health is None:
self.maintain_node_health = False
+ if self.uid_pool is None:
+ self.uid_pool = []
+
def ToDict(self):
"""Custom function for cluster.