Add DEFAULT_VG and DTS_NOT_LVM to constants.py
authorManuel Franceschini <manuel.franceschini@gmail.com>
Mon, 31 Mar 2008 10:57:21 +0000 (10:57 +0000)
committerManuel Franceschini <manuel.franceschini@gmail.com>
Mon, 31 Mar 2008 10:57:21 +0000 (10:57 +0000)
commitd63e148a4cc859300fb71f37e7f2fcf087bc12e6
treea0525ea4d7f0b37dc548b9bdd548e3af4006309e
parentfe48262190eea55a2e8d5ac3147f0aa6e59ea55b
Add DEFAULT_VG and DTS_NOT_LVM to constants.py

DTS_NOT_LVM:
This constant is needed when checking if an instance can be created with
the given disk template if no lvm-storage is available, i.e. the ganeti
cluster does not have a volume group

DEFAULT_VG:
'xenvg' has been hardcoded before.

Reviewed-by: iustinp
lib/constants.py