diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-06-22 14:22:54 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-06-22 14:22:54 +0300 |
commit | 9249859480c57960905f37282e9fa8047cf17484 (patch) | |
tree | e5b3cc808614e638f52a70fecadf8488c619412b | |
parent | 0e5be9c8cef5dfa5dd8f9dc4910d675aa006fafc (diff) |
STL Python API stats - add histogram key if it's absent
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py index 0ec98a0d..88a94865 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py @@ -1036,6 +1036,7 @@ class CLatencyStats(CTRexStats): output[int_pg_id]['latency']['total_min'] = min_val else: output[int_pg_id]['latency']['total_min'] = StatNotAvailable('total_min') + output[int_pg_id]['latency']['histogram'] = {} self.latest_stats = output return True |