Moti Asayag has submitted this change and it was merged.
Change subject: core: MAC address released when MAC is used (#839201)
......................................................................
core: MAC address released when MAC is used (#839201)
https://bugzilla.redhat.com/839201
The patch prevents from releasing an allocated MAC address before the
completion of the can-do-action. The MAC address will be released as the
last step of the command execution. However if from some reason the
command will fail to complete its transaction, the rollback will try to
allocate the MAC address again and free the allocated one.
Change-Id: Ifb5109831cf1e290628e579add0ed060393b0d99
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmInterfaceCommand.java
1 file changed, 36 insertions(+), 11 deletions(-)
Approvals:
Moti Asayag: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/6331
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifb5109831cf1e290628e579add0ed060393b0d99
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>