diff options
| author | ndarshan <dnarayan@redhat.com> | 2014-07-22 14:19:19 +0530 | 
|---|---|---|
| committer | Vijay Bellur <vbellur@redhat.com> | 2014-08-28 09:52:25 -0700 | 
| commit | 845d6c76701a3de6a11b76b004176971411c714e (patch) | |
| tree | 778b8d81b523c70ba88d0c8fd88ab36c42f45ccd /rpc/rpc-lib/src | |
| parent | a6ec32fda6a6266071b8f9eaae9fdcd4cdbe860e (diff) | |
cli: Xml output for geo-replication status command
This patch adds xml output for geo-replication status
and status detail command.
sample:
--------------------------------------------------------------
  <geoRep>
    <volume>
      <name>master</name>
      <sessions>
        <session>
        <session_slave>:2a301d66-b9d2-44b4-b827-d680d67123eb:ssh://XXXXXXXXXX::slave</session_slave>
          <pair>
            <master_node>localhost.localdomain</master_node>
            <master_node_uuid>2a301d66-b9d2-44b4-b827-d680d67123eb</master_node_uuid>
            <master_brick>/root/master_b1</master_brick>
            <slave>ssh://XXXXXXXXXXX::slave</slave>
            <status>faulty</status>
            <checkpoint_status>N/A</checkpoint_status>
            <crawl_status>N/A</crawl_status>
          </pair>
        </session>
      </sessions>
    </volume>
  </geoRep>
-------------------------------------------------------------
Change-Id: Ia19dbe751c3ab1ec7cb8923cdd6c8b99c374072f
BUG: 1133464
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/8089
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Signed-off-by: ndarshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/8532
Reviewed-by: Sachin Pandit <spandit@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src')
| -rw-r--r-- | rpc/rpc-lib/src/protocol-common.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index 1856387826b..b3e677afd17 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -244,6 +244,9 @@ struct gf_gsync_detailed_status_ {          char bytes_remaining[NAME_MAX];          char purges_remaining[NAME_MAX];          char total_files_skipped[NAME_MAX]; +        char brick_host_uuid[NAME_MAX]; +        char slavekey[NAME_MAX]; +        char session_slave[NAME_MAX];  };  enum glusterd_mgmt_v3_procnum {  | 
