Revision 8e56ecfb lib/cmdlib/instance_storage.py
b/lib/cmdlib/instance_storage.py | ||
---|---|---|
502 | 502 |
for key in disk: |
503 | 503 |
if key not in constants.IDISK_PARAMS: |
504 | 504 |
params[key] = disk[key] |
505 |
# Add IDISK_ACCESS param to disk params |
|
506 |
if (template_name in constants.DTS_HAVE_ACCESS and |
|
507 |
constants.IDISK_ACCESS in disk): |
|
508 |
params[constants.IDISK_ACCESS] = disk[constants.IDISK_ACCESS] |
|
505 | 509 |
disk_index = idx + base_index |
506 | 510 |
size = disk[constants.IDISK_SIZE] |
507 | 511 |
feedback_fn("* disk %s, size %s" % |
... | ... | |
566 | 570 |
constants.IDISK_METAVG, |
567 | 571 |
constants.IDISK_PROVIDER, |
568 | 572 |
constants.IDISK_NAME, |
573 |
constants.IDISK_ACCESS, |
|
569 | 574 |
])) |
570 | 575 |
|
571 | 576 |
def _RunAllocator(self): |
Also available in: Unified diff