Change in vdsm[ovirt-3.5-gluster]: gluster: volume snapshot list verb.
barumuga at redhat.com
barumuga at redhat.com
Thu May 21 12:02:27 UTC 2015
Bala.FA has submitted this change and it was merged.
Change subject: gluster: volume snapshot list verb.
......................................................................
gluster: volume snapshot list verb.
This Patch adds new verb to get the snapshot
list for a volume and across cluster.
*glusterVolumeSnapshotList: gives the list of all the snapshots
present in a volume if volume name is provided. Else It gives
list of all snapshot across the cluster
Returns:
{'v1': {'snapshots': [{'name': 'snap1_v1',
'description': description of the snapshot,
'id': '8add41ae-c60c-4023-'
'a1a6-5093a5d35603',
'createTime': {'timeZone': 'IST',
'epochTime': 1414427114},
'snapVolume': '5eeaf23def3f446d898e1de8461a6aa7'
'snapVolumeStatus': 'ACTIVATED'}, ...],
'snapRemaining': 252},
'v2': {'snapshots': [{'name': 'snap1_v2',
'description': description of the snapshot,
'id': '8add41ae-c60c-4023'
'-a1a6-1233a5d35603',
'createTime': {'timeZone': 'IST',
'epochTime': 1414427114},
'snapVolume': '5eeaf23def3f446d898e1123461a6aa7'
'snapVolumeStatus': 'DEACTIVATED'}, ...],
'snapRemaining': 252},...
}
Change-Id: I06945d6781432b7fb40e417dd21c0ecf107de132
Signed-off-by: Darshan N <dnarayan at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/36087
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/39922
Reviewed-by: Bala.FA <barumuga at redhat.com>
Continuous-Integration: Bala.FA <barumuga at redhat.com>
---
M client/vdsClientGluster.py
M tests/Makefile.am
A tests/glusterSnapshotList.xml
A tests/glusterSnapshotListEmpty.xml
M tests/glusterTestData.py
A tests/glusterVolumeSnapshotList.xml
A tests/glusterVolumeSnapshotListEmpty.xml
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
14 files changed, 489 insertions(+), 0 deletions(-)
Approvals:
Bala.FA: Looks good to me, approved; Passed CI tests
Darshan N: Verified
--
To view, visit https://gerrit.ovirt.org/39922
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I06945d6781432b7fb40e417dd21c0ecf107de132
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5-gluster
Gerrit-Owner: Darshan N <dnarayan at redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Darshan N <dnarayan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
More information about the vdsm-patches
mailing list