Lines Matching +full:10 +full:a
7 # redirected to the VXLAN port (vx0). When a backup nexthop ID is configured,
24 # | br0.10 | | br0.10 |
77 read a
78 [ "$a" = "q" ] && exit 1
85 read a
86 [ "$a" = "q" ] && exit 1
105 if [ "$VERBOSE" = "1" -a -n "$out" ]; then
182 ip -n $ns link add link br0 name br0.10 up type vlan id 10
183 bridge -n $ns vlan add vid 10 dev br0 self
184 ip -n $ns address add $br_addr/28 dev br0.10
188 bridge -n $ns vlan add vid 10 dev swp1 untagged
194 bridge -n $ns vlan add vid 10 dev vx0
195 bridge -n $ns vlan add vid 10 dev vx0 tunnel_info id 10010
260 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
263 # has a carrier and not forwarded out of any port when it does not have
264 # a carrier.
265 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
275 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
286 # forwarded out of swp1 when it has a carrier and out of vx0 when swp1
287 # does not have a carrier.
292 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
302 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
312 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
319 # longer forwarded out of vx0 when swp1 does not have a carrier.
324 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
334 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
358 run_cmd "ip -n $sw1 nexthop replace id 10 group 1/2 fdb"
360 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
366 # nexthop ID and the second filter matches on packets forwarded using a
373 # forwarded out of swp1 when it has a carrier and out of vx0 when swp1
374 # does not have a carrier. When packets are forwarded out of vx0, check
380 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
390 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
404 # Configure nexthop ID 10 as the backup nexthop ID of swp1 and check
407 run_cmd "bridge -n $sw1 link set dev swp1 backup_nhid 10"
408 run_cmd "bridge -n $sw1 -d link show dev swp1 | grep \"backup_nhid 10\""
409 log_test $? 0 "nexthop ID 10 configured as backup nexthop ID of swp1"
411 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
421 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
435 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
446 # forwarded using the backup nexthop ID when swp1 does not have a
452 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
466 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
503 run_cmd "ip -n $sw1 nexthop replace id 10 group 1/2 fdb"
505 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
515 run_cmd "bridge -n $sw1 link set dev swp1 backup_nhid 10"
516 run_cmd "bridge -n $sw1 -d link show dev swp1 | grep \"backup_nhid 10\""
523 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
533 # Use a non-existent nexthop ID.
538 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
548 # Use a blckhole nexthop.
554 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
569 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
587 …run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t …
608 sw1_mac=$(ip -n $sw1 -j -p link show br0.10 | jq -r '.[]["address"]')
609 sw2_mac=$(ip -n $sw2 -j -p link show br0.10 | jq -r '.[]["address"]')
611 run_cmd "bridge -n $sw1 fdb replace $sw2_mac dev swp1 master static vlan 10"
612 run_cmd "bridge -n $sw2 fdb replace $sw1_mac dev swp1 master static vlan 10"
614 run_cmd "ip -n $sw1 neigh replace 192.0.2.66 lladdr $sw2_mac nud perm dev br0.10"
615 run_cmd "ip -n $sw2 neigh replace 192.0.2.65 lladdr $sw1_mac nud perm dev br0.10"
619 run_cmd "ip -n $sw1 nexthop replace id 10 group 1 fdb"
620 run_cmd "ip -n $sw2 nexthop replace id 10 group 1 fdb"
624 run_cmd "bridge -n $sw1 link set dev swp1 backup_nhid 10"
625 run_cmd "bridge -n $sw2 link set dev swp1 backup_nhid 10"
632 run_cmd "ip netns exec $sw1 ping -i 0.1 -c 10 -w $PING_TIMEOUT 192.0.2.66"
639 run_cmd "ip netns exec $sw1 ping -i 0.1 -c 10 -w $PING_TIMEOUT 192.0.2.66"
646 ip -n $sw1 nexthop del id 10
647 ip -n $sw1 nexthop replace id 10 group 1/2 fdb
669 run_cmd "ip -n $sw1 nexthop replace id 10 group 1/2 fdb"
671 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
674 run_cmd "bridge -n $sw1 link set dev swp1 backup_nhid 10"
679 …ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100…