Revision 4b97f902 lib/objects.py
b/lib/objects.py | ||
---|---|---|
558 | 558 |
actual algorithms from bdev. |
559 | 559 |
|
560 | 560 |
""" |
561 |
if self.dev_type == constants.LD_LV or self.dev_type == constants.LD_FILE:
|
|
561 |
if self.dev_type in (constants.LD_LV, constants.LD_FILE):
|
|
562 | 562 |
self.size += amount |
563 | 563 |
elif self.dev_type == constants.LD_DRBD8: |
564 | 564 |
if self.children: |
... | ... | |
1066 | 1066 |
"master_netdev", |
1067 | 1067 |
"cluster_name", |
1068 | 1068 |
"file_storage_dir", |
1069 |
"shared_file_storage_dir", |
|
1069 | 1070 |
"enabled_hypervisors", |
1070 | 1071 |
"hvparams", |
1071 | 1072 |
"os_hvp", |
Also available in: Unified diff