Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions etc/docker/border-router/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ RUN set -x \
curl \
ipset \
iptables \
iproute2 \
libjsoncpp25 \
xz-utils \
&& PLATFORM_SPEC="${TARGETARCH}${TARGETVARIANT:+/$TARGETVARIANT}" \
Expand Down
6 changes: 4 additions & 2 deletions tests/scripts/expect/dind_1_4_pic_tc_1.exp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ send_user "Successfully Discovered Delegated Prefix: $delegated_prefix\n"

# Verify OMR prefix properties in netdata
# The OMR prefix should be subprefix of 2005:1234:abcd:0::/56, length /64, with 'r' (default) and 'med' preference
set omr_regex {2005:1234:abcd:(?:[0-9a-fA-F]{1,2})?::/64\s+([a-z]*r[a-z]*)\s+med}
set omr_regex {2005:1234:abcd:(?:[0-9a-fA-F]{1,2})?:{1,2}/64\s+([a-z]*r[a-z]*)\s+med}
set netdata_verified false
for {set i 0} {$i < 10} {incr i} {
if {![catch {exec docker exec -i $container ot-ctl netdata show} netdata]} {
Expand All @@ -202,6 +202,8 @@ send_user "OMR prefix verified in Thread Network Data successfully.\n"
send_user "Step 4b: Validating RA on adjacent infrastructure link...\n"
set py_ra_sniffer {import sys
import ipaddress
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from scapy.all import *
Comment thread
jwhui marked this conversation as resolved.

target_prefix = sys.argv[1]
Expand Down Expand Up @@ -258,7 +260,7 @@ def check_pkt(pkt):
return False

# Sniff until check_pkt returns True, or timeout
sniff(filter="icmp6 and ip6[40] == 134", stop_filter=check_pkt, timeout=20)
sniff(filter="icmp6 and icmp6[0] == 134", stop_filter=check_pkt, timeout=20)

if not found_otbr_ra:
print("FAIL: OTBR RA packet not captured")
Expand Down
Loading
Loading