Daniel Erez has submitted this change and it was merged.
Change subject: core: GetLunsByVgId - update LUNs path count
......................................................................
core: GetLunsByVgId - update LUNs path count
GetLunsByVgId query should return a list of LUNs by a VG ID:
* The query fetches from DB all LUNs associated with the VG.
* In order to update 'PathsDictionary' for each LUN,
** calling 'GetDeviceList' (gets all LUNs available from the specified host)
** LUN's 'PathsDictionary' is initialized by parsing 'pathstatus'
** update LUNs from DB objects
Change-Id: I339a09c789cc3a2802f7cdf4111da7db5186f444
Signed-off-by: Daniel Erez <derez(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetLunsByVgIdQuery.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/QueriesCommandBase.java
M
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetLunsByVgIdTest.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetLunsByVgIdParameters.java
4 files changed, 118 insertions(+), 3 deletions(-)
Approvals:
Daniel Erez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5797
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I339a09c789cc3a2802f7cdf4111da7db5186f444
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>