mbox series

[v5,0/5] dts: testpmd show port info/stats

Message ID 20240606213420.254260-1-luca.vizzarro@arm.com (mailing list archive)
Headers
Series dts: testpmd show port info/stats |

Message

Luca Vizzarro June 6, 2024, 9:34 p.m. UTC
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
  

Comments

Thomas Monjalon June 20, 2024, 3:04 a.m. UTC | #1
> 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

Applied, thanks.