Skip to content

fix(network): Relax Constraints for Resizing Dynamic Range Reservations for v3 API - #347

Open
bryanfraschetti wants to merge 1 commit into
canonical:masterfrom
bryanfraschetti:fix_dynamic_range_resizing_v3_api
Open

bryanfraschetti wants to merge 1 commit into
canonical:masterfrom
bryanfraschetti:fix_dynamic_range_resizing_v3_api

Conversation

@bryanfraschetti

@bryanfraschetti bryanfraschetti commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Fix the validation logic for resizing (expanding / shrinking) dynamic range reservations in the v3 api

Related PR: #280
Resolves LP #2143090

@bryanfraschetti
bryanfraschetti requested a review from a team June 11, 2026 12:50
@maas-lander

Copy link
Copy Markdown
Collaborator

Check where you would like a Mattermost message to be sent to when CI completes and this PR is merged

  • Direct message
  • ~maas

@bryanfraschetti
bryanfraschetti force-pushed the fix_dynamic_range_resizing_v3_api branch from 57c9f37 to 6a06534 Compare June 11, 2026 12:57
@bryanfraschetti
bryanfraschetti force-pushed the fix_dynamic_range_resizing_v3_api branch 2 times, most recently from 781e1b9 to cafe11b Compare July 29, 2026 21:12
@bryanfraschetti
bryanfraschetti force-pushed the fix_dynamic_range_resizing_v3_api branch from cafe11b to bb03e0a Compare July 30, 2026 16:19
@skatsaounis

Copy link
Copy Markdown
Contributor

@bryanfraschetti it is time to rebase this PR now before someone from the MAAS team reviews your PR. Thanks 🙂

@bryanfraschetti
bryanfraschetti force-pushed the fix_dynamic_range_resizing_v3_api branch 2 times, most recently from 121ca7f to c14576b Compare August 20, 2026 14:10
@bryanfraschetti

Copy link
Copy Markdown
Contributor Author

@skatsaounis Thanks 🙂 Just rebased

@skatsaounis

Copy link
Copy Markdown
Contributor

@alemar99 could you please review this PR based on your past contributions to API v3 IP ranges?

@alemar99 alemar99 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the contribution!

Just a nit on module imports and then we can merge it

MISSING_PERMISSIONS_VIOLATION_TYPE,
)
from maasservicelayer.models.auth import AuthenticatedUser
from maasservicelayer.models.ipranges import IPRange as IPRangeModel

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: don't use an alias

ValidationException,
)
from maasservicelayer.models.auth import AuthenticatedUser
from maasservicelayer.models.ipranges import IPRange as IPRangeModel

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@bryanfraschetti
bryanfraschetti force-pushed the fix_dynamic_range_resizing_v3_api branch from c14576b to 26fbca7 Compare September 22, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants