mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 13:20:25 +00:00
32ade1684b
This commit implements the Nexus test specification 1_4_PIC_TC_4 to verify the Border Router (BR) built-in NAT64 translator. The test verifies that the BR DUT: - Automatically configures an IPv4 address and NAT64 prefix. - Offers IPv4 internet connectivity to Thread devices using NAT64. - Offers IPv4 local network connectivity to Thread devices. - Operates a DNS recursive resolver to look up IPv4 server addresses. New files added: - tests/nexus/test_1_4_PIC_TC_4.cpp: C++ test execution script - tests/nexus/verify_1_4_PIC_TC_4.py: Python pcap verification script Integration: - Updated tests/nexus/CMakeLists.txt to compile the test. - Added test to default array in tests/nexus/run_nexus_tests.sh.
OpenThread Certification Tests
Inspector
Inspect nodes status by the following modification:
- Insert the inspector to where you want to inspect.
import debug
debug.Inspector(self).inspect()
- Run the test and it will stop at the line above and prompt
#.
./script/test clean build cert tests/scripts/thread-cert/Cert_5_1_01_RouterAttach.py
- Inspect
#
# 1
> state
leader
> exit
# 2
> panid
face
> exit
# exit
CLI reference
# mode
This is selection mode. You may select the node to inspect here.
list- list available nodes.exit- end inspecting, continue running test case.- <number> - select the node with id <number>. This will result in entering
>mode.
> mode
This is node mode. You may run OpenThread CLI here.
exit- go back to#mode.