selftests: forwarding: Add device-only nexthop test
authorIdo Schimmel <idosch@nvidia.com>
Thu, 19 Nov 2020 13:08:47 +0000 (15:08 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Nov 2020 23:20:20 +0000 (15:20 -0800)
commite96fa54bbd90e487a8c230155db4231d9326ebcc
tree8abeacd0c47958f28959dbcb66160b148f74a5bc
parent3600f29ad1399a1335af2030e8106ac8bbe9261a
selftests: forwarding: Add device-only nexthop test

In a similar fashion to router_multipath.sh and its nexthop objects
version router_mpath_nh.sh, create a nexthop objects version of
router.sh.

It reuses the same topology, but uses device-only nexthop objects
instead of legacy ones.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/router_nh.sh [new file with mode: 0755]