Chapter 2
API Reference
2.1
Classes
The following classes are defined:
Name
Description
session
A session
task
A long-running asynchronous task
event
Asynchronous event registration and handling
pool
Pool-wide information
pool patch
Pool-wide patches
VM
A virtual machine (or ’guest’)
VM metrics
The metrics associated with a VM
VM guest metrics
The metrics reported by the guest (as opposed to inferred from
outside)
host
A physical host
host crashdump
Represents a host crash dump
host patch
Represents a patch stored on a server
host metrics
The metrics associated with a host
host cpu
A physical CPU
network
A virtual network
VIF
A virtual network interface
VIF metrics
The metrics associated with a virtual network device
PIF
A physical network interface (note separate VLANs are repre-
sented as several PIFs)
PIF metrics
The metrics associated with a physical network interface
Bond
VLAN
A VLAN mux/demux
SM
A storage manager plugin
SR
A storage repository
VDI
A virtual disk image
VBD
A virtual block device
VBD metrics
The metrics associated with a virtual block device
PBD
The physical block devices through which hosts access SRs
crashdump
A VM crashdump
VTPM
A virtual TPM device
console
A console
user
A user of the system
14