summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client/trex_async_client.py
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-11-07 13:37:55 +0200
committerDan Klein <danklei@cisco.com>2015-11-07 13:37:55 +0200
commitf6b521fb76e74036c626c10f6ae11ea525ac97b7 (patch)
treea1139cfb96fb5fc3fe052be17b605f8462f17eba /scripts/automation/trex_control_plane/client/trex_async_client.py
parent953a250e6cbaea3040920e7441d2d019705efe51 (diff)
parentc411e0ab9b543aba0fa99f6b0430e499c908be2f (diff)
Merge remote-tracking branch 'origin/rpc_intg1' into rpc_intg1
Diffstat (limited to 'scripts/automation/trex_control_plane/client/trex_async_client.py')
-rw-r--r--scripts/automation/trex_control_plane/client/trex_async_client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/client/trex_async_client.py b/scripts/automation/trex_control_plane/client/trex_async_client.py
index 419448bb..72cce5aa 100644
--- a/scripts/automation/trex_control_plane/client/trex_async_client.py
+++ b/scripts/automation/trex_control_plane/client/trex_async_client.py
@@ -82,6 +82,8 @@ class TrexAsyncStatsPort(TrexAsyncStats):
def __init__ (self):
super(TrexAsyncStatsPort, self).__init__()
+ def get_stream_stats (self, stream_id):
+ return None
# stats manager
class TrexAsyncStatsManager():
@@ -101,7 +103,6 @@ class TrexAsyncStatsManager():
return self.port_stats[str(port_id)]
-
def update (self, snapshot):
if snapshot['name'] == 'trex-global':