Change in ovirt-engine[master]: core: GetLunsByVgId - update LUNs path count

derez at redhat.com derez at redhat.com
Wed Jun 27 13:12:32 UTC 2012


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: I7cf04c2026d6d49238516e4490b801e594b74fcb
Signed-off-by: Daniel Erez <derez at 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, 116 insertions(+), 3 deletions(-)

Approvals:
  Daniel Erez: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/5715
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7cf04c2026d6d49238516e4490b801e594b74fcb
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>



More information about the Engine-commits mailing list