summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/common
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-10-26 09:41:51 +0200
committerDan Klein <danklei@cisco.com>2015-10-26 09:41:51 +0200
commitb44239e4c6019f10fa7cf4fe0fef8c3726435033 (patch)
treec8ddb8a426768372b9e03f7b6506f5a52f846e8c /scripts/automation/trex_control_plane/common
parentde90762476583bed8c3a2c1e15158b85e4231ad0 (diff)
add disconnect functionality
Diffstat (limited to 'scripts/automation/trex_control_plane/common')
-rwxr-xr-xscripts/automation/trex_control_plane/common/trex_streams.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/automation/trex_control_plane/common/trex_streams.py b/scripts/automation/trex_control_plane/common/trex_streams.py
index efa8e5cc..750da198 100755
--- a/scripts/automation/trex_control_plane/common/trex_streams.py
+++ b/scripts/automation/trex_control_plane/common/trex_streams.py
@@ -227,8 +227,7 @@ class CStream(object):
return
- def dump(self, compilation=False):
- # fields = CStream.COMPILE_FIELDS if compilation else CStream.FIELDS
+ def dump(self):
if self.is_loaded:
dump = {}
for key in CStream.FIELDS:
@@ -240,10 +239,6 @@ class CStream(object):
else:
raise RuntimeError("CStream object isn't loaded with data. Use 'load_data' method.")
- def dump_compiled(self):
- return self.dump(compilation=True)
-
-
if __name__ == "__main__":
pass