Change in vdsm[master]: gluster: Fetch disperse count and redundacy count for volume

shtripat at redhat.com shtripat at redhat.com
Tue Mar 3 08:04:05 UTC 2015


Shubhendu Tripathi has uploaded a new change for review.

Change subject: gluster: Fetch disperse count and redundacy count for volume
......................................................................

gluster: Fetch disperse count and redundacy count for volume

Modified the verb glusterVolumeInfo to fetch disperse count
and redundancy count also.

Change-Id: I4eb9190a7531751c4c62e3eff425c3526101b9d1
Signed-off-by: Shubhendu Tripathi <shtripat at redhat.com>
---
M vdsm/gluster/cli.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/05/38305/1

diff --git a/vdsm/gluster/cli.py b/vdsm/gluster/cli.py
index e60da27..c578621 100644
--- a/vdsm/gluster/cli.py
+++ b/vdsm/gluster/cli.py
@@ -367,6 +367,8 @@
         value['distCount'] = el.find('distCount').text
         value['stripeCount'] = el.find('stripeCount').text
         value['replicaCount'] = el.find('replicaCount').text
+        value['disperseCount'] = el.find('disperseCount').text
+        value['redundancyCount'] = el.find('redundancyCount').text
         transportType = el.find('transport').text
         if transportType == '0':
             value['transportType'] = [TransportType.TCP]


-- 
To view, visit https://gerrit.ovirt.org/38305
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4eb9190a7531751c4c62e3eff425c3526101b9d1
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtripat at redhat.com>


More information about the vdsm-patches mailing list