<div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif">Good to know, I'll fix this.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 10, 2024 at 8:18 AM Juraj Linkeš <juraj.linkes@pantheon.tech> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/framework/remote_session/testpmd_shell.py<br>
> index 0184cc2e71..11c5c7f93c 100644<br>
> --- a/dts/framework/remote_session/testpmd_shell.py<br>
> +++ b/dts/framework/remote_session/testpmd_shell.py<br>
<snip><br>
> @@ -82,3 +182,50 @@ def get_devices(self) -> list[TestPmdDevice]:<br>
>              if "device name:" in line.lower():<br>
>                  dev_list.append(TestPmdDevice(line))<br>
>          return dev_list<br>
> +<br>
> +    def wait_link_status_up(self, port_id: int, timeout=SETTINGS.timeout) -> bool:<br>
> +        """Wait until the link status on the given port is "up".<br>
> +<br>
> +        Arguments:<br>
> +            port_id: Port to check the link status on.<br>
> +            timeout: Time to wait for the link to come up. The default value for this<br>
> +                argument may be modified using the :option:`-t, --timeout` command-line argument<br>
<br>
This should be just :option:`--timeout`, otherwise Sphinx complains:<br>
WARNING: unknown option: '-t, --timeout'<br>
<br>
> +                or the :envvar:`DTS_TIMEOUT` environment variable.<br>
> +<br>
> +        Returns:<br>
> +            Whether the link came up in time or not.<br>
> +        """<br>
</blockquote></div>