updating/modifying/assigning vlans, spaces, fabrics, subnets doesn't allow specifying names and lock to ID"s
Bug #1510917 reported by
Andres Rodriguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned |
Bug Description
It is very difficult and very confusing to be able to update/
It needs to support specifying names.
Related branches
lp:~mpontillo/maas/bug-1510917
- Blake Rouse (community): Approve
- LaMont Jones (community): Approve
-
Diff: 1850 lines (+897/-162)25 files modified.idea/inspectionProfiles/Project_Default.xml (+1/-0)
schema/baseline.sql (+1/-1)
src/maasserver/api/networks.py (+3/-16)
src/maasserver/api/tests/test_interfaces.py (+22/-9)
src/maasserver/api/tests/test_subnets.py (+43/-4)
src/maasserver/api/tests/test_vlans.py (+77/-8)
src/maasserver/api/vlans.py (+42/-22)
src/maasserver/fields.py (+21/-0)
src/maasserver/forms_interface_link.py (+5/-2)
src/maasserver/migrations/0140_create_default_fabric_vlan.py (+4/-0)
src/maasserver/migrations/0146_populate_subnets.py (+1/-1)
src/maasserver/models/fabric.py (+37/-8)
src/maasserver/models/interface.py (+53/-33)
src/maasserver/models/space.py (+38/-6)
src/maasserver/models/subnet.py (+34/-21)
src/maasserver/models/tests/test_fabric.py (+50/-0)
src/maasserver/models/tests/test_interface.py (+40/-12)
src/maasserver/models/tests/test_space.py (+51/-0)
src/maasserver/models/tests/test_subnet.py (+1/-1)
src/maasserver/models/tests/test_vlan.py (+66/-2)
src/maasserver/models/vlan.py (+84/-1)
src/maasserver/tests/test_forms_interface_link.py (+32/-0)
src/maasserver/urls_api.py (+7/-2)
src/maasserver/utils/orm.py (+164/-12)
src/maasserver/utils/tests/test_orm.py (+20/-1)
Changed in maas: | |
importance: | Undecided → Critical |
milestone: | none → 1.9.0 |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I did this for storage ao there is some good examples on how to do this both at the model level and form level. Lets try to use the same patterns there so its similar and easier to maintain.