From Yaniv Bronhaim <[email protected]>: Yaniv Bronhaim has uploaded a new change for review.
Change subject: Rename vm rx tx metric names to align with host report ...................................................................... Rename vm rx tx metric names to align with host report In host/api.py we report all rx* tx* fields in the format rx_* tx_* Change-Id: I1b36acfe927c10a012bf477fed52f84471968c58 Signed-off-by: Yaniv Bronhaim <[email protected]> --- M lib/vdsm/virt/vmstats.py 1 file changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/33/66233/1 diff --git a/lib/vdsm/virt/vmstats.py b/lib/vdsm/virt/vmstats.py index 954e95e..f5dc15f 100644 --- a/lib/vdsm/virt/vmstats.py +++ b/lib/vdsm/virt/vmstats.py @@ -244,13 +244,13 @@ netprefix = prefix + '.nic.' + interface if_info = stat['network'][interface] data[netprefix + '.speed'] = if_info['speed'] - data[netprefix + '.rx.bytes'] = if_info['rx'] - data[netprefix + '.rx.errors'] = if_info['rxErrors'] - data[netprefix + '.rx.dropped'] = if_info['rxDropped'] + data[netprefix + '.rx_bytes'] = if_info['rx'] + data[netprefix + '.rx_errors'] = if_info['rxErrors'] + data[netprefix + '.rx_dropped'] = if_info['rxDropped'] - data[netprefix + '.tx.bytes'] = if_info['tx'] - data[netprefix + '.tx.errors'] = if_info['txErrors'] - data[netprefix + '.tx.dropped'] = if_info['txDropped'] + data[netprefix + '.tx_bytes'] = if_info['tx'] + data[netprefix + '.tx_errors'] = if_info['txErrors'] + data[netprefix + '.tx_dropped'] = if_info['txDropped'] # Guest cpu-count,apps list, status, mac addr, client IP, # display type, kvm enabled, username, vcpu info, vm jobs, -- To view, visit https://gerrit.ovirt.org/66233 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1b36acfe927c10a012bf477fed52f84471968c58 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Yaniv Bronhaim <[email protected]> _______________________________________________ vdsm-patches mailing list -- [email protected] To unsubscribe send an email to [email protected]
