Skip to content

fix(atlas): Restore the provider pool prefix when an IPv6 router is archived - #308

Merged
tanmoysrt merged 1 commit into
developfrom
fix/atlas-router-archive-pool-prefix
Oct 1, 2026
Merged

tanmoysrt merged 1 commit into
developfrom
fix/atlas-router-archive-pool-prefix

Conversation

@tanmoysrt

Copy link
Copy Markdown
Member

Issue

Archive on an IPv6 Router Server with a provider pool fails with "A direct provider pool cannot be divided into smaller allocations."

Summary

Archive now sets the allocation prefix length of a provider pool back to the pool prefix length when it removes the gateway. The pool is then a valid direct pool again.

Why

Router creation sets the pool allocation prefix length to 128 for routed allocations. Archive removed the gateway but kept 128, and a direct provider pool must allocate its whole prefix.

What changed

  • IPv6RouterServer.archive restores the allocation prefix length of a provider pool.
  • A test checks the gateway and the prefix length after archive.

@tanmoysrt
tanmoysrt merged commit 1394721 into develop Oct 1, 2026
7 checks passed
@tanmoysrt
tanmoysrt deleted the fix/atlas-router-archive-pool-prefix branch October 1, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant