pod.sh (mrouted-4.3) | : | pod.sh (mrouted-4.4) | ||
---|---|---|---|---|
skipping to change at line 429 | skipping to change at line 429 | |||
# tenacious 30 nsenter --net="$ED1" -- ping -qc 1 -W 1 10.0.0.1 >/dev/null | # tenacious 30 nsenter --net="$ED1" -- ping -qc 1 -W 1 10.0.0.1 >/dev/null | |||
# print "Verifying $ED2 ability to reach its gateway ..." | # print "Verifying $ED2 ability to reach its gateway ..." | |||
# tenacious 30 nsenter --net="$ED2" -- ping -qc 1 -W 1 10.0.2.1 >/dev/null | # tenacious 30 nsenter --net="$ED2" -- ping -qc 1 -W 1 10.0.2.1 >/dev/null | |||
print "Verifying end-to-end unicast connectivity (30 sec) ..." | print "Verifying end-to-end unicast connectivity (30 sec) ..." | |||
tenacious 30 nsenter --net="$ED1" -- ping -qc 1 -W 1 10.0.2.10 >/dev/null | tenacious 30 nsenter --net="$ED1" -- ping -qc 1 -W 1 10.0.2.10 >/dev/null | |||
dprint "OK" | dprint "OK" | |||
print "Starting emitter ..." | print "Starting emitter ..." | |||
nsenter --net="$ED2" -- ./mping -qr -d -i eth0 -t 5 -W 30 225.1.2.3 & | nsenter --net="$ED2" -- ./mping -qr -i eth0 -t 5 -W 30 225.1.2.3 & | |||
echo $! >> "/tmp/$NM/PIDs" | echo $! >> "/tmp/$NM/PIDs" | |||
sleep 1 | sleep 1 | |||
if ! nsenter --net="$ED1" -- ./mping -s -d -i eth0 -t 5 -c 10 -w 15 225.1.2.3; then | if ! nsenter --net="$ED1" -- ./mping -s -i eth0 -t 5 -c 10 -w 15 225.1.2.3; the n | |||
dprint "PIM Status $R1" | dprint "PIM Status $R1" | |||
nsenter --net="$R1" -- ../src/mroutectl -u "/tmp/$NM/r1.sock" show compat de tail | nsenter --net="$R1" -- ../src/mroutectl -u "/tmp/$NM/r1.sock" show compat de tail | |||
dprint "PIM Status $R2" | dprint "PIM Status $R2" | |||
nsenter --net="$R2" -- ../src/mroutectl -u "/tmp/$NM/r2.sock" show compat de tail | nsenter --net="$R2" -- ../src/mroutectl -u "/tmp/$NM/r2.sock" show compat de tail | |||
dprint "PIM Status $R3" | dprint "PIM Status $R3" | |||
nsenter --net="$R3" -- ../src/mroutectl -u "/tmp/$NM/r3.sock" show compat de tail | nsenter --net="$R3" -- ../src/mroutectl -u "/tmp/$NM/r3.sock" show compat de tail | |||
dprint "PIM Status $R4" | dprint "PIM Status $R4" | |||
nsenter --net="$R4" -- ../src/mroutectl -u "/tmp/$NM/r4.sock" show compat de tail | nsenter --net="$R4" -- ../src/mroutectl -u "/tmp/$NM/r4.sock" show compat de tail | |||
echo "Failed routing, expected at least 10 multicast ping replies" | echo "Failed routing, expected at least 10 multicast ping replies" | |||
FAIL | FAIL | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |