Sahina Bose has posted comments on this change.
Change subject: gluster: geo replication status and status detail
......................................................................
Patch Set 6:
(1 comment)
http://gerrit.ovirt.org/#/c/18414/6/vdsm/gluster/cli.py
File vdsm/gluster/cli.py:
Line 1150: """
Line 1151: status = {}
Line 1152: status['volumeName'] =
tree.find('geoRep/volume/name').text
Line 1153: status['sessionSalve'] = tree.find(
Line 1154: 'geoRep/volume/sessions/session/session_slave').text
Shouldn't you iterate through all sessions as well?
Please
ignore this comment - I was thinking of the geoRepStatus verb
Line 1155: pairs = []
Line 1156: for pair in tree.findall('geoRep/volume/sessions/session/pair'):
Line 1157: pairDetail = {}
Line 1158: pairDetail['masterNode'] =
pair.find('master_node').text
--
To view, visit
http://gerrit.ovirt.org/18414
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I4f37f35a5480fbe049a67758e122d4a0c2eba513
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Darshan N <dnarayan(a)redhat.com>
Gerrit-Reviewer: Aravinda VK <avishwan(a)redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga(a)redhat.com>
Gerrit-Reviewer: Better Saggi <bettersaggi(a)gmail.com>
Gerrit-Reviewer: Darshan N <dnarayan(a)redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi(a)redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose(a)redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes