summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils/text_tables.py
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-02-08 10:55:20 -0500
committerimarom <imarom@cisco.com>2016-02-08 10:55:20 -0500
commit6107c1ca4aa485c5971ff3326513b8f4934f7ac1 (patch)
treea109d80501bd087e3219f68c186fb55bc17e090a /scripts/automation/trex_control_plane/client_utils/text_tables.py
parentf5a5e50bfe046148a20f6ce578d6082119dec2c0 (diff)
huge refactor - again
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils/text_tables.py')
-rw-r--r--scripts/automation/trex_control_plane/client_utils/text_tables.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/text_tables.py b/scripts/automation/trex_control_plane/client_utils/text_tables.py
deleted file mode 100644
index 6b52a4a9..00000000
--- a/scripts/automation/trex_control_plane/client_utils/text_tables.py
+++ /dev/null
@@ -1,31 +0,0 @@
-from texttable import Texttable
-from trex_control_plane.common.text_opts import format_text
-
-class TRexTextTable(Texttable):
-
- def __init__(self):
- Texttable.__init__(self)
- # set class attributes so that it'll be more like TRex standard output
- self.set_chars(['-', '|', '-', '-'])
- self.set_deco(Texttable.HEADER | Texttable.VLINES)
-
-class TRexTextInfo(Texttable):
-
- def __init__(self):
- Texttable.__init__(self)
- # set class attributes so that it'll be more like TRex standard output
- self.set_chars(['-', ':', '-', '-'])
- self.set_deco(Texttable.VLINES)
-
-def generate_trex_stats_table():
- pass
-
-def print_table_with_header(texttable_obj, header="", untouched_header=""):
- header = header.replace("_", " ").title() + untouched_header
- print format_text(header, 'cyan', 'underline') + "\n"
-
- print (texttable_obj.draw() + "\n").encode('utf-8')
-
-if __name__ == "__main__":
- pass
-