Asaf Shakarchi has submitted this change and it was merged.
Change subject: engine: Import linux template with legacy usb policy (#834254)
......................................................................
engine: Import linux template with legacy usb policy (#834254)
https://bugzilla.redhat.com/834254
- Fixed bug where UsbPolicy.forStringValue returns null for old values.
- Import template forces usb policy to be disabled for Linux os.
- Consolidated usb policy update method.
Change-Id: Ib1184493dedb44c5b481a27eceaee69974b73540
Signed-off-by: Asaf Shakarchi <asaf(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmHandler.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/UsbPolicy.java
4 files changed, 12 insertions(+), 8 deletions(-)
Approvals:
Asaf Shakarchi: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/7138
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1184493dedb44c5b481a27eceaee69974b73540
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Asaf Shakarchi <asaf(a)redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <asaf(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>