To be clear, this "fix" (miniture feature in disguise?) would potentially introduce a few new operations:
- <nodes|machines|devices|rack-controllers|region-controllers> count
* could really apply to anything in the system
- nodes summary
* prints a summary of object counts per node type
- machines summary
* prints the result of the three queries you asked for
The "summary" name on both endpoints is up for debate.
Also, the behavior is up for debate - I think it might be cleaner to have 4 separate APIs - one for the summary of node/type counts, and one for each requested "report"-like query.
To be clear, this "fix" (miniture feature in disguise?) would potentially introduce a few new operations:
- <nodes| machines| devices| rack-controller s|region- controllers> count
* could really apply to anything in the system
- nodes summary
* prints a summary of object counts per node type
- machines summary
* prints the result of the three queries you asked for
The "summary" name on both endpoints is up for debate.
Also, the behavior is up for debate - I think it might be cleaner to have 4 separate APIs - one for the summary of node/type counts, and one for each requested "report"-like query.
Any thoughts you have would be appreciated.