Revision d0de443e
b/lib/objects.py | ||
---|---|---|
1474 | 1474 |
"prealloc_wipe_disks", |
1475 | 1475 |
"hv_state_static", |
1476 | 1476 |
"disk_state_static", |
1477 |
"enabled_storage_types", |
|
1477 | 1478 |
] + _TIMESTAMPS + _UUID |
1478 | 1479 |
|
1479 | 1480 |
def UpgradeConfig(self): |
b/src/Ganeti/Objects.hs | ||
---|---|---|
681 | 681 |
, simpleField "primary_ip_family" [t| IpFamily |] |
682 | 682 |
, simpleField "prealloc_wipe_disks" [t| Bool |] |
683 | 683 |
, simpleField "ipolicy" [t| FilledIPolicy |] |
684 |
, simpleField "enabled_storage_types" [t| [StorageType] |] |
|
684 | 685 |
] |
685 | 686 |
++ timeStampFields |
686 | 687 |
++ uuidFields |
b/src/Ganeti/Types.hs | ||
---|---|---|
302 | 302 |
[ ("StorageFile", 'C.stFile) |
303 | 303 |
, ("StorageLvmPv", 'C.stLvmPv) |
304 | 304 |
, ("StorageLvmVg", 'C.stLvmVg) |
305 |
, ("StorageDiskless", 'C.stDiskless) |
|
306 |
, ("StorageSharedFile", 'C.stSharedFile) |
|
307 |
, ("StorageBlock", 'C.stBlock) |
|
308 |
, ("StorageRados", 'C.stRados) |
|
309 |
, ("StorageExt", 'C.stExt) |
|
305 | 310 |
]) |
306 | 311 |
$(THH.makeJSONInstance ''StorageType) |
307 | 312 |
|
Also available in: Unified diff