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
215 # Test that on a given port a VLAN is only used once. Either as VLAN
216 # in a VLAN-aware bridge or as a VLAN device
221 bridge vlan add vid 10 dev $swp1
223 ip link add link $swp1 name $swp1.10 type vlan id 10 &> /dev/null
226 bridge vlan del vid 10 dev $swp1
227 ip link add link $swp1 name $swp1.10 type vlan id 10
229 bridge vlan add vid 10 dev $swp1 &> /dev/null
234 ip link del dev $swp1.10
251 ip link add link br0 name br0.10 up type vlan id 10
252 ip -6 address add 2001:db8:1::1/64 dev br0.10
255 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
258 bridge vlan add vid 10 dev $swp1
260 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
263 bridge vlan del vid 10 dev $swp1
265 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
270 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10
275 ip link del dev br0.10
295 ip link add link bond1 name bond1.10 up type vlan id 10
297 ip -6 address add 2001:db8:2::1/64 dev bond1.10
303 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
311 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
319 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10
324 ip link del dev bond1.10
330 # Test that the reference count of a RIF configured for a LAG is
358 check_err $? "subport rif of lag device was destroyed after re-adding a port and removing another"
379 ip link add link $swp1 name $swp1.10 type vlan id 10
382 ip link set dev $swp1.10 master br10
387 # might produce a trace
391 vconfig rem $swp1.10 &> /dev/null
409 ip link add link bond1 name bond1.10 type vlan id 10
416 ip link set dev bond1.10 master br10
439 ip link add link $swp1 name $swp1.10 type vlan id 10
440 ip -6 address add 2001:db8:10::1/64 dev $swp1.10
441 check_err $? "failed to configure ip address on $swp1.10"
450 ip link del dev $swp1.10
478 # Test that uppers of a VLAN interface are correctly sanitized
484 ip link add link br0 name br0.10 type vlan id 10
486 ip -6 address add 2001:db8:1::1/64 dev br0.10
487 ip link add link br0.10 name macvlan0 type macvlan mode private
488 check_err $? "did not manage to create a macvlan when should"
492 ip link add name vrf-test type vrf table 10
493 ip link set dev br0.10 master vrf-test
498 ip link set dev br0.10 master br-test &> /dev/null
619 check_fail $? "managed to configure a nexthop with MPLS encap when should not"
624 ip nexthop add id 10 group 1/2
625 check_fail $? "managed to configure a nexthop group with device-only nexthops when should not"
627 ip nexthop add id 10 group 3 type resilient buckets 7
628 check_fail $? "managed to configure a too small resilient nexthop group when should not"
630 ip nexthop add id 10 group 3 type resilient buckets 129
631 …check_fail $? "managed to configure a resilient nexthop group with invalid number of buckets when …
633 ip nexthop add id 10 group 1/2 type resilient buckets 32
634 …check_fail $? "managed to configure a resilient nexthop group with device-only nexthops when shoul…
636 ip nexthop add id 10 group 3 type resilient buckets 32
637 check_err $? "failed to configure a valid resilient nexthop group"
639 check_fail $? "managed to populate a nexthop bucket with a device-only nexthop when should not"
643 ip nexthop del id 10
688 check_err $? "nexthop not marked as offloaded after replacing to use a valid address"
710 ip nexthop add id 10 group 1/2
725 ip nexthop show id 10
731 ip nexthop show id 10
737 ip nexthop show id 10
743 ip nexthop show id 10
751 ip nexthop del id 10
770 ip nexthop add id 10 group 1/2 type resilient buckets 32 idle_timer 0
815 ip nexthop del id 10
833 ip nexthop add id 10 group 1
835 ip nexthop show id 10
840 ip nexthop del id 10
867 check_err $? "route not marked as offloaded after replacing valid nexthop with a valid one"
877 check_err $? "route not marked as offloaded after replacing invalid nexthop with a valid one"
896 ip link add link $swp1 name $swp1.10 type vlan id 10
897 ip link set dev $swp1.10 master br1
899 bridge link set dev $swp1.10 locked on
900 check_fail $? "managed to set locked flag on a VLAN upper"
902 ip link set dev $swp1.10 nomaster
906 check_fail $? "managed to set locked flag on a bridge port that has a VLAN upper"
908 ip link del dev $swp1.10
911 ip link add link $swp1 name $swp1.10 type vlan id 10
912 check_fail $? "managed to configure a VLAN upper on a locked port"
916 ip link del dev $swp1.10 &> /dev/null
922 # Test that after executing all the above configuration tests, a