1
0
mirror of https://gerrit.ovirt.org/vdsm synced 2026-02-05 12:46:23 +01:00
Files
vdsm/tests/glusterSnapshotRestore.xml
Darshan n 1828f723cf gluster: Added gluster snapshot restore verb.
This patch adds verb to restore gluster volume
snapshot.

*glusterSnapshotRestore: Restores a gluster volume snapshot.
Takes snapshot name as an argunment.
Returns:
{'volumeName': 'vol1',
 'volumeUuid': 'uuid',
 'snapshotName': 'snap2',
 'snapshotUuid': 'uuid'}

Change-Id: I422fab5bc9ec9dc51d759bad46487c60051bbfc1
Signed-off-by: Darshan N <dnarayan@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/34638
Reviewed-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
2015-02-11 16:18:14 -05:00

17 lines
394 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
<opRet>0</opRet>
<opErrno>0</opErrno>
<opErrstr/>
<snapRestore>
<volume>
<name>snap-vol2</name>
<uuid>8558c40f-1581-414e-89d6-46854376ae3d</uuid>
</volume>
<snapshot>
<name>snap1</name>
<uuid>ef4b5442-2d6e-498b-9e42-fd0e566ac74c</uuid>
</snapshot>
</snapRestore>
</cliOutput>