diff options
author | fmenguy <francoisregis.menguy@orange.com> | 2020-05-06 17:35:35 +0200 |
---|---|---|
committer | fmenguy <francoisregis.menguy@orange.com> | 2020-05-27 11:07:32 +0200 |
commit | 143c4ff68068fd704e7eb4df1c82af29f087c871 (patch) | |
tree | 969713b19beae3944d5d25beb9a3dae8ed6fcf63 /nfvbench/traffic_client.py | |
parent | caac5c7f6e80d33d5031f26e5e0f0ea6f1d3789b (diff) |
[NFVBENCH-168] Improve config properties managed after a REST call
Change-Id: I20973c1c405dec8cce58f984e1fb84e345013b25
Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
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 f26a747..0247857 100755 --- a/nfvbench/traffic_client.py +++ b/nfvbench/traffic_client.py @@ -923,7 +923,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'] |