mirror of
https://github.com/espressif/openthread.git
synced 2026-07-07 21:00:20 +00:00
0f66392f9c
This commit migrates 'test_on_mesh_prefix.py' from the thread-cert functional tests to the Nexus simulation framework. The new Nexus test 'test_on_mesh_prefix.cpp' covers: - Propagation of stable and non-stable on-mesh prefixes. - Different Network Data request behavior for MEDs and SEDs. - MEDs receiving both stable and non-stable prefixes. - SEDs receiving only stable prefixes. - IPv6 address configuration (SLAAC) for all prefixes. - Reachability verification via ICMPv6 Echo Request/Response. Migrating to Nexus provides faster execution and improves the reliability of the functional test suite.
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.