Returns statistics for specified VM.
- Note
- The cm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: cm.utils.decorators.user_log
- Parameters
-
http_request | (HttpRequest ) |
caller_id | (POST int ) |
vm_id | (POST int ) |
stat_name | (POST string ) type of required statistics |
time | (POST string ) time of last row |
stat_range | (POST string ) period of time from time to past |
resolution | (POST string ) statistics resolution |
- Returns
- HttpResponse with JSON content:
- response: response status,
- data: (
dict
) list of the total usage of VM resources from start VM
Definition at line 46 of file monia.py.