selftests: forwarding: Test IPv4 weighted nexthops
authorIdo Schimmel <idosch@mellanox.com>
Wed, 28 Feb 2018 10:25:11 +0000 (12:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 17:25:47 +0000 (12:25 -0500)
commit3d578d879517a97f4af867e6a8a021baf15e5101
tree82d66e064279c32078e13c0fb659b7d87d0db165
parent937eeb3482748bb85486070e10b5fbeb6b973f63
selftests: forwarding: Test IPv4 weighted nexthops

Use different weights for the multipath route configured on the first
router and check that the different flows generated by the first host
are distributed according to the provided weights.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/lib.sh
tools/testing/selftests/net/forwarding/router_multipath.sh