Merge lp:~mpontillo/maas/node-statistics-bug-1584926--part2 into lp:~maas-committers/maas/trunk
Status: | Rejected |
---|---|
Rejected by: | MAAS Lander |
Proposed branch: | lp:~mpontillo/maas/node-statistics-bug-1584926--part2 |
Merge into: | lp:~maas-committers/maas/trunk |
Prerequisite: | lp:~mpontillo/maas/node-statistics-bug-1584926--part1 |
Diff against target: |
560 lines (+466/-3) 4 files modified
src/maasserver/api/devices.py (+34/-1) src/maasserver/api/machines.py (+86/-0) src/maasserver/api/tests/test_devices.py (+69/-2) src/maasserver/api/tests/test_machines.py (+277/-0) |
To merge this branch: | bzr merge lp:~mpontillo/maas/node-statistics-bug-1584926--part2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
MAAS Maintainers | Pending | ||
Review via email: mp+297684@code.launchpad.net |
Commit message
* Add new APIs to fetch machines and devices using a "group by":
- machines by-status [numeric=<bool>] [count=<bool>] [summary=<bool>]
- machines by-user [count=<bool>] [summary=<bool>]
- machines by-zone [count=<bool>] [summary=<bool>]
- devices by-parent [by_system_
* Add new API to map node status IDs to labels:
- machines get-status-
Unmerged revisions
- 5146. By Mike Pontillo
-
Add tests for devices by-parent.
- 5145. By Mike Pontillo
-
Add tests for machines by-zone.
- 5144. By Mike Pontillo
-
Add tests for machines by-status.
- 5143. By Mike Pontillo
-
Add tests for machines by-user.
- 5142. By Mike Pontillo
-
Reinstate API changes for devices and machines.
- 5141. By Mike Pontillo
-
Revert changes to devices.py and machines.py. (they'll be moved to another branch)
- 5140. By Mike Pontillo
-
Fix lint, review comments.
- 5139. By Mike Pontillo
-
More tests.
- 5138. By Mike Pontillo
-
Start adding test cases.
- 5137. By Mike Pontillo
-
Format imports.
Transitioned to Git.
lp:maas has now moved from Bzr to Git.
Please propose your branches with Launchpad using Git.
git clone https:/ /git.launchpad. net/maas