Allon Mureinik has posted comments on this change.
Change subject: core: Extract disk alias generation methods
......................................................................
Patch Set 4: (2 inline comments)
....................................................
File
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/disks/DiskUtils.java
Line 23: * If the disk does not already have an alias, one will be
generated for it.
Line 24: *
Line 25: * @param disk
Line 26: * - Disk which disk alias is being initialized in.
Line 27: * @param diskPrefix
Done
Line 28: * - The prefix for disk alias if needs to be
initialized.
Line 29: * @return The suggested alias
Line 30: */
Line 31: public static String getSuggestedDiskAlias(BaseDisk disk, String
diskPrefix, int count) {
....................................................
Commit Message
Line 11:
Line 12: This was done for two reasons:
Line 13: * These methods were in the wrong place - disk aliases are used for all
Line 14: disks, not just images.
Line 15: * To allow these methods to be used outside of the bll package, e.g.,
Done
Line 16: in by the OVF handling classes (see next patch).
Line 17:
Line 18: This patch contains:
Line 19: * The new DiskUtils class with the getSuggestedDiskAlias,
--
To view, visit http://gerrit.ovirt.org/9273
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaf2a1147c022f4cdb7c5658818667af4b51e6aac
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches