Change in ovirt-engine[ovirt-engine-3.6]: core: Show only assignable host devices in frontend

tnisan at redhat.com tnisan at redhat.com
Sun May 1 08:25:27 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: core: Show only assignable host devices in frontend
......................................................................


core: Show only assignable host devices in frontend

VDSM now reports which host devices can be used for hostdev passthrough
purposes via the "is_assignable" flag. This patch adds parsing of this
field and uses it on the frontend to filter devices that will be offered
to the user for assignment.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1303160
Change-Id: I7d7b52ca10368a8fe0802d0ececfb8f1c12ebbe5
Signed-off-by: Martin Betak <mbetak at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/HostDevice.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/HostDeviceDaoImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/HostDeviceDaoTest.java
M backend/manager/modules/dal/src/test/resources/fixtures.xml
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsBrokerObjectsBuilder.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsProperties.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/hostdev/AddVmHostDevicesModel.java
M packaging/dbscripts/host_device_sp.sql
A packaging/dbscripts/upgrade/03_06_2110_add_host_device_is_assignable.sql
9 files changed, 70 insertions(+), 8 deletions(-)

Approvals:
  Tal Nisan: Passed CI tests
  Martin Betak: Verified
  Arik Hadas: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/56688
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7d7b52ca10368a8fe0802d0ececfb8f1c12ebbe5
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list