Files
openthread/tests/scripts
Abtin Keshavarzian 171f94c307 [srp-client] defer SRP update on SLAAC address deprecation (#10505)
This commit updates SRP client's `AutoHostAddress` behavior to
defer SRP updates on SLAAC address deprecation events.

Under `AutoHostAddressMode`, all preferred addresses on Thread Netif,
excluding link-local and mesh-local addresses, are registered. If no
eligible address is available, then the ML-EID will be registered.

This commit adds a new mechanism where if a previously registered
address starts being deprecated (e.g., due to an OMR prefix removal
from Network Data), the SRP update is deferred. The client will
re-register after the deprecation time has elapsed and the address is
removed. In the meantime, if any other event triggers the client to
send an SRP update, the updated address list will be included in that
update.

This commit also updates `test_srp_auto_host_address` to validate the
newly added behavior.
2024-07-17 11:14:09 -07:00
..