diff options
Diffstat (limited to 'scripts/automation/trex_control_plane/common/trex_stats.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/common/trex_stats.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/automation/trex_control_plane/common/trex_stats.py b/scripts/automation/trex_control_plane/common/trex_stats.py index e88a1148..a6add4ac 100755 --- a/scripts/automation/trex_control_plane/common/trex_stats.py +++ b/scripts/automation/trex_control_plane/common/trex_stats.py @@ -116,11 +116,11 @@ class CTRexInfoGenerator(object): ("state", []), ("--", []), ("opackets", []), - ("obytes", []), ("ipackets", []), + ("obytes", []), ("ibytes", []), - ("ierrors", []), ("oerrors", []), + ("ierrors", []), ("tx-bytes", []), ("rx-bytes", []), ("tx-pkts", []), @@ -478,11 +478,11 @@ class CPortStats(CTRexStats): "state": self._port_obj.get_port_state_name() if self._port_obj else "", "--": " ", "opackets" : self.get_rel("opackets"), - "obytes" : self.get_rel("obytes"), "ipackets" : self.get_rel("ipackets"), + "obytes" : self.get_rel("obytes"), "ibytes" : self.get_rel("ibytes"), - "ierrors" : self.get_rel("ierrors"), "oerrors" : self.get_rel("oerrors"), + "ierrors" : self.get_rel("ierrors"), "tx-bytes": self.get_rel("obytes", format = True, suffix = "B"), "rx-bytes": self.get_rel("ibytes", format = True, suffix = "B"), |