[LTP] [RFC PATCH v6 00/11] Simplify network setup + fix some network stress tests

Alexey Kodanev alexey.kodanev@oracle.com
Tue Jun 6 14:05:23 CEST 2017


On 06/03/2017 03:00 PM, Petr Vorel wrote:
> Hi,
>
> as it might be uncomfortable to see patches on mailing list, you can also see
> them on github: https://github.com/pevik/ltp/tree/tst_net_vars.v6
>
> changes v5->v6:
>
> Changes in network setup (testcases/lib/tst_net_vars.c):
> * Simplify parsing network and host part of IP. Now it calculate just network
>   part and set host as the rest of what is left from IP.
> * Try to lookup local iface name and prefix in rtnetlink data if prefix not
>   provided in setup (in form of IP/PREFIX). Don't look up for remote prefix and
>   iface name as we would need to setup connection first, but this requires to
>   know them (remote prefix and iface name) for remote connection (or am I
>   missing something?).
Hi Petr,

tst_rhost_run() with "two hosts" setup is using just RHOST
variable (management link) for rsh/ssh, it can have the same
route as IP_RHOST or better something different that won't be
affected by the tests.

Thanks,
Alexey



More information about the ltp mailing list