Skip to content

feat: add subnet pool selection to subnet creation#66

Merged
larkly merged 1 commit intomainfrom
worktree-sleepy-enchanting-quilt
Mar 28, 2026
Merged

feat: add subnet pool selection to subnet creation#66
larkly merged 1 commit intomainfrom
worktree-sleepy-enchanting-quilt

Conversation

@larkly
Copy link
Copy Markdown
Owner

@larkly larkly commented Mar 28, 2026

Summary

  • Adds optional subnet pool selector to the create subnet modal, filtered by the selected IP version
  • CIDR becomes optional when a subnet pool is selected (pool auto-allocates)
  • Reorders form fields to a logical flow: Name → IP Version → Subnet Pool → CIDR → Gateway → DHCP

Test plan

  • Open subnet create modal, verify "Subnet Pool" field appears between IP Version and CIDR
  • Toggle IP version and confirm pool list filters accordingly
  • Select a pool and submit without CIDR — should succeed
  • Submit without CIDR and without pool — should show validation error
  • Submit with both CIDR and pool — should succeed

Adds an optional subnet pool selector to the create subnet modal,
enabling allocation from pre-configured address pools. This is
especially useful for IPv6 where addresses are typically allocated
from a pool rather than manually specifying CIDR.

- Fetch and display available subnet pools filtered by IP version
- CIDR becomes optional when a subnet pool is selected
- Field order: Name, IP Version, Subnet Pool, CIDR, Gateway, DHCP
@larkly larkly merged commit dfe8ce1 into main Mar 28, 2026
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