[LTP] [RFC PATCH v2 3/3] network: Use tst_net_vars to set up variables

Alexey Kodanev alexey.kodanev@oracle.com
Mon Apr 3 13:41:06 CEST 2017


On 03.04.2017 10:14, Petr Vorel wrote:
> +# set test links + networks that aren't reachable through the test links
> +IPV4_HOST="${IPV4_HOST:-10.0.0.1/24}"
> +IPV4_HOST2="${IPV4_HOST2:-10.0.0.2/24}"

It would be better to use "IPV4_RHOST" and "IPV4_LHOST" names instead,
though it might be on the same host. This lines up with "RHOST" variable.

Also note that previously, 10.0.0.1 address was assigned to remote host
and 10.0.0.2 to the local host, we shouldn't change it.

Thanks,
Alexey


More information about the ltp mailing list