Lines Matching +full:10 +full:a

63 	# Test that it is possible to set an IP address on a VRF upper despite
67 ip link add name vrf-test type vrf table 10
90 # Create a FID RIF
97 # Prepare a device with a low MAC address
104 check_err $? "Could not attach a device with low MAC to a bridge with RIF"
106 # Port MAC address change should be allowed for a bridge with set MAC.
120 # Test that when a VLAN interface is deleted, its associated router
129 ip link add link br0 name br0.10 type vlan id 10
130 ip -6 address add 2001:db8:1::1/64 dev br0.10
131 ip link del dev br0.10
133 # If we leaked the previous RIF, then this should produce a trace
145 # Test that when a bridge with VLAN interfaces is deleted, we correctly
155 ip link add link br0 name br0.10 type vlan id 10
156 ip -6 address add 2001:db8:1::1/64 dev br0.10
163 # If we leaked previous RIFs, then this should produce a trace
181 bridge vlan add vid 10 dev $swp1 pvid untagged
182 bridge vlan add vid 10 dev $swp1 untagged
183 bridge vlan add vid 10 dev $swp1 pvid
184 bridge vlan add vid 10 dev $swp1
187 # If we did not handle references correctly, then this should produce a
229 # This might generate a trace, if we did not handle the failure
242 # Test that on a given port a VLAN is only used once. Either as VLAN
243 # in a VLAN-aware bridge or as a VLAN device
248 bridge vlan add vid 10 dev $swp1
250 ip link add link $swp1 name $swp1.10 type vlan id 10 &> /dev/null
253 bridge vlan del vid 10 dev $swp1
254 ip link add link $swp1 name $swp1.10 type vlan id 10
256 bridge vlan add vid 10 dev $swp1 &> /dev/null
261 ip link del dev $swp1.10
278 ip link add link br0 name br0.10 up type vlan id 10
279 ip -6 address add 2001:db8:1::1/64 dev br0.10
282 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
285 bridge vlan add vid 10 dev $swp1
287 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
290 bridge vlan del vid 10 dev $swp1
292 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
297 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
302 ip link del dev br0.10
322 ip link add link bond1 name bond1.10 up type vlan id 10
324 ip -6 address add 2001:db8:2::1/64 dev bond1.10
330 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
338 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
346 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
351 ip link del dev bond1.10
357 # Test that the reference count of a RIF configured for a LAG is
385 check_err $? "subport rif of lag device was destroyed after re-adding a port and removing another"
406 ip link add link $swp1 name $swp1.10 type vlan id 10
409 ip link set dev $swp1.10 master br10
414 # might produce a trace
418 vconfig rem $swp1.10 &> /dev/null
436 ip link add link bond1 name bond1.10 type vlan id 10
443 ip link set dev bond1.10 master br10
466 ip link add link $swp1 name $swp1.10 type vlan id 10
467 ip -6 address add 2001:db8:10::1/64 dev $swp1.10
468 check_err $? "failed to configure ip address on $swp1.10"
477 ip link del dev $swp1.10
505 # Test that uppers of a VLAN interface are correctly sanitized
511 ip link add link br0 name br0.10 type vlan id 10
512 ip link add link br0.10 name macvlan0 \
514 check_fail $? "managed to create a macvlan when should not"
516 ip -6 address add 2001:db8:1::1/64 dev br0.10
517 ip link add link br0.10 name macvlan0 type macvlan mode private
518 check_err $? "did not manage to create a macvlan when should"
522 ip link add name vrf-test type vrf table 10
523 ip link set dev br0.10 master vrf-test
528 ip link set dev br0.10 master br-test &> /dev/null
649 check_fail $? "managed to configure a nexthop with MPLS encap when should not"
654 ip nexthop add id 10 group 1/2
655 check_fail $? "managed to configure a nexthop group with device-only nexthops when should not"
657 ip nexthop add id 10 group 3 type resilient buckets 7
658 check_fail $? "managed to configure a too small resilient nexthop group when should not"
660 ip nexthop add id 10 group 3 type resilient buckets 129
661 …check_fail $? "managed to configure a resilient nexthop group with invalid number of buckets when …
663 ip nexthop add id 10 group 1/2 type resilient buckets 32
664 …check_fail $? "managed to configure a resilient nexthop group with device-only nexthops when shoul…
666 ip nexthop add id 10 group 3 type resilient buckets 32
667 check_err $? "failed to configure a valid resilient nexthop group"
669 check_fail $? "managed to populate a nexthop bucket with a device-only nexthop when should not"
673 ip nexthop del id 10
718 check_err $? "nexthop not marked as offloaded after replacing to use a valid address"
740 ip nexthop add id 10 group 1/2
755 ip nexthop show id 10
761 ip nexthop show id 10
767 ip nexthop show id 10
773 ip nexthop show id 10
781 ip nexthop del id 10
800 ip nexthop add id 10 group 1/2 type resilient buckets 32 idle_timer 0
845 ip nexthop del id 10
863 ip nexthop add id 10 group 1
865 ip nexthop show id 10
870 ip nexthop del id 10
897 check_err $? "route not marked as offloaded after replacing valid nexthop with a valid one"
907 check_err $? "route not marked as offloaded after replacing invalid nexthop with a valid one"
922 # Test that after executing all the above configuration tests, a