It seems that SLAAC is implemented in cli application instead of network stack. Is it target design or should be refactored?
Additionally it creates IID randomly while procedure from RFC 7217 should be used.
OpenThread intentionally delegates full control of managing IPv6 addresses for prefixes obtained via the Network Data to the application. We follow this model for a few reasons:
Maybe we could provide utility in openThread API to help application developer use SLAAC and RFC7217? It would be removed by linker if application did not use it.
Sounds good to me. Are you willing to submit a PR for this feature?
Yeah, I'll prepare PR.
Most helpful comment
Maybe we could provide utility in openThread API to help application developer use SLAAC and RFC7217? It would be removed by linker if application did not use it.