diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-03-06 11:09:58 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-03-13 02:54:13 -0700 |
commit | b458f7b40b19727258fa3268cc8d1147f630fe26 (patch) | |
tree | e5bc4ce287ef23174e137a33aeb1c5eb03ea747f /rpc/xdr/src | |
parent | 7817de70fedaeffbc320ffb629c1ff6c14f81ecd (diff) |
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 <volname>)]
Change-Id: I621911c305e20ca83d958ff1f8762bef1f2f12f0
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/7134
Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'rpc/xdr/src')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; |