From b458f7b40b19727258fa3268cc8d1147f630fe26 Mon Sep 17 00:00:00 2001 From: Sachin Pandit Date: Thu, 6 Mar 2014 11:09:58 +0530 Subject: feature/snapshot : Snapshot status. Snapshot status command is used to display the status of available snapshot. The status command will display the Brick path, Volume Group, Brick pid, Whether brick is online, Percentage of data filled, Logical Volume size. The syntax for using snapshot status is : gluster snapshot status [(snapname | volume )] Change-Id: I621911c305e20ca83d958ff1f8762bef1f2f12f0 Signed-off-by: Sachin Pandit Reviewed-on: http://review.gluster.org/7134 Reviewed-by: Vijaikumar Mallikarjuna Reviewed-by: Rajesh Joseph Tested-by: Rajesh Joseph --- rpc/xdr/src/cli1-xdr.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rpc') diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h index 0cfa6de37..b4b717e4c 100644 --- a/rpc/xdr/src/cli1-xdr.h +++ b/rpc/xdr/src/cli1-xdr.h @@ -197,6 +197,13 @@ enum gf1_cli_snapshot_config { }; typedef enum gf1_cli_snapshot_config gf1_cli_snapshot_config; +enum gf1_cli_snapshot_status { + GF_SNAP_STATUS_TYPE_ALL = 0, + GF_SNAP_STATUS_TYPE_SNAP = 1, + GF_SNAP_STATUS_TYPE_VOL = 2, +}; +typedef enum gf1_cli_snapshot_status gf1_cli_snapshot_status; + struct gf_cli_req { struct { u_int dict_len; -- cgit