mirror of
https://github.com/espressif/openthread.git
synced 2026-07-07 12:52:35 +00:00
d8d1fe2134
This commit migrates the 'test_pbbr_aloc.py' script from the thread-cert framework to the Nexus simulation framework. The new 'test_pbbr_aloc.cpp' replicates the original test: - Forms a network with PBBR, Leader, and Router nodes. - Enables Backbone Router (BBR) on the PBBR node and waits for it to become the Primary BBR. - Verifies connectivity to the Leader ALOC (0xfc00) and the PBBR ALOC (0xfc38) from the Router node using ICMPv6 Echo Requests. - Confirms that the stack correctly uses Network Data for ALOC resolution. Nexus tests provide faster and more scalable network simulations within a single process, improving CI efficiency and reliability. Original Python script 'tests/scripts/thread-cert/test_pbbr_aloc.py' is removed as its functionality is now fully covered by Nexus.