MAAS should provide an API to determine available ranges in a Subnet
Bug #1467120 reported by
Mark Shuttleworth
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Fix Released
|
High
|
Adam Collard | ||
15.07 |
Fix Released
|
High
|
Adam Collard | ||
MAAS |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
On my MAAS setup I have declared that the switch is on 192.168.9.9. However, Landscape offered me a range of addresses for my cloud which included that address.
EXPECTED: MAAS should factor in what it knows about device addresses when deciding which addresses are used and which are available for dynamic or static assignment.
Related branches
lp:~mpontillo/maas/subnet-ranges-apis
- Blake Rouse (community): Approve
-
Diff: 534 lines (+311/-26)9 files modifiedsrc/maasserver/api/subnets.py (+21/-0)
src/maasserver/api/support.py (+1/-1)
src/maasserver/api/tests/test_subnets.py (+165/-1)
src/maasserver/forms.py (+20/-1)
src/maasserver/models/nodegroupinterface.py (+17/-6)
src/maasserver/models/subnet.py (+18/-12)
src/maasserver/models/tests/test_nodegroupinterface.py (+42/-4)
src/maastesting/factory.py (+2/-1)
src/provisioningserver/utils/network.py (+25/-0)
Changed in maas: | |
milestone: | none → 1.9.0 |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- MAAS should consider device addresses as used + MAAS should provide an API to determine available ranges |
summary: |
- MAAS should provide an API to determine available ranges + MAAS should provide an API to determine available ranges in a Subnet |
Changed in landscape: | |
assignee: | nobody → Adam Collard (adam-collard) |
importance: | Undecided → High |
status: | New → In Progress |
tags: | added: kanban theme-cloud-installer |
tags: | removed: kanban |
Changed in landscape: | |
status: | In Progress → Fix Committed |
Changed in landscape: | |
milestone: | none → 15.08 |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
milestone: | 15.08 → 15.07 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Landscape team: what APIs do you use to determine which ranges are available?