diff options
author | Rajesh Joseph <rjoseph@redhat.com> | 2013-10-15 17:10:52 +0530 |
---|---|---|
committer | shishir gowda <sgowda@redhat.com> | 2013-11-15 12:38:59 +0530 |
commit | d15ad38e8623f510fb1e121a8ff0d845a99238e4 (patch) | |
tree | 797ddd93686670e4241584d2f0f978405037d927 /rpc/xdr/src/cli1-xdr.x | |
parent | 6726c1617daeb783053a15d12189a64c27343f8c (diff) |
mgmt/glusterd: Snapshot list support
Handles snapshot list command issued by cli. Details of all the snapshots
will be sent back to the caller in required format.
Change-Id: I01e512290548007c06e90b40a59cdde048fab954
Signed-off-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.x')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.x | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index cc7ca8e24..b8dff5694 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -122,6 +122,13 @@ enum gf_cli_status_type { GF_CLI_STATUS_SHD = 0x1000 /*1000000000000*/ }; +/* Identifiers for snapshot clis */ +enum gf1_cli_snapshot { + GF_SNAP_OPTION_TYPE_NONE, + GF_SNAP_OPTION_TYPE_CREATE, + GF_SNAP_OPTION_TYPE_LIST +}; + struct gf_cli_req { opaque dict<>; } ; |