v5: - fixed docstrings typos v4: - fixed up TextParser class wording v3: - fixed docstrings - changed TextParser.compose signature - explained TextParser further - introduced new DTSError InternalError v2: - refactored parsing utility - changed functionality of the parser for conciseness - added a usage example to the parsing module
--- Depends-on: series-32026 ("dts: update mypy and clean up") --- Luca Vizzarro (5): dts: fix InteractiveShell command prompt filtering dts: skip first line of send command output dts: add parsing utility module dts: add `show port info` command to TestPmdShell dts: add `show port stats` command to TestPmdShell dts/framework/exception.py | 9 + dts/framework/parser.py | 229 +++++++ .../remote_session/interactive_shell.py | 10 +- dts/framework/remote_session/testpmd_shell.py | 612 +++++++++++++++++- 4 files changed, 857 insertions(+), 3 deletions(-) create mode 100644 dts/framework/parser.py -- 2.34.1