Change in ovirt-engine[master]: core: ImportVm: fix disk alias generation

amureini at redhat.com amureini at redhat.com
Tue Dec 18 10:34:37 UTC 2012


Allon Mureinik has submitted this change and it was merged.

Change subject: core: ImportVm: fix disk alias generation
......................................................................


core: ImportVm: fix disk alias generation

When ImportVmCommand auto generates the disks' aliases, it assigns them
all the same alias, vmName_DiskN, where N is the number of disks
attached to the imported VM.

This patch fixes these aliases, and gives each disk a different alias,
starting with VmName_Disk1 up to VmName_DiskN.

Change-Id: Ibdd6525529d3d5e0c8ee2c86b418562929118207
Bug-Url: https://bugzilla.redhat.com/882616
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImagesHandler.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
2 files changed, 15 insertions(+), 7 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9629
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibdd6525529d3d5e0c8ee2c86b418562929118207
Gerrit-PatchSet: 16
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>



More information about the Engine-commits mailing list