Merge lp:~mpontillo/maas/l2-spaces--juju-bug-workaround into lp:~maas-committers/maas/trunk
Proposed by
Mike Pontillo
Status: | Merged |
---|---|
Approved by: | Mike Pontillo |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5654 |
Proposed branch: | lp:~mpontillo/maas/l2-spaces--juju-bug-workaround |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
391 lines (+142/-43) 9 files modified
src/maasserver/api/subnets.py (+5/-2) src/maasserver/api/tests/test_vlans.py (+59/-2) src/maasserver/api/vlans.py (+15/-23) src/maasserver/forms_subnet.py (+5/-11) src/maasserver/forms_vlan.py (+9/-3) src/maasserver/models/space.py (+7/-1) src/maasserver/models/tests/test_space.py (+6/-0) src/maasserver/tests/test_forms_subnet.py (+14/-1) src/maasserver/tests/test_forms_vlan.py (+22/-0) |
To merge this branch: | bzr merge lp:~mpontillo/maas/l2-spaces--juju-bug-workaround |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+315291@code.launchpad.net |
Commit message
Spaces API cleanup.
* Make spaces API more backward compatible with older Juju versions.
* Always return a string for the space name. The string "undefined" will be used for null spaces.
* "undefined" is now a reserved space name.
* A specifier (in practice, the name or the ID) can now be used to specify a VLAN's space.
* Remove dead code.
To post a comment you must log in.
Looks good. Only have a question about the dead code you removed.