diff options
Diffstat (limited to 'nfvbench/traffic_client.py')
-rwxr-xr-x | nfvbench/traffic_client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nfvbench/traffic_client.py b/nfvbench/traffic_client.py index 6d52475..b70e8f9 100755 --- 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() - 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'] |