On 29/04/2024 16:54, Jeremy Spewock wrote:
On Fri, Apr 12, 2024 at 7:11 AM Luca Vizzarro wrote:
+output = self.send_command(f"show port stats {port_id}")
Does this also need to skip the first line in the output?
Yep, well spotted!
On Fri, Apr 12, 2024 at 7:11 AM Luca Vizzarro wrote:
> +def show_port_stats(self, port_id: int) -> TestPmdPortStats:
> +"""Returns the given port statistics.
> +
> +Args:
> +port_id: The port ID to gather information for.
> +
> +Raises:
> +Inter
On Fri, Apr 12, 2024 at 1:11 PM Luca Vizzarro wrote:
>
> Add a new TestPmdPortStats data structure to represent the output
> returned by `show port stats`, which is implemented as part of
> TestPmdShell.
>
> Bugzilla ID: 1407
>
> Signed-off-by: Luca Vizzarro
> Reviewed-by: Paul Szczepanek
Acked
Add a new TestPmdPortStats data structure to represent the output
returned by `show port stats`, which is implemented as part of
TestPmdShell.
Bugzilla ID: 1407
Signed-off-by: Luca Vizzarro
Reviewed-by: Paul Szczepanek
---
dts/framework/remote_session/testpmd_shell.py | 58 +++
4 matches
Mail list logo