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

2024-08-02 Thread Jeremy Spewock
I think Luca made some great points and I agree with what he said, I just had one other though as well. Great work! On Fri, Jul 26, 2024 at 10:22 AM Dean Marx wrote: > + > class TestPmdShell(DPDKShell): > """Testpmd interactive shell. > > @@ -804,6 +841,25 @@ def show_port_stats(self, port

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

2024-07-26 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 | 58 +

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

2024-07-26 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 intializing flow rules. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 66 ++