projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d9cae
)
Add VALUE_AUTO and VALUE_GENERATE constants
author
Guido Trotter
<ultrotter@google.com>
Mon, 20 Oct 2008 13:43:34 +0000
(13:43 +0000)
committer
Guido Trotter
<ultrotter@google.com>
Mon, 20 Oct 2008 13:43:34 +0000
(13:43 +0000)
'auto' is used in multiple place in the code with a meaning similar to
'default', 'generate' will be used to force generation of mac addresses
when the default would be to reuse an old one.
Forward-port-of: r1884, Reviewed-by: iustinp
Reviewed-by: imsnah
lib/constants.py
patch
|
blob
|
history
diff --git
a/lib/constants.py
b/lib/constants.py
index
2a19b63
..
b2bd565
100644
(file)
--- a/
lib/constants.py
+++ b/
lib/constants.py
@@
-141,6
+141,8
@@
XEN_INITRD = _autoconf.XEN_INITRD
KVM_PATH = _autoconf.KVM_PATH
VALUE_DEFAULT = "default"
+VALUE_AUTO = "auto"
+VALUE_GENERATE = "generate"
VALUE_NONE = "none"
# hooks-related constants