[LTP] [PATCH 1/3] test_net.sh: fix netns when defined LHOST_IFACES or RHOST_IFACES

Petr Vorel pvorel@suse.cz
Fri Dec 23 11:54:47 CET 2016


Hi Alexey,

> Basically, if we set '*_IFACES' variables before the test, we have to make
> sure they contains the names of already existed interfaces. if someone moved
> from rsh config and left eth0 interface names... LTP must setup veth pair
> with this name? More likely the names will be the same and veth pair won't
> be created.
I'm sorry, you're right, I realized that afterwards. Forget about this patch.

> With current configuration, we could create ltp_ns namespace and setup our
> own interface(s) before the test (e.g. veth/br0 -> bond -> vxlan -> vlan ...
> etc), then run the tests with new names set (skipping default setup).
Sounds good, please do it.


Kind regards,
Petr


More information about the ltp mailing list