diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-02-13 03:41:28 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-03-05 01:54:43 -0800 |
commit | cffe1de37453f81992047408e4c4ce5e35e21434 (patch) | |
tree | 2a7f5f79fc9e0b448540427b11048b65f37abf72 /rpc | |
parent | d059ac1a1a9fc2a286f29361830c1632dc8ce3cf (diff) |
CLI/snapshot : Snapshot info CLI changes
snapshot info [(snapname | volume <volname>)].
Snapshot info will list all the basic information.
Syntax :
** gluster snapshot info **
This will list all the snap object along with that
it also prints the snaps volume name, UUID and
status.
** gluster snapshot info <snap-name> **
This will list only the mentioned snap object and
also snap volume information along with that
** gluster snapshot info volume <volname> **
This will list all the snaps present in the
mentioned volume.
Change-Id: I1e92774cb08eaebbfe141b9b47d1a887d76916a4
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/6996
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h index dfde3e20d..598ddbded 100644 --- a/rpc/xdr/src/cli1-xdr.h +++ b/rpc/xdr/src/cli1-xdr.h @@ -179,13 +179,14 @@ enum gf1_cli_snapshot { GF_SNAP_OPTION_TYPE_LIST = 6, GF_SNAP_OPTION_TYPE_STATUS = 7, GF_SNAP_OPTION_TYPE_CONFIG = 8, + GF_SNAP_OPTION_TYPE_INFO = 9, }; typedef enum gf1_cli_snapshot gf1_cli_snapshot; enum gf1_cli_snapshot_config { GF_SNAP_CONFIG_TYPE_NONE = 0, GF_SNAP_CONFIG_TYPE_SET = 0 + 1, - GF_SNAP_CONFIG_DISPLAY = 0 + 2 + GF_SNAP_CONFIG_DISPLAY = 0 + 2, }; typedef enum gf1_cli_snapshot_config gf1_cli_snapshot_config; |