Code Review
/
nfvbench.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "NFVBENCH-169: UDP port random step correction"
[nfvbench.git]
/
nfvbench
/
traffic_client.py
diff --git
a/nfvbench/traffic_client.py
b/nfvbench/traffic_client.py
index
6d52475
..
b70e8f9
100755
(executable)
--- a/
nfvbench/traffic_client.py
+++ b/
nfvbench/traffic_client.py
@@
-920,7
+920,8
@@
class TrafficClient(object):
def get_stats(self):
"""Collect final stats for previous run."""
stats = self.gen.get_stats()
def get_stats(self):
"""Collect final stats for previous run."""
stats = self.gen.get_stats()
- retDict = {'total_tx_rate': stats['total_tx_rate']}
+ retDict = {'total_tx_rate': stats['total_tx_rate'],
+ 'offered_tx_rate_bps': stats['offered_tx_rate_bps']}
tx_keys = ['total_pkts', 'total_pkt_bytes', 'pkt_rate', 'pkt_bit_rate']
rx_keys = tx_keys + ['dropped_pkts']
tx_keys = ['total_pkts', 'total_pkt_bytes', 'pkt_rate', 'pkt_bit_rate']
rx_keys = tx_keys + ['dropped_pkts']