From cffe1de37453f81992047408e4c4ce5e35e21434 Mon Sep 17 00:00:00 2001 From: Sachin Pandit Date: Thu, 13 Feb 2014 03:41:28 +0530 Subject: CLI/snapshot : Snapshot info CLI changes snapshot info [(snapname | volume )]. 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 ** This will list only the mentioned snap object and also snap volume information along with that ** gluster snapshot info volume ** This will list all the snaps present in the mentioned volume. Change-Id: I1e92774cb08eaebbfe141b9b47d1a887d76916a4 Signed-off-by: Sachin Pandit Reviewed-on: http://review.gluster.org/6996 Reviewed-by: Rajesh Joseph Tested-by: Rajesh Joseph --- rpc/xdr/src/cli1-xdr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rpc') 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; -- cgit