Skip to content

fix(dim): scope "create rr from pool" to the pool's layer3domain - #325

Open
miesi wants to merge 1 commit into
IONOS-Core:masterfrom
miesi:fix/rr-from-pool-layer3domain
Open

miesi wants to merge 1 commit into
IONOS-Core:masterfrom
miesi:fix/rr-from-pool-layer3domain

Conversation

@miesi

@miesi miesi commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

rr_create_from_pool() called _ip_mark() without a layer3domain, so the "already in use" check looked at all layer3domains. When the first free address of the pool was Static in another layer3domain, the command failed with " from layer3domain is already allocated" - and kept failing, because the allocator hands out the same first free address every time.

ipblock_get_ip() ("modify pool P get ip") already passes pool.layer3domain; do the same here.

ITOUDP-8009

rr_create_from_pool() called _ip_mark() without a layer3domain, so the
"already in use" check looked at all layer3domains. When the first free
address of the pool was Static in another layer3domain, the command
failed with "<ip> from layer3domain <other> is already allocated" - and
kept failing, because the allocator hands out the same first free
address every time.

ipblock_get_ip() ("modify pool P get ip") already passes
pool.layer3domain; do the same here.

ITOUDP-8009

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

2 participants