Merge lp:~mpontillo/maas/networking-constraints-django-form-support 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: | 4427 | ||||
Proposed branch: | lp:~mpontillo/maas/networking-constraints-django-form-support | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
193 lines (+111/-1) 3 files modified
src/maasserver/node_constraint_filter_forms.py (+49/-0) src/maasserver/tests/test_node_constraint_filter_forms.py (+25/-1) src/provisioningserver/utils/constraints.py (+37/-0) |
||||
To merge this branch: | bzr merge lp:~mpontillo/maas/networking-constraints-django-form-support | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+275958@code.launchpad.net |
Commit message
Add a Django form field type (and backing object) for labeled constraint maps. Add a networking field, which makes use of it (and a corresponding validator).
Description of the change
Note that this is still just plumbing. The constraint code itself is still being worked on. This is just a chunk I could carve out to commit separately.
To post a comment you must log in.
Looks good. Just one question about the python3 comment. Go ahead and make this work with python3, so we don't have to find it later.