Dan Kenigsberg has submitted this change and it was merged.

Change subject: added glusterVolumeProfileInfo verb
......................................................................


added glusterVolumeProfileInfo verb

Following is the output structure

when nfs is true:
{'volumeName': VOLUME-NAME,
 'nfsServers': [
     {'nfs': SERVER-NAME,
      'cumulativeStats': {'blockStats': [{'size': int,
                                          'read': int,
                                          'write': int}, ...],
                          'fopStats': [{'name': FOP-NAME,
                                        'hits': int,
                                        'latencyAvg': float,
                                        'latencyMin': float,
                                        'latencyMax': float}, ...],
                          'duration': int,
                          'totalRead': int,
                          'totalWrite': int},
      'intervalStats': {'blockStats': [{'size': int,
                                        'read': int,
                                        'write': int}, ...],
                        'fopStats': [{'name': FOP-NAME,
                                      'hits': int,
                                      'latencyAvg': float,
                                      'latencyMin': float,
                                      'latencyMax': float}, ...],
                        'duration': int,
                        'totalRead': int,
                        'totalWrite': int}}, ...]}

When nfs is false:
{'volumeName': VOLUME-NAME,
 'bricks': [
     {'brick': BRICK-NAME,
      'cumulativeStats': {'blockStats': [{'size': int,
                                          'read': int,
                                          'write': int}, ...],
                          'fopStats': [{'name': FOP-NAME,
                                        'hits': int,
                                        'latencyAvg': float,
                                        'latencyMin': float,
                                        'latencyMax': float}, ...],
                          'duration': int,
                          'totalRead': int,
                          'totalWrite': int},
      'intervalStats': {'blockStats': [{'size': int,
                                        'read': int,
                                        'write': int}, ...],
                        'fopStats': [{'name': FOP-NAME,
                                      'hits': int,
                                      'latencyAvg': float,
                                      'latencyMin': float,
                                      'latencyMax': float}, ...],
                        'duration': int,
                        'totalRead': int,
                        'totalWrite': int}}, ...]}

Change-Id: Ib6a26fa7634b999cd70197c958fe86a6d9ed4a9c
Signed-off-by: Timothy Asir <[email protected]>
---
M tests/Makefile.am
A tests/glusterTestData.py
A tests/glusterVolumeProfileInfo.xml
A tests/glusterVolumeProfileInfoNfs.xml
M tests/gluster_cli_tests.py
M vdsm.spec.in
M vdsm/gluster/api.py
M vdsm/gluster/cli.py
M vdsm/gluster/exception.py
M vdsm_cli/vdsClientGluster.py
10 files changed, 2,250 insertions(+), 71 deletions(-)

Approvals:
  Timothy Asir: Verified
  Dan Kenigsberg: Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib6a26fa7634b999cd70197c958fe86a6d9ed4a9c
Gerrit-PatchSet: 17
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Timothy Asir <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Bala.FA <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Timothy Asir <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to