Dan Kenigsberg has submitted this change and it was merged.
Change subject: gluster: Added geo-replication session list and session status
......................................................................
gluster: Added geo-replication session list and session status
This patch adds the features geo-replication session list and
session status.
It exposes two verbs:
*glusterGeoRepSessionList- It provides geo-replication session
list of all sessions or between specified local volume and all
its remote-volumes or between a specified local and remote volume.
Returns:
{'volume name':{
sessions: [{sessionKey: 'unique identification for session ',
remoteVolumeName: 'name of remote volume involved in session'
bricks: [{host: 'local host',
hostUuid: 'uuid of brick host',
brickName: 'local brick',
remotehost: 'slave',
status: 'status',
checkpointStatus: 'checkpoint status',
crawlStatus: 'crawlStatus'}]....
}]....
}
}
*glusterGeoRepSessionStatus- It provides detailed status of
geo-replication session between a local and remote volume.
Returns:
{'volume name': {
sessions: [{sessionKey: 'unique identification for session ',
remoteVolumeName: 'name of remote volume involved in session'
bricks: [{host: 'local host',
hostUuid: 'uuid of brick host',
brickName: 'local brick',
remotehost: 'slave',
status: 'status',
checkpointStatus: 'checkpoint status',
crawlStatus: 'crawlStatus'
filesSynced: 'nos of files syncd',
filesPending: 'nos of files Pending',
bytesPending: 'nos of bytes pending',
deletesPending: 'Nos of deletes pending',
filesSkipped: 'Nos of files skipped'}]...
}]....
}
}
Change-Id: I4f37f35a5480fbe049a67758e122d4a0c2eba513
Signed-off-by: Darshan N <dnarayan(a)redhat.com>
Reviewed-on:
http://gerrit.ovirt.org/18414
Reviewed-by: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Reviewed-by: Dan Kenigsberg <danken(a)redhat.com>
---
M client/vdsClientGluster.py
M tests/Makefile.am
A tests/glusterGeoRepStatus.xml
M tests/glusterTestData.py
M tests/gluster_cli_tests.py
M vdsm.spec.in
M vdsm/gluster/api.py
M vdsm/gluster/apiwrapper.py
M vdsm/gluster/cli.py
M vdsm/gluster/exception.py
M vdsm/rpc/vdsmapi-gluster-schema.json
11 files changed, 345 insertions(+), 1 deletion(-)
Approvals:
Piotr Kliczewski: Looks good to me, but someone else must approve
Darshan N: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/18414
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4f37f35a5480fbe049a67758e122d4a0c2eba513
Gerrit-PatchSet: 27
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Darshan N <dnarayan(a)redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <celebdor(a)gmail.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: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Darshan N <dnarayan(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.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