2.0 Errors for removing a subnet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Wishlist
|
Lilyana Videnova |
Bug Description
As discussed with Andres, Blake and Rich via email.
There are three types of errors we should display when removing a subnet:
1. MAAS provides DHCP to nodes or devices on the subnet
This subnet cannot be removed as there are nodes that have an IP address obtained through DHCP services on this subnet. Release these nodes in order to proceed.
2. MAAS provides DHCP to the subnet but has no IP addresses allocated at the moment of removal.
Are you sure you want to remove this subnet? ["Cancel" textlink] ["Remove" orange CTA]
3. MAAS does not provide DHCP to nodes on the subnet
Are you sure you want to remove this subnet? Beware IP addresses on devices on this subnet might not be retained. ["Cancel" textlink] ["Remove" orange CTA]
Related branches
- Lilyana Videnova (community): Approve (ux)
- Anthony Dillon: Approve
-
Diff: 161 lines (+124/-2)3 files modifiedsrc/maasserver/static/js/angular/controllers/subnet_details.js (+26/-0)
src/maasserver/static/js/angular/controllers/tests/test_subnet_details.js (+80/-0)
src/maasserver/static/partials/subnet-details.html (+18/-2)
Changed in maas: | |
importance: | Undecided → Wishlist |
milestone: | none → 2.0.0 |
status: | New → Confirmed |
Changed in maas: | |
status: | Confirmed → Triaged |
Changed in maas: | |
milestone: | 2.0.0 → 2.1.0 |
Changed in maas: | |
milestone: | 2.1.0 → 2.1.1 |
Changed in maas: | |
milestone: | 2.1.1 → 2.1.2 |
Changed in maas: | |
milestone: | 2.1.2 → 2.1.3 |
Changed in maas: | |
milestone: | 2.1.3 → next |
tags: | added: ux |
tags: | removed: ux |
Changed in maas: | |
assignee: | nobody → Lilyana Videnova (lilyanavidenova) |
Changed in maas: | |
milestone: | next → 2.7.0alpha1 |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |