Bug 765452 (GLUSTER-3720)

Summary: xdr: CLI <--> glusterd xdr's should have common xdr structures
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: cliAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: mainlineCC: aavati, gluster-bugs, nsathyan, vbellur, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amar Tumballi 2011-10-14 09:58:18 UTC
actually, below two structures are good enough for handling all our cli <--> glusterd communications, and that makes the code look more simple.

----
struct cli_req {
    opaque dict<>;
};

struct cli_rsp {
    int32_t op_ret;
    int32_t op_errno;
    string  op_errstr;
    opaque  dict<>;
};
----

Comment 1 Anand Avati 2011-11-16 06:42:32 UTC
CHANGE: http://review.gluster.com/662 (By using only 1 xdr struct for request and 1 xdr struct for response,) merged in master by Vijay Bellur (vijay)