Re: [PATCH v4] dts: add flow rule dataclass to testpmd shell

2024-11-14 Thread Luca Vizzarro
Hi Dean, This looks fine for most of it, but some of Juraj's prior comments still apply. See comments in line. On 10/10/2024 22:06, Dean Marx wrote: +@dataclass I'd make this kw_only=True: @dataclass(kw_only=True) this enforces the construction to include field names for the sake of re

[PATCH v4] dts: add flow rule dataclass to testpmd shell

2024-10-10 Thread Dean Marx
Add dataclass for passing in flow rule creation arguments, as well as a __str__ method for converting to a sendable testpmd command. Add flow_create method to TestPmdShell class for initializing flow rules. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 57 +