Change in vdsm[master]: Added glusterVolumeStatus verb

danken at redhat.com danken at redhat.com
Tue Oct 2 17:44:06 UTC 2012


Dan Kenigsberg has submitted this change and it was merged.

Change subject: Added glusterVolumeStatus verb
......................................................................


Added glusterVolumeStatus verb

Following is output structure depending on statusOption passed

No option or default output:
{'name': NAME,
 'bricks': [{'brick': BRICK,
             'port': PORT,
             'status': STATUS,
             'pid': PID}, ...],
 'nfs': [{'hostname': HOST,
          'port': PORT,
          'status': STATUS,
          'pid': PID}, ...],
 'shd: [{'hostname': HOST,
         'status': STATUS,
         'pid': PID}, ...]}

detail option output:
{'name': NAME,
 'bricks': [{'brick': BRICK,
             'sizeTotal': SIZE,
             'sizeFree': FREESIZE,
             'device': DEVICE,
             'blockSize': BLOCKSIZE,
             'mntOptions': MOUNTOPTIONS,
             'fsName': FSTYPE}, ...]}

clients option output:
{'name': NAME,
 'bricks': [{'brick': BRICK,
             'clientsStatus': [{'hostname': HOST,
                                'bytesRead': BYTESREAD,
                                'bytesWrite': BYTESWRITE}, ...]},
           ...]}

mem option output:
{'name': NAME,
 'bricks': [{'brick': BRICK,
             'mallinfo': {'arena': int,
                          'fordblks': int,
                          'fsmblks': int,
                          'hblkhd': int,
                          'hblks': int,
                          'keepcost': int,
                          'ordblks': int,
                          'smblks': int,
                          'uordblks': int,
                          'usmblks': int},
             'mempool': [{'allocCount': int,
                          'coldCount': int,
                          'hotCount': int,
                          'maxAlloc': int,
                          'maxStdAlloc': int,
                          'name': NAME,
                          'padddedSizeOf': int,
                          'poolMisses': int},...]}, ...]}

Change-Id: I8769c2da299a598ed7500c4780a3329972f4a8ac
Signed-off-by: Bala.FA <barumuga at redhat.com>
---
M tests/gluster_cli_tests.py
M vdsm/gluster/api.py
M vdsm/gluster/cli.py
M vdsm/gluster/exception.py
M vdsm_cli/vdsClientGluster.py
5 files changed, 1,067 insertions(+), 16 deletions(-)

Approvals:
  Bala.FA: Verified
  Dan Kenigsberg: Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/6374
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8769c2da299a598ed7500c4780a3329972f4a8ac
Gerrit-PatchSet: 17
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin at redhat.com>
Gerrit-Reviewer: Vijay Bellur <vbellur at gmail.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list