[LTP] [RFC PATCH v6 00/11] Simplify network setup + fix some network stress tests
Petr Vorel
pvorel@suse.cz
Tue Jun 6 15:23:00 CEST 2017
Hi Alexey,
thanks for your input.
> 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.
Ok, for ssh/rsh, if prefix isn't defined in IPV{4,6}_LHOST I'll read it with
tst_rhost_run, using RHOST. That means to have separate binary for rtnetlink code.
I'll move default prefix values (24 and 64) from tst_net_vars.c to test_net.sh, these
values will be used as default for netns and used for rsh/ssh only if prefixes aren't
specified in IPV{4,6}_LHOST and nothing found with rtnetlink.
I also want to find via rtnetlink getting lhost and rhost iface. I wonder whether founded
ifaces (rhost and lhost) should be also added into {L,R}HOST_IFACES even if variables are
already specified by user and don't contain them.
Kind regards,
Petr
More information about the ltp
mailing list