diff options
author | 2015-10-20 05:39:14 +0300 | |
---|---|---|
committer | 2015-10-20 05:39:14 +0300 | |
commit | cf753587ffb7b89cff1863c74ca334b8c41fd0c0 (patch) | |
tree | f9d8bd9e67cb93306e93041f11f5e4124a6e151a /scripts/automation/trex_control_plane/console/trex_status.py | |
parent | d09df99769f67819c64a7a025dbdcd39811c7b44 (diff) | |
parent | 51ad078182d17b42a36c239c3c21381eeb3eec85 (diff) |
Merge branch 'master' into master-demo +
working demo of loading a YAML, and attaching it to server
Diffstat (limited to 'scripts/automation/trex_control_plane/console/trex_status.py')
-rw-r--r-- | scripts/automation/trex_control_plane/console/trex_status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/console/trex_status.py b/scripts/automation/trex_control_plane/console/trex_status.py index b881f9f5..2c5a648f 100644 --- a/scripts/automation/trex_control_plane/console/trex_status.py +++ b/scripts/automation/trex_control_plane/console/trex_status.py @@ -170,7 +170,7 @@ class PortsStatsPanel(TrexStatusPanel): port_stats = self.status_obj.stats.get_port_stats(port_index) if port_stats: - self.getwin().addstr(5 + (i * 4), 2, "{:^15} {:^15,} {:^15,} {:^15,} {:^15,} {:^15,} {:^15,}".format( + self.getwin().addstr(5 + (i * 4), 2, "{:^15} {:^15,.2f} {:^15,.2f} {:^15,} {:^15,.2f} {:^15,.2f} {:^15,}".format( "{0} ({1})".format(str(port_index), self.status_obj.server_sys_info["ports"][port_index]["speed"]), port_stats["tx_pps"], port_stats["tx_bps"], |