2.11.
CLASS: VM GUEST METRICS
CHAPTER 2.
API REFERENCE
2.11
Class: VM guest metrics
2.11.1
Fields for class: VM guest metrics
Name
VM guest metrics
Description
The metrics reported by the guest (as opposed to inferred from outside).
Quals
Field
Type
Description
RO
run
uuid
string
unique identifier/object reference
RO
run
os version
(string
→
string) Map
version of the OS
RO
run
PV drivers version
(string
→
string) Map
version of the PV drivers
RO
run
PV drivers up to date
bool
true if the PV drivers appear to be
up to date
RO
run
memory
(string
→
string) Map
free/used/total memory
RO
run
disks
(string
→
string) Map
disk configuration/free space
RO
run
networks
(string
→
string) Map
network configuration
RO
run
other
(string
→
string) Map
anything else
RO
run
last updated
datetime
Time at which this information was
last updated
2.11.2
RPCs associated with class: VM guest metrics
RPC name: get all
Overview:
Return a list of all the VM guest metrics instances known to the system.
Signature:
((VM_guest_metrics ref) Set) get_all (session_id s)
Return Type:
(VM guest metrics ref) Set
references to all objects
RPC name: get all records
Overview:
Return a map of VM guest metrics references to VM guest metrics records for all VM guest metrics
instances known to the system.
Signature:
((VM_guest_metrics ref -> VM_guest_metrics record) Map) get_all_records (session_id s)
Return Type:
(VM guest metrics ref
→
VM guest metrics record) Map
records of all objects
RPC name: get uuid
Overview:
Get the uuid field of the given VM guest metrics.
Signature:
string get_uuid (session_id s, VM_guest_metrics ref self)
105