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
212 # Test that on a given port a VLAN is only used once. Either as VLAN
213 # in a VLAN-aware bridge or as a VLAN device
218 bridge vlan add vid 10 dev $swp1
220 ip link add link $swp1 name $swp1.10 type vlan id 10 &> /dev/null
223 bridge vlan del vid 10 dev $swp1
224 ip link add link $swp1 name $swp1.10 type vlan id 10
226 bridge vlan add vid 10 dev $swp1 &> /dev/null
231 ip link del dev $swp1.10
248 ip link add link br0 name br0.10 up type vlan id 10
249 ip -6 address add 2001:db8:1::1/64 dev br0.10
252 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
255 bridge vlan add vid 10 dev $swp1
257 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
260 bridge vlan del vid 10 dev $swp1
262 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
267 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
272 ip link del dev br0.10
292 ip link add link bond1 name bond1.10 up type vlan id 10
294 ip -6 address add 2001:db8:2::1/64 dev bond1.10
300 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
308 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
316 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
321 ip link del dev bond1.10
327 # Test that the reference count of a RIF configured for a LAG is
355 check_err $? "subport rif of lag device was destroyed after re-adding a port and removing another"
376 ip link add link $swp1 name $swp1.10 type vlan id 10
379 ip link set dev $swp1.10 master br10
384 # might produce a trace
388 vconfig rem $swp1.10 &> /dev/null
406 ip link add link bond1 name bond1.10 type vlan id 10
413 ip link set dev bond1.10 master br10
436 ip link add link $swp1 name $swp1.10 type vlan id 10
437 ip -6 address add 2001:db8:10::1/64 dev $swp1.10
438 check_err $? "failed to configure ip address on $swp1.10"
447 ip link del dev $swp1.10
475 # Test that uppers of a VLAN interface are correctly sanitized
481 ip link add link br0 name br0.10 type vlan id 10
483 ip -6 address add 2001:db8:1::1/64 dev br0.10
484 ip link add link br0.10 name macvlan0 type macvlan mode private
485 check_err $? "did not manage to create a macvlan when should"
489 ip link add name vrf-test type vrf table 10
490 ip link set dev br0.10 master vrf-test
495 ip link set dev br0.10 master br-test &> /dev/null
616 check_fail $? "managed to configure a nexthop with MPLS encap when should not"
621 ip nexthop add id 10 group 1/2
622 check_fail $? "managed to configure a nexthop group with device-only nexthops when should not"
624 ip nexthop add id 10 group 3 type resilient buckets 7
625 check_fail $? "managed to configure a too small resilient nexthop group when should not"
627 ip nexthop add id 10 group 3 type resilient buckets 129
628 …check_fail $? "managed to configure a resilient nexthop group with invalid number of buckets when …
630 ip nexthop add id 10 group 1/2 type resilient buckets 32
631 …check_fail $? "managed to configure a resilient nexthop group with device-only nexthops when shoul…
633 ip nexthop add id 10 group 3 type resilient buckets 32
634 check_err $? "failed to configure a valid resilient nexthop group"
636 check_fail $? "managed to populate a nexthop bucket with a device-only nexthop when should not"
640 ip nexthop del id 10
685 check_err $? "nexthop not marked as offloaded after replacing to use a valid address"
707 ip nexthop add id 10 group 1/2
722 ip nexthop show id 10
728 ip nexthop show id 10
734 ip nexthop show id 10
740 ip nexthop show id 10
748 ip nexthop del id 10
767 ip nexthop add id 10 group 1/2 type resilient buckets 32 idle_timer 0
812 ip nexthop del id 10
830 ip nexthop add id 10 group 1
832 ip nexthop show id 10
837 ip nexthop del id 10
864 check_err $? "route not marked as offloaded after replacing valid nexthop with a valid one"
874 check_err $? "route not marked as offloaded after replacing invalid nexthop with a valid one"
893 ip link add link $swp1 name $swp1.10 type vlan id 10
894 ip link set dev $swp1.10 master br1
896 bridge link set dev $swp1.10 locked on
897 check_fail $? "managed to set locked flag on a VLAN upper"
899 ip link set dev $swp1.10 nomaster
903 check_fail $? "managed to set locked flag on a bridge port that has a VLAN upper"
905 ip link del dev $swp1.10
908 ip link add link $swp1 name $swp1.10 type vlan id 10
909 check_fail $? "managed to configure a VLAN upper on a locked port"
913 ip link del dev $swp1.10 &> /dev/null
919 # Test that after executing all the above configuration tests, a