Merge lp:~blake-rouse/maas/fix-interfaces-read into lp:~maas-committers/maas/trunk
Proposed by
Blake Rouse
Status: | Merged |
---|---|
Approved by: | Blake Rouse |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6002 |
Proposed branch: | lp:~blake-rouse/maas/fix-interfaces-read |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
121 lines (+66/-3) 3 files modified
src/maasserver/api/interfaces.py (+20/-1) src/maasserver/api/nodes.py (+8/-2) src/maasserver/api/tests/test_interfaces.py (+38/-0) |
To merge this branch: | bzr merge lp:~blake-rouse/maas/fix-interfaces-read |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mike Pontillo (community) | Approve | ||
Review via email: mp+322887@code.launchpad.net |
Commit message
Prefetch interface data for GET interfaces.
This make the number of queries for interfaces read to always be the same. Doesn't matter the number of interfaces on the machine the number of queries will be the same.
Description of the change
make_complex_
To post a comment you must log in.
Very nice!