Arik Hadas 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(a)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/04_00_0550_add_host_device_is_assignable.sql
9 files changed, 73 insertions(+), 11 deletions(-)
Approvals:
Martin Betak: Verified
Arik Hadas: Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/56349
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7d7b52ca10368a8fe0802d0ececfb8f1c12ebbe5
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Betak <mbetak(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak(a)redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <mskrivan(a)redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>