Feature #5051
Semanticly clean up responses
Status: | New | Start date: | 02/10/2014 | |
---|---|---|---|---|
Priority: | Medium | Due date: | 02/14/2014 | |
Assignee: | - | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - | Estimated time: | 36.00 hours |
Description
This feature affects almost all commands that perform HTTP requests and show their results.
Prune the tree of results so that it is as close as possible to the semantics of the command.
For example, up to the current version:
$ kamaki quota list system: cyclades.disk: usage: 0B limit: 100GiB pending: 0B cyclades.vm: usage: 0 limit: 2 pending: 1 ...
The "system" key is part of the response, but does not add anything semanticaly. If anything, it creates
confusion. The following response is more apropriate:
cyclades.disk: usage: 0B limit: 100GiB pending: 0B cyclades.vm: usage: 0 limit: 2 pending: 1 ...
Related issues
Associated revisions
Pretty server info, better errors in set firewall
Refs: #5051
Remove obsolete arguyments from server_info
Refs: #5051