Change in ovirt-engine[master]: restapi: Rx and Tx should be displayed as BYTES_PER_SECOND

alkaplan at redhat.com alkaplan at redhat.com
Thu Feb 21 10:34:07 UTC 2013


Alona Kaplan has submitted this change and it was merged.

Change subject: restapi: Rx and Tx should be displayed as BYTES_PER_SECOND
......................................................................


restapi: Rx and Tx should be displayed as BYTES_PER_SECOND

The rx and tx are reported and displayed in the rest as percent of the
speed. It should be converted and displayed as BYTES_PER_SECOND.

Change-Id: Icb004ae50c00acbcb7aeb53fb3962028e6966fbc
Bug-Url: https://bugzilla.redhat.com/887230
Signed-off-by: Alona Kaplan <alkaplan at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/HostNicStatisticalQuery.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/NicStatisticalQuery.java
A backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/util/RxTxCalculator.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/AbstractBackendNicsResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/AbstractBackendSubResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendHostNicResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendHostNicsResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResourceTest.java
8 files changed, 58 insertions(+), 24 deletions(-)

Approvals:
  Alona Kaplan: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icb004ae50c00acbcb7aeb53fb3962028e6966fbc
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>



More information about the Engine-commits mailing list