diff options
author | Rajesh Joseph <rjoseph@redhat.com> | 2015-08-26 08:28:59 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2015-08-28 22:10:58 -0700 |
commit | fd47635a4ffab621a2357c99cd1edd0482940bd5 (patch) | |
tree | 669b416af52a6b6c4b3bbd23bdca3c555ed0509c /rpc/xdr/src/cli1-xdr.x | |
parent | 31a36dca20a976b143cc5c970e115d8d36df847a (diff) |
gluster/cli: snapshot delete all does not work with xml
Problem: snapshot delete all command fails with --xml option
Fix: Provided xml support for delete all command
Change-Id: I77cad131473a9160e188c783f442b6a38a37f758
BUG: 1257533
Signed-off-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-on: http://review.gluster.org/12027
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.x')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.x | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index 34f324f1099..73863ae3d9d 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -189,13 +189,15 @@ enum gf1_cli_snapshot_config { enum gf1_cli_snapshot_status { GF_SNAP_STATUS_TYPE_ALL = 0, GF_SNAP_STATUS_TYPE_SNAP, - GF_SNAP_STATUS_TYPE_VOL + GF_SNAP_STATUS_TYPE_VOL, + GF_SNAP_STATUS_TYPE_ITER }; enum gf1_cli_snapshot_delete { GF_SNAP_DELETE_TYPE_ALL = 0, GF_SNAP_DELETE_TYPE_SNAP = 1, - GF_SNAP_DELETE_TYPE_VOL = 2 + GF_SNAP_DELETE_TYPE_VOL = 2, + GF_SNAP_DELETE_TYPE_ITER = 3 }; struct gf_cli_req { |