Change in ovirt-engine[master]: engine: Get Gluster Servers query

yzaslavs at redhat.com yzaslavs at redhat.com
Thu Sep 20 12:52:32 UTC 2012


Yair Zaslavsky has submitted this change and it was merged.

Change subject: engine: Get Gluster Servers query
......................................................................


engine: Get Gluster Servers query

 This query will be invoked from Import Gluster Cluster dialog.
 This query accepts server name, password with it's already verified fingerprint.
 Validate the fingerprint.
 Since, the importing cluster haven't been bootstarped yet,
 we are running the gluster peer status command via ssh.

 - Parse the xml output of the command and get the servernames which state is 3(ie. Peer in Cluster)
 - Fetch the finger print of the servers and return to the UI
 - Added new Junit test

Change-Id: Ic69a9a48bf227c8fa805c8aa9c4f08fa36ea9425
Signed-off-by: Dhandapani <dgopal at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GetGlusterServersQuery.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/gluster/GetGlusterServersQueryTest.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/gluster/GlusterServersQueryParameters.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/XmlUtils.java
6 files changed, 344 insertions(+), 1 deletion(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic69a9a48bf227c8fa805c8aa9c4f08fa36ea9425
Gerrit-PatchSet: 19
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Dhandapani Gopal <dgopal at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Dhandapani Gopal <dgopal at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Selvasundaram <sesubram at redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list