mirror of
https://github.com/espressif/openthread.git
synced 2026-07-07 21:00:20 +00:00
cea7e325b0
This commit migrates the `test_ipv6_source_selection.py` cert test to the Nexus simulation framework. To support this migration, the Nexus framework was extended to allow verifying the local (source) address on which an ICMP Echo Reply is received. This is achieved by adding an overload to `SendAndVerifyEchoRequest` that accepts an expected source address. The new Nexus test `test_ipv6_source_selection.cpp` covers the following scenarios: - RLOC source for RLOC destination - ML-EID source for ALOC destination - ML-EID source for ML-EID destination - Link-local source for Link-local destination - ML-EID source for Realm-local multicast destination (ff03::1) - GUA source for GUA destination - GUA source for external address (via default route) The original Python test script is removed as its functionality is now fully covered by the new Nexus test.