Merge "NFVBENCH-169: UDP port random step correction"
[nfvbench.git] / nfvbench / traffic_client.py
index 6d52475..b70e8f9 100755 (executable)
@@ -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']