mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 21:30:24 +00:00
39b982c8d6
This commit migrates the `test_ipv6_fragmentation.py` cert test to the Nexus simulation framework. To support this migration, the Nexus core configuration was updated to enable IPv6 fragmentation (`OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE`). The new Nexus test `test_ipv6_fragmentation.cpp` covers the validation of IPv6 fragmentation and reassembly. It sends large ICMPv6 Echo Requests exceeding the 1280-byte MTU between a Leader and a Router: - 1952 bytes payload from Leader to Router - 1831 bytes payload from Router to Leader The original Python test script is removed as its functionality is now fully covered by the new Nexus test.
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.