1
0
mirror of https://gerrit.ovirt.org/vdsm synced 2026-02-05 12:46:23 +01:00
Files
vdsm/tests/glusterVolumeRemoveBricksStatus.xml
Bala.FA 86b097e2c6 gluster: adopt xml changes of rebalance and remove-brick status
xml output of rebalance and remove-brick status add host uuid and task
runtime (per host and summary).  This patch adopts these additional
elements below verbs

* glusterVolumeRebalanceStatus
* glusterVolumeRemoveBrickStatus

Below is the change in output which doesn't break backward
compatibility

        {'summary': {
    ==>>    'runtime': FLOAT,
            'filesScanned': INT,
            'filesMoved': INT,
            'filesFailed': INT,
            'filesSkipped': INT,
            'totalSizeMoved': INT,
            'status': STRING
        },
        'hosts': [{
            'name': STRING,
    ==>>    'id': STRING,
    ==>>    'runtime': FLOAT,
            'filesScanned': INT,
            'filesMoved': INT,
            'filesFailed': INT,
            'filesSkipped': INT,
            'totalSizeMoved': INT,
            'status': STRING
        }]}

Change-Id: I5b3031b6eb796b7475bbe533fbdd0366fbaf6aea
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/19597
Reviewed-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
2014-01-22 02:42:43 -05:00

32 lines
806 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
<opRet>0</opRet>
<opErrno>0</opErrno>
<opErrstr/>
<volRemoveBrick>
<nodeCount>1</nodeCount>
<node>
<nodeName>localhost</nodeName>
<id>883626f8-4d29-4d02-8c5d-c9f48c5b2445</id>
<runtime>10.2</runtime>
<files>78</files>
<size>79872</size>
<lookups>278</lookups>
<failures>0</failures>
<skipped>0</skipped>
<status>3</status>
<statusStr>completed</statusStr>
</node>
<aggregate>
<runtime>10.2</runtime>
<files>78</files>
<size>79872</size>
<lookups>278</lookups>
<failures>0</failures>
<skipped>0</skipped>
<status>3</status>
<statusStr>completed</statusStr>
</aggregate>
</volRemoveBrick>
</cliOutput>