extosdep: notify external OS handler of network config updates#2587
Open
aadnehovda wants to merge 1 commit into
Open
extosdep: notify external OS handler of network config updates#2587aadnehovda wants to merge 1 commit into
aadnehovda wants to merge 1 commit into
Conversation
This was referenced May 20, 2026
4206142 to
b8ffff3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a small extosdep notification for network configuration changes. External OS handlers can use it as a low-cost nudge that something changed for a network and then fetch authoritative state through the existing local API.
The message carries the network ID and configuration revision. It is emitted when the service receives network configuration updates, down events, or destroy events.
This also fixes extosdep TAP IP bookkeeping in
removeIp(). Without removing the deleted address from the internalallIpslist, a lateraddIp()for the same address is incorrectly suppressed. That matters for wrappers that let ZeroTier One remain responsible for policy decisions and simply execute the resultingADDIP/DELIPmessages.Validation
ZT_EXTOSDEP=1.zerotier-one -x fd1,fd2.DELIPfollowed byADDIPworks when controller-managed addressing is disabled and re-enabled.