Lines Matching +full:route +full:- +full:up
2 # SPDX-License-Identifier: GPL-2.0
111 ip -n testns1 link add name dummy1 type dummy
112 ip -n testns1 link set dev dummy1 up
114 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
115 devlink -N testns1 dev reload $DEVLINK_DEV
118 ip -n testns1 route add 192.0.2.${lsb}/32 dev dummy1 \
122 log_test "IPv4 error path - add"
124 ip -n testns1 link del dev dummy1
133 ip -n testns1 link add name dummy1 type dummy
134 ip -n testns1 link set dev dummy1 up
136 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
137 devlink -N testns1 dev reload $DEVLINK_DEV
140 ip -n testns1 route add 192.0.2.${lsb}/32 dev dummy1
143 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
144 devlink -N testns1 dev reload $DEVLINK_DEV &> /dev/null
146 log_test "IPv4 error path - replay"
148 ip -n testns1 link del dev dummy1
151 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
152 devlink -N testns1 dev reload $DEVLINK_DEV
169 ip -n testns1 link add name dummy1 type dummy
170 ip -n testns1 link set dev dummy1 up
172 ip -n testns1 route add 192.0.2.0/24 dev dummy1
173 ip -n testns1 route del 192.0.2.0/24 dev dummy1 &> /dev/null
177 ip -n testns1 link del dev dummy1
179 log_test "IPv4 route delete failure"
250 ip -n testns1 link add name dummy1 type dummy
251 ip -n testns1 link set dev dummy1 up
253 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
254 devlink -N testns1 dev reload $DEVLINK_DEV
257 ip -n testns1 route add 2001:db8:1::${lsb}/128 dev dummy1 \
261 log_test "IPv6 error path - add single"
263 ip -n testns1 link del dev dummy1
273 ip -n testns1 link add name dummy$i type dummy
274 ip -n testns1 link set dev dummy$i up
275 ip -n testns1 address add 2001:db8:$i::1/64 dev dummy$i
278 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
279 devlink -N testns1 dev reload $DEVLINK_DEV
282 ip -n testns1 route add 2001:db8:10::${lsb}/128 \
287 log_test "IPv6 error path - add multipath"
290 ip -n testns1 link del dev dummy$i
300 ip -n testns1 link add name dummy1 type dummy
301 ip -n testns1 link set dev dummy1 up
303 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100
304 devlink -N testns1 dev reload $DEVLINK_DEV
307 ip -n testns1 route add 2001:db8:1::${lsb}/128 dev dummy1
310 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
311 devlink -N testns1 dev reload $DEVLINK_DEV &> /dev/null
313 log_test "IPv6 error path - replay"
315 ip -n testns1 link del dev dummy1
318 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100
319 devlink -N testns1 dev reload $DEVLINK_DEV
337 ip -n testns1 link add name dummy1 type dummy
338 ip -n testns1 link set dev dummy1 up
340 ip -n testns1 route add 2001:db8:1::/64 dev dummy1
341 ip -n testns1 route del 2001:db8:1::/64 dev dummy1 &> /dev/null
345 ip -n testns1 link del dev dummy1
347 log_test "IPv6 route delete failure"
356 ip netns exec testns1 sysctl -qw net.ipv4.fib_notify_on_flag_change=$notify
357 ip netns exec testns1 sysctl -qw net.ipv6.fib_notify_on_flag_change=$notify
369 while [ ! -d $SYSFS_NET_DIR ] ; do :; done
372 if [ $? -ne 0 ]; then
378 if [ $? -ne 0 ]; then
389 modprobe -r netdevsim &> /dev/null