Xenserver 7 0 Management API Guide
Xenserver 7 0 Management API Guide
1 Introduction 3
1.1 RPCs associated with fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 RPCs associated with classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.1 Additional RPCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Wire Protocol for Remote API Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3.1 Note on References vs UUIDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3.2 Return Values/Status Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Making XML-RPC Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4.1 Transport Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4.2 Session Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4.3 Synchronous and Asynchronous invocation . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5 Example interactive session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6 VM Lifecycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.7 VM boot parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2 API Reference 12
2.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2 Relationships Between Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3 Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3.1 Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3.2 Higher-order types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3.3 Enumeration types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.4 Class: session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.4.1 Fields for class: session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.4.2 RPCs associated with class: session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.5 Class: auth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.5.1 Fields for class: auth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.5.2 RPCs associated with class: auth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.6 Class: subject . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.6.1 Fields for class: subject . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.6.2 RPCs associated with class: subject . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.7 Class: role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2.7.1 Fields for class: role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2.7.2 RPCs associated with class: role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2.8 Class: task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
2.8.1 Fields for class: task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
2.8.2 RPCs associated with class: task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
2.9 Class: event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
2.9.1 Fields for class: event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
2
CONTENTS CONTENTS
3
CONTENTS CONTENTS
4
CONTENTS CONTENTS
5
Chapter 1
Introduction
This document defines the Citrix XenServer Management APIan API for remotely configuring and controlling
virtualised guests running on a XenServer pool.
The API is presented here as a set of Remote Procedure Calls, with a wire format based upon XML-RPC. No
specific language bindings are prescribed, although examples will be given in the python programming language.
Although we adopt some terminology from object-oriented programming, future client language bindings may
or may not be object oriented. The API reference uses the terminology classes and objects. For our purposes a
class is simply a hierarchical namespace; an object is an instance of a class with its fields set to specific values.
Objects are persistent and exist on the server-side. Clients may obtain opaque references to these server-side
objects and then access their fields via get/set RPCs.
For each class we specify a list of fields along with their types and qualifiers. A qualifier is one of:
RO run : the field is Read Only. Furthermore, its value is automatically computed at runtime. For example:
current CPU load and disk IO throughput.
RO ins : the field must be manually set when a new object is created, but is then Read Only for the duration
of the objects life. For example, the maximum memory addressable by a guest is set before the guest
boots.
RW : the field is Read/Write. For example, the name of a VM.
A full list of types is given in Chapter 2. However, there are three types that require explicit mention:
t Ref : signifies a reference to an object of type t.
t Set: signifies a set containing values of type t.
(t1 , t2 ) Map: signifies a mapping from values of type t1 to values of type t2 .
Note that there are a number of cases where Refs are doubly linked e.g. a VM has a field called VIFs of type
(VIF Ref ) Set; this field lists the network interfaces attached to a particular VM. Similarly, the VIF class has a
field called VM of type (VM Ref ) which references the VM to which the interface is connected. These two fields
are bound together , in the sense that creating a new VIF causes the VIFs field of the corresponding VM object
to be updated automatically.
The API reference explicitly lists the fields that are bound together in this way. It also contains a diagram
that shows relationships between classes. In this diagram an edge signifies the existance of a pair of fields
that are bound together, using standard crows-foot notation to signify the type of relationship (e.g. one-many,
many-many).
6
1.1. RPCS ASSOCIATED WITH FIELDS CHAPTER 1. INTRODUCTION
Each class that has a name label field has a get by name label(name) RPC that returns a set of objects
of that class that have the specified label.
Each class has a destroy(Ref x) RPC that explicitly deletes the persistent object specified by x from
the system. This is a non-cascading delete if the object being removed is referenced by another object
then the destroy call will fail.
1 Since sets cannot contain duplicate values this operation has no action in the case that v was already in the set.
7
1.3. WIRE PROTOCOL FOR REMOTE API CALLS CHAPTER 1. INTRODUCTION
<value><string>destroy</string></value>
for all our types, t, our type t Set simply maps to XML-RPCs Array type, so for example a value of
type String Set would be transmitted like this:
<array>
<data>
<value><string>CX8</string></value>
<value><string>PSE36</string></value>
<value><string>FPU</string></value>
</data>
</array>
for types k and v, our type (k, v) Map maps onto an XML-RPC struct, with the key as the name of the
struct. Note that the (k, v) Map type is only valid when k is a String, Ref, or Int, and in each case
the keys of the maps are stringified as above. For example, the (String, double) Map containing a the
mappings Mike 2.3 and John 1.2 would be represented as:
<value>
<struct>
<member>
<name>Mike</name>
<value><double>2.3</double></value>
</member>
8
1.3. WIRE PROTOCOL FOR REMOTE API CALLS CHAPTER 1. INTRODUCTION
<member>
<name>John</name>
<value><double>1.2</double></value>
</member>
</struct>
</value>
The first element of the struct is named Status; it contains a string value indicating whether the result of
the call was a Success or a Failure.
If Status was set to Success then the Struct contains a second element named Value:
The element of the struct named Value contains the functions return value.
In the case where Status is set to Failure then the struct contains a second element named ErrorDescription:
The element of the struct named ErrorDescription contains an array of string values. The first element
of the array is an error code; the remainder of the array are strings representing error parameters relating
to that code.
For example, an XML-RPC return value from the host.get resident VMs function above may look like this:
<struct>
<member>
<name>Status</name>
<value>Success</value>
</member>
9
1.4. MAKING XML-RPC CALLS CHAPTER 1. INTRODUCTION
<member>
<name>Value</name>
<value>
<array>
<data>
<value>81547a35-205c-a551-c577-00b982c5fe00</value>
<value>61c85a22-05da-b8a2-2e55-06b0847da503</value>
<value>1d401ec4-3c17-35a6-fc79-cee6bd9811fe</value>
</data>
</array>
</value>
</member>
</struct>
10
1.5. EXAMPLE INTERACTIVE SESSION CHAPTER 1. INTRODUCTION
\$ python2.4
...
>>> import xmlrpclib
Acquire a session reference by logging in with a username and password (error-handling ommitted for brevity;
the session reference is returned under the key Value in the resulting dictionary)
<?xml version=1.0?>
<methodCall>
<methodName>session.login_with_password</methodName>
<params>
<param>
<value><string>user</string></value>
</param>
<param>
<value><string>passwd</string></value>
</param>
<param>
<value><string>version</string></value>
</param>
<param>
<value><string>originator</string></value>
</param>
</params>
</methodCall>
Next, the user may acquire a list of all the VMs known to the system: (Note the call takes the session reference
as the only parameter)
11
1.5. EXAMPLE INTERACTIVE SESSION CHAPTER 1. INTRODUCTION
The VM references here have the form OpaqueRef:X, though they may not be that simple in the future, and
you should treat them as opaque strings. Templates are VMs with the is a template field set to true. We can
find the subset of template VMs using a command like the following:
>>> all_templates = filter(lambda x: xen.VM.get_is_a_template(session, x)[Value], all_vms)
Once a reference to a VM has been acquired a lifecycle operation may be invoked:
>>> xen.VM.start(session, all_templates[0], False, False)
{Status: Failure, ErrorDescription: [VM_IS_TEMPLATE, OpaqueRef:X]}
In this case the start message has been rejected, because the VM is a template, and so an error response
has been returned. These high-level errors are returned as structured data (rather than as XML-RPC faults),
allowing them to be internationalised.
Rather than querying fields individually, whole records may be returned at once. To retrieve the record of a
single object as a python dictionary:
>>> record = xen.VM.get_record(session, all_templates[0])[Value]
>>> record[power_state]
Halted
>>> record[name_label]
XenSource P2V Server
To retrieve all the VM records in a single call:
>>> records = xen.VM.get_all_records(session)[Value]
>>> records.keys()
[OpaqueRef:1, OpaqueRef:2, OpaqueRef:3, OpaqueRef:4 ]
>>> records[OpaqueRef:1][name_label]
RHEL 4.1 Autoinstall Template
12
1.6. VM LIFECYCLE CHAPTER 1. INTRODUCTION
powered down
start(paused=true)
cleanShutdown /
paused start(paused=false)
hardShutdown
resume pause
suspend resume(paused=false)
suspended
1.6 VM Lifecycle
Figure 1.1 shows the states that a VM can be in and the API calls that can be used to move the VM between
these states.
13
1.7. VM BOOT PARAMETERS CHAPTER 1. INTRODUCTION
paths within the control domain. If both PV/bootloader and PV/kernel are empty, then the behaviour is as if
PV/bootloader was specified as pygrub.
When using HVM booting, HVM/boot policy and HVM/boot params specify the boot handling. Only one
policy is currently defined: BIOS order. In this case, HVM/boot params should contain one key-value pair
order = N where N is the string that will be passed to QEMU.
14
Chapter 2
API Reference
2.1 Classes
The following classes are defined:
15
2.1. CLASSES CHAPTER 2. API REFERENCE
Name Description
session A session
auth Management of remote authentication services
subject A user or group that can log in xapi
role A set of permissions associated with a subject
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)
VMPP VM Protection Policy
VM appliance VM appliance
DR task DR task
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
LVHD LVHD SR specific operations
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
data source Data sources for logging in RRDs
blob A placeholder for a binary blob
message An message for the attention of the administrator
secret A secret
tunnel A tunnel for network traffic
PCI A PCI device
PGPU A physical GPU (pGPU)
GPU group A group of compatible GPUs across the resource pool
VGPU A virtual GPU (vGPU)
VGPU type A type of virtual GPU
16
2.2. RELATIONSHIPS BETWEEN CLASSES CHAPTER 2. API REFERENCE
17
2.3. TYPES CHAPTER 2. API REFERENCE
VIF_metrics
console VM_metrics
PIF_metrics
VIF
network
VM_guest_metrics
PIF VM
host_metrics
VTPM
host_cpu
host VBD
PBD_metrics
2.3 Types
2.3.1 Primitives
The following primitive types are used to specify methods and fields in the API Reference:
Type Description
string text strings
int 64-bit integers
float IEEE double-precision floating-point numbers
bool boolean
datetime date and timestamp
Type Description
c ref reference to an object of class c
t set a set of elements of type t
(a b) map a table mapping values of type a to values of type b
18
2.3. TYPES CHAPTER 2. API REFERENCE
19
2.3. TYPES CHAPTER 2. API REFERENCE
20
2.3. TYPES CHAPTER 2. API REFERENCE
21
2.3. TYPES CHAPTER 2. API REFERENCE
enum vm operations
snapshot refers to the operation snapshot
clone refers to the operation clone
copy refers to the operation copy
create template refers to the operation create template
revert refers to the operation revert
checkpoint refers to the operation checkpoint
snapshot with quiesce refers to the operation snapshot with quiesce
provision refers to the operation provision
start refers to the operation start
start on refers to the operation start on
pause refers to the operation pause
unpause refers to the operation unpause
clean shutdown refers to the operation clean shutdown
clean reboot refers to the operation clean reboot
hard shutdown refers to the operation hard shutdown
power state reset refers to the operation power state reset
hard reboot refers to the operation hard reboot
suspend refers to the operation suspend
csvm refers to the operation csvm
resume refers to the operation resume
resume on refers to the operation resume on
pool migrate refers to the operation pool migrate
migrate send refers to the operation migrate send
22
2.3. TYPES CHAPTER 2. API REFERENCE
23
2.3. TYPES CHAPTER 2. API REFERENCE
24
2.3. TYPES CHAPTER 2. API REFERENCE
enum on boot
reset When a VM containing this VDI is started, the contents of the VDI are reset to the state they were in when
persist Standard behaviour.
25
2.3. TYPES CHAPTER 2. API REFERENCE
enum cls
VM VM
Host Host
SR SR
Pool Pool
VMPP VMPP
26
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
Name session
Description A session.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run this host host ref Currently connected host
RO run this user user ref Currently connected user
RO run last active datetime Timestamp for last time session was active
RO run pool bool True if this session relates to a intra-pool
login, false otherwise
RW other config (string string) map additional configuration
RO run is local superuser bool true iff this session was created using local
superuser credentials
RO run subject subject ref references the subject instance that cre-
ated the session. If a session instance has
is local superuser set, then the value of this
field is undefined.
RO run validation time datetime time when session was last validated
RO run auth user sid string the subject identifier of the user that was
externally authenticated. If a session in-
stance has is local superuser set, then the
value of this field is undefined.
RO run auth user name string the subject name of the user that was ex-
ternally authenticated. If a session in-
stance has is local superuser set, then the
value of this field is undefined.
RO ins rbac permissions string set list with all RBAC permissions for this ses-
sion
RO run tasks task ref set list of tasks created using the current ses-
sion
RO ins parent session ref references the parent session that created
this session
RO run originator string a key string provided by a API user to dis-
tinguish itself from other users sharing the
same login name
27
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
28
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
Arguments:
29
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
30
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
31
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
32
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
33
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
34
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
35
2.4. CLASS: SESSION CHAPTER 2. API REFERENCE
36
2.5. CLASS: AUTH CHAPTER 2. API REFERENCE
37
2.5. CLASS: AUTH CHAPTER 2. API REFERENCE
38
2.6. CLASS: SUBJECT CHAPTER 2. API REFERENCE
Name subject
Description A user or group that can log in xapi.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins subject identifier string the subject identifier, unique in the exter-
nal directory service
RO ins other config (string string) map additional configuration
RO run roles role ref set the roles associated with this subject
39
2.6. CLASS: SUBJECT CHAPTER 2. API REFERENCE
40
2.6. CLASS: SUBJECT CHAPTER 2. API REFERENCE
Arguments:
41
2.6. CLASS: SUBJECT CHAPTER 2. API REFERENCE
Arguments:
42
2.6. CLASS: SUBJECT CHAPTER 2. API REFERENCE
Arguments:
43
2.7. CLASS: ROLE CHAPTER 2. API REFERENCE
Name role
Description A set of permissions associated with a subject.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins name label string a short user-friendly name for the role
RO ins name description string what this role is for
RO ins subroles role ref set a list of pointers to other roles or permis-
sions
44
2.7. CLASS: ROLE CHAPTER 2. API REFERENCE
45
2.7. CLASS: ROLE CHAPTER 2. API REFERENCE
46
2.7. CLASS: ROLE CHAPTER 2. API REFERENCE
47
2.7. CLASS: ROLE CHAPTER 2. API REFERENCE
48
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Name task
Description A long-running asynchronous task.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run name label string a human-readable name
RO run name description string a notes field containing human-readable
description
RO run allowed operations task allowed operations set list of the operations allowed in this state.
This list is advisory only and the server
state may have changed by the time this
field is read by a client.
RO run current operations (string task allowed operations) map links each of the running tasks using
this object (by reference) to a cur-
rent operation enum which describes the
nature of the task.
RO run created datetime Time task was created
RO run finished datetime Time task finished (i.e. succeeded or
failed). If task-status is pending, then the
value of this field has no meaning
RO run status task status type current status of the task
RO run resident on host ref the host on which the task is running
RO run progress float This field contains the estimated fraction
of the task which is complete. This field
should not be used to determine whether
the task is complete - for this the status
field of the task should be used.
RO run type string if the task has completed successfully, this
field contains the type of the encoded result
(i.e. name of the class whose reference is
in the result field). Undefined otherwise.
RO run result string if the task has completed successfully, this
field contains the result value (either Void
or an object reference). Undefined other-
wise.
RO run error info string set if the task has failed, this field contains the
set of associated error strings. Undefined
otherwise.
RW other config (string string) map additional configuration
RO run subtask of task ref Ref pointing to the task this is a substask
of.
RO run subtasks task ref set List pointing to all the substasks.
RO run backtrace string Function call trace for debugging.
49
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
50
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
51
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Arguments:
52
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Arguments:
53
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Arguments:
54
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Arguments:
55
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Arguments:
56
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Arguments:
57
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Arguments:
58
2.8. CLASS: TASK CHAPTER 2. API REFERENCE
Arguments:
59
2.9. CLASS: EVENT CHAPTER 2. API REFERENCE
Name event
Description Asynchronous event registration and handling.
Quals Field Type Description
RO ins id int An ID, monotonically increasing, and local
to the current session
RO ins timestamp datetime The time at which the event occurred
RO ins class string The name of the class of the object that
changed
RO ins operation event operation The operation that was performed
RO ins ref string A reference to the object that changed
RO ins obj uuid string The uuid of the object that changed
60
2.9. CLASS: EVENT CHAPTER 2. API REFERENCE
61
2.9. CLASS: EVENT CHAPTER 2. API REFERENCE
62
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Name pool
Description Pool-wide information.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RW name label string Short name
RW name description string Description
RO run master host ref The host that is pool master
RW default SR SR ref Default SR for VDIs
RW suspend image SR SR ref The SR in which VDIs for suspend
are created
RW crash dump SR SR ref The SR in which VDIs for crash du
created
RW other config (string string) map additional configuration
RO run ha enabled bool true if HA is enabled on the pool, fa
erwise
RO run ha configuration (string string) map The current HA configuration
RO run ha statefiles string set HA statefile VDIs in use
RO run ha host failures to tolerate int Number of host failures to tolerat
the Pool is declared to be overcom
RO run ha plan exists for int Number of future host failures w
managed to find a plan for. On
reaches zero any future host failu
cause the failure of protected VMs
RW ha allow overcommit bool If set to false then operations whic
cause the Pool to become overcom
will be blocked.
RO run ha overcommitted bool True if the Pool is considered to
committed i.e. if there exist ins
physical resources to tolerate the
ured number of host failures
RO run blobs (string blob ref) map Binary blobs associated with this
RW tags string set user-specified tags for categorizat
poses
RW gui config (string string) map gui-specific configuration for pool
RW health check config (string string) map Configuration for the automatic
check feature
RO run wlb url string Url for the configured workload ba
host
RO run wlb username string Username for accessing the worklo
ancing host
RW wlb enabled bool true if workload balancing is ena
the pool, false otherwise
RW wlb verify cert bool true if communication with th
server should enforce SSL certific
ification.
63
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
64
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
65
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
66
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
67
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
68
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
69
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
70
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
71
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
72
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
73
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
74
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
75
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
76
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
77
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
78
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
79
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
80
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
81
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
82
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
83
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
84
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
85
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
86
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
87
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
88
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
89
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
90
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
91
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
92
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
93
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
94
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
95
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
96
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
97
2.10. CLASS: POOL CHAPTER 2. API REFERENCE
Arguments:
98
2.11. CLASS: POOL PATCH CHAPTER 2. API REFERENCE
99
2.11. CLASS: POOL PATCH CHAPTER 2. API REFERENCE
100
2.11. CLASS: POOL PATCH CHAPTER 2. API REFERENCE
101
2.11. CLASS: POOL PATCH CHAPTER 2. API REFERENCE
102
2.11. CLASS: POOL PATCH CHAPTER 2. API REFERENCE
103
2.11. CLASS: POOL PATCH CHAPTER 2. API REFERENCE
104
2.11. CLASS: POOL PATCH CHAPTER 2. API REFERENCE
105
2.11. CLASS: POOL PATCH CHAPTER 2. API REFERENCE
106
2.12. CLASS: VM CHAPTER 2. API REFERENCE
2.12 Class: VM
2.12.1 Fields for class: VM
Name VM
Description A virtual machine (or guest).
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run allowed operations vm operations set list of the operations allowed in this state.
This list is advisory only and the server
state may have changed by the time this
field is read by a client.
RO run current operations (string vm operations) map links each of the running tasks using
this object (by reference) to a cur-
rent operation enum which describes the
nature of the task.
RO run power state vm power state Current power state of the machine
RW name label string a human-readable name
RW name description string a notes field containing human-readable
description
RW user version int Creators of VMs and templates may store
version information here.
RW is a template bool true if this is a template. Template VMs
can never be started, they are used only
for cloning other VMs
RO run suspend VDI VDI ref The VDI that a suspend image is stored
on. (Only has meaning if VM is currently
suspended)
RO run resident on host ref the host the VM is currently resident on
RW affinity host ref a host which the VM has some affinity
for (or NULL). This is used as a hint to
the start call when it decides where to run
the VM. Implementations are free to ignore
this field.
RO run memory overhead int Virtualization memory overhead (bytes).
RO ins memory target int Dynamically-set memory target (bytes).
The value of this field indicates the current
target for memory available to this VM.
RO ins memory static max int Statically-set (i.e. absolute) maximum
(bytes). The value of this field at VM start
time acts as a hard limit of the amount of
memory a guest can use. New values only
take effect on reboot.
RO ins memory dynamic max int Dynamic maximum (bytes)
RO ins memory dynamic min int Dynamic minimum (bytes)
RO ins memory static min int Statically-set (i.e. absolute) mininum
(bytes). The value of this field indicates
the least amount of memory this VM can
boot with without crashing.
RW VCPUs params (string string) map configuration parameters for the selected
VCPU policy
107
2.12. CLASS: VM CHAPTER 2. API REFERENCE
108
2.12. CLASS: VM CHAPTER 2. API REFERENCE
109
2.12. CLASS: VM CHAPTER 2. API REFERENCE
storage repository in which the VMs disk images are stored (e.g. Copy on Write).
Signature:
(VM ref) snapshot (session_id s, VM ref vm, string new_name)
Arguments:
Possible Error Codes: VM BAD POWER STATE, SR FULL, OPERATION NOT ALLOWED
Possible Error Codes: VM BAD POWER STATE, SR FULL, OPERATION NOT ALLOWED, VM SNAPSHOT WITH QUIESCE FAILED,
VM SNAPSHOT WITH QUIESCE TIMEOUT, VM SNAPSHOT WITH QUIESCE PLUGIN DEOS NOT RESPOND, VM SNAPSHOT WITH QUIESCE NOT
110
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Possible Error Codes: VM BAD POWER STATE, SR FULL, OPERATION NOT ALLOWED, LICENCE RESTRICTION
Possible Error Codes: VM BAD POWER STATE, SR FULL, OPERATION NOT ALLOWED, LICENCE RESTRICTION
Possible Error Codes: VM BAD POWER STATE, OPERATION NOT ALLOWED, SR FULL, VM REVERT FAILED
111
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Checkpoints the specified VM, making a new VM. Checkpoint automatically exploits the capabilities of the
underlying storage repository in which the VMs disk images are stored (e.g. Copy on Write) and saves the
memory image as well.
Signature:
(VM ref) checkpoint (session_id s, VM ref vm, string new_name)
Arguments:
Possible Error Codes: VM BAD POWER STATE, SR FULL, OPERATION NOT ALLOWED, VM CHECKPOINT SUSPEND FAILED,
VM CHECKPOINT RESUME FAILED
Possible Error Codes: VM BAD POWER STATE, SR FULL, OPERATION NOT ALLOWED, LICENCE RESTRICTION
112
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Possible Error Codes: VM BAD POWER STATE, VM HVM REQUIRED, VM IS TEMPLATE, OTHER OPERATION IN PROGRESS,
OPERATION NOT ALLOWED, BOOTLOADER FAILED, UNKNOWN BOOTLOADER, NO HOSTS AVAILABLE, LICENCE RESTRICTION
Possible Error Codes: VM BAD POWER STATE, VM IS TEMPLATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED,
BOOTLOADER FAILED, UNKNOWN BOOTLOADER
113
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE
Possible Error Codes: VM BAD POWER STATE, OPERATION NOT ALLOWED, VM IS TEMPLATE
Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE
114
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE
Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE
Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE
115
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE
Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, OPERATION NOT ALLOWED, VM IS TEMPLATE
116
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
Possible Error Codes: VM BAD POWER STATE, OPERATION NOT ALLOWED, VM IS TEMPLATE
Possible Error Codes: VM BAD POWER STATE, OPERATION NOT ALLOWED, VM IS TEMPLATE
117
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Possible Error Codes: VM BAD POWER STATE, OTHER OPERATION IN PROGRESS, VM IS TEMPLATE, OPERATION NOT ALLOWED,
VM MIGRATE FAILED
118
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
119
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
120
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
121
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
122
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
123
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
124
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
125
2.12. CLASS: VM CHAPTER 2. API REFERENCE
126
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
127
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
128
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
129
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
Possible Error Codes: HOST NOT ENOUGH FREE MEMORY, VM REQUIRES SR, VM HOST INCOMPATIBLE VERSION,
VM HOST INCOMPATIBLE VIRTUAL HARDWARE PLATFORM VERSION
130
2.12. CLASS: VM CHAPTER 2. API REFERENCE
131
2.12. CLASS: VM CHAPTER 2. API REFERENCE
132
2.12. CLASS: VM CHAPTER 2. API REFERENCE
133
2.12. CLASS: VM CHAPTER 2. API REFERENCE
void import_convert (session_id s, string type, string username, string password, SR ref sr, (string -> st
Arguments:
134
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
135
2.12. CLASS: VM CHAPTER 2. API REFERENCE
136
2.12. CLASS: VM CHAPTER 2. API REFERENCE
137
2.12. CLASS: VM CHAPTER 2. API REFERENCE
138
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
139
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
140
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
141
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
142
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
143
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
144
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
145
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
146
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
147
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
148
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
149
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
150
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
151
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
152
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
153
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
154
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
155
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
156
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
157
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
158
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
159
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
160
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
161
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
162
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
163
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
164
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
165
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
166
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
167
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
168
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
169
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
170
2.12. CLASS: VM CHAPTER 2. API REFERENCE
Arguments:
171
2.12. CLASS: VM CHAPTER 2. API REFERENCE
172
2.12. CLASS: VM CHAPTER 2. API REFERENCE
173
2.12. CLASS: VM CHAPTER 2. API REFERENCE
174
2.12. CLASS: VM CHAPTER 2. API REFERENCE
175
2.12. CLASS: VM CHAPTER 2. API REFERENCE
176
2.12. CLASS: VM CHAPTER 2. API REFERENCE
177
2.13. CLASS: VM METRICS CHAPTER 2. API REFERENCE
Name VM metrics
Description The metrics associated with a VM.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run memory actual int Guests actual memory (bytes)
RO run VCPUs number int Current number of VCPUs
RO run VCPUs utilisation (int float) map Utilisation for all of guests current VCPUs
RO run VCPUs CPU (int int) map VCPU to PCPU map
RO run VCPUs params (string string) map The live equivalent to VM.VCPUs params
RO run VCPUs flags (int string set) map CPU flags (blocked,online,running)
RO run state string set The state of the guest, eg blocked, dying
etc
RO run start time datetime Time at which this VM was last booted
RO run install time datetime Time at which the VM was installed
RO run last updated datetime Time at which this information was last
updated
RW other config (string string) map additional configuration
178
2.13. CLASS: VM METRICS CHAPTER 2. API REFERENCE
179
2.13. CLASS: VM METRICS CHAPTER 2. API REFERENCE
180
2.13. CLASS: VM METRICS CHAPTER 2. API REFERENCE
181
2.13. CLASS: VM METRICS CHAPTER 2. API REFERENCE
182
2.13. CLASS: VM METRICS CHAPTER 2. API REFERENCE
183
2.13. CLASS: VM METRICS CHAPTER 2. API REFERENCE
184
2.14. CLASS: VM GUEST METRICS CHAPTER 2. API REFERENCE
185
2.14. CLASS: VM GUEST METRICS CHAPTER 2. API REFERENCE
Return Type: (VM guest metrics ref VM guest metrics record) map
records of all objects
186
2.14. CLASS: VM GUEST METRICS CHAPTER 2. API REFERENCE
187
2.14. CLASS: VM GUEST METRICS CHAPTER 2. API REFERENCE
188
2.14. CLASS: VM GUEST METRICS CHAPTER 2. API REFERENCE
189
2.14. CLASS: VM GUEST METRICS CHAPTER 2. API REFERENCE
190
2.14. CLASS: VM GUEST METRICS CHAPTER 2. API REFERENCE
191
2.14. CLASS: VM GUEST METRICS CHAPTER 2. API REFERENCE
192
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Name VMPP
Description VM Protection Policy.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RW name label string a human-readable name
RW name description string a notes field containing human-readable
description
RW is policy enabled bool enable or disable this policy
RW backup type vmpp backup type type of the backup sub-policy
RO ins backup retention value int maximum number of backups that should
be stored at any time
RO ins backup frequency vmpp backup frequency frequency of the backup schedule
RO ins backup schedule (string string) map schedule of the backup containing hour,
min, days. Date/time-related informa-
tion is in Local Timezone
RO run is backup running bool true if this protection policys backup is
running
RO run backup last run time datetime time of the last backup
RO ins archive target type vmpp archive target type type of the archive target config
RO ins archive target config (string string) map configuration for the archive, including its
location, username, password
RO ins archive frequency vmpp archive frequency frequency of the archive schedule
RO ins archive schedule (string string) map schedule of the archive containing hour,
min, days. Date/time-related informa-
tion is in Local Timezone
RO run is archive running bool true if this protection policys archive is
running
RO run archive last run time datetime time of the last archive
RO run VMs VM ref set all VMs attached to this protection policy
RO ins is alarm enabled bool true if alarm is enabled for this policy
RO ins alarm config (string string) map configuration for the alarm
RO run recent alerts string set recent alerts
193
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
An XMLRPC result
194
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
195
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
void set_archive_target_config (session_id s, VMPP ref self, (string -> string) map value)
Arguments:
196
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
void add_to_backup_schedule (session_id s, VMPP ref self, string key, string value)
Arguments:
197
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
198
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
199
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
200
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
201
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
202
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
203
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
204
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
205
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
206
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
207
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
208
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
209
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
210
2.15. CLASS: VMPP CHAPTER 2. API REFERENCE
Arguments:
211
2.16. CLASS: VM APPLIANCE CHAPTER 2. API REFERENCE
Name VM appliance
Description VM appliance.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RW name label string a human-readable name
RW name description string a notes field containing human-readable
description
RO run allowed operations vm appliance operation set list of the operations allowed in this state.
This list is advisory only and the server
state may have changed by the time this
field is read by a client.
RO run current operations (string vm appliance operation) map links each of the running tasks using
this object (by reference) to a cur-
rent operation enum which describes the
nature of the task.
RO run VMs VM ref set all VMs in this appliance
212
2.16. CLASS: VM APPLIANCE CHAPTER 2. API REFERENCE
213
2.16. CLASS: VM APPLIANCE CHAPTER 2. API REFERENCE
Arguments:
214
2.16. CLASS: VM APPLIANCE CHAPTER 2. API REFERENCE
215
2.16. CLASS: VM APPLIANCE CHAPTER 2. API REFERENCE
Arguments:
216
2.16. CLASS: VM APPLIANCE CHAPTER 2. API REFERENCE
Arguments:
217
2.16. CLASS: VM APPLIANCE CHAPTER 2. API REFERENCE
Arguments:
218
2.16. CLASS: VM APPLIANCE CHAPTER 2. API REFERENCE
Arguments:
219
2.17. CLASS: DR TASK CHAPTER 2. API REFERENCE
Name DR task
Description DR task.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run introduced SRs SR ref set All SRs introduced by this appliance
(DR_task ref) create (session_id s, string type, (string -> string) map device_config, string set whitelis
Arguments:
220
2.17. CLASS: DR TASK CHAPTER 2. API REFERENCE
221
2.17. CLASS: DR TASK CHAPTER 2. API REFERENCE
Arguments:
222
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Name host
Description A physical host.
Quals Field Type Description
RO run uuid string Unique identifier/object re
RW name label string a human-readable name
RW name description string a notes field containing h
description
RO run memory overhead int Virtualization memory ove
RO run allowed operations host allowed operations set list of the operations allowe
This list is advisory only
state may have changed b
field is read by a client.
RO run current operations (string host allowed operations) map links each of the runnin
this object (by referenc
rent operation enum which
nature of the task.
RO run API version major int major version number
RO run API version minor int minor version number
RO run API version vendor string identification of vendor
RO run API version vendor implementation (string string) map details of vendor implemen
RO run enabled bool True if the host is currently
RO ins software version (string string) map version strings
RW other config (string string) map additional configuration
RO ins capabilities string set Xen capabilities
RO run cpu configuration (string string) map The CPU configuration
May contain keys such
sockets per node, cores
threads per core
RO run sched policy string Scheduler policy currently
host
RO run supported bootloaders string set a list of the bootloaders i
machine
RO run resident VMs VM ref set list of VMs currently reside
RW logging (string string) map logging configuration
RO run PIFs PIF ref set physical network interfaces
RW suspend image sr SR ref The SR in which VDIs for
are created
RW crash dump sr SR ref The SR in which VDIs for c
created
RO run crashdumps host crashdump ref set Set of host crash dumps
RO run patches host patch ref set Set of host patches
RO run PBDs PBD ref set physical blockdevices
RO run host CPUs host cpu ref set The physical CPUs on this
RO run cpu info (string string) map Details about the physical
host
RW hostname string The hostname of this host
223
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
224
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Signature:
void disable (session_id s, host ref host)
Arguments:
225
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
226
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
227
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
228
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
229
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
230
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
231
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
232
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
233
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
234
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
235
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
236
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
237
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
238
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
239
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
void apply_edition (session_id s, host ref host, string edition, bool force)
Arguments:
240
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
241
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
242
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
243
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
244
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
245
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
246
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
247
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
248
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
249
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
250
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
251
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
252
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
253
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
254
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
255
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
256
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
257
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
258
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
259
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
260
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
261
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
262
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
263
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
264
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
265
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
266
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
267
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
268
2.18. CLASS: HOST CHAPTER 2. API REFERENCE
Arguments:
269
2.19. CLASS: HOST CRASHDUMP CHAPTER 2. API REFERENCE
270
2.19. CLASS: HOST CRASHDUMP CHAPTER 2. API REFERENCE
271
2.19. CLASS: HOST CRASHDUMP CHAPTER 2. API REFERENCE
Arguments:
272
2.19. CLASS: HOST CRASHDUMP CHAPTER 2. API REFERENCE
Arguments:
273
2.19. CLASS: HOST CRASHDUMP CHAPTER 2. API REFERENCE
Arguments:
274
2.20. CLASS: HOST PATCH CHAPTER 2. API REFERENCE
275
2.20. CLASS: HOST PATCH CHAPTER 2. API REFERENCE
276
2.20. CLASS: HOST PATCH CHAPTER 2. API REFERENCE
Arguments:
277
2.20. CLASS: HOST PATCH CHAPTER 2. API REFERENCE
Arguments:
278
2.20. CLASS: HOST PATCH CHAPTER 2. API REFERENCE
Arguments:
279
2.20. CLASS: HOST PATCH CHAPTER 2. API REFERENCE
Arguments:
280
2.20. CLASS: HOST PATCH CHAPTER 2. API REFERENCE
Arguments:
281
2.21. CLASS: HOST METRICS CHAPTER 2. API REFERENCE
282
2.21. CLASS: HOST METRICS CHAPTER 2. API REFERENCE
Arguments:
283
2.21. CLASS: HOST METRICS CHAPTER 2. API REFERENCE
Arguments:
284
2.21. CLASS: HOST METRICS CHAPTER 2. API REFERENCE
Arguments:
285
2.21. CLASS: HOST METRICS CHAPTER 2. API REFERENCE
Arguments:
286
2.22. CLASS: HOST CPU CHAPTER 2. API REFERENCE
287
2.22. CLASS: HOST CPU CHAPTER 2. API REFERENCE
288
2.22. CLASS: HOST CPU CHAPTER 2. API REFERENCE
289
2.22. CLASS: HOST CPU CHAPTER 2. API REFERENCE
290
2.22. CLASS: HOST CPU CHAPTER 2. API REFERENCE
291
2.22. CLASS: HOST CPU CHAPTER 2. API REFERENCE
292
2.22. CLASS: HOST CPU CHAPTER 2. API REFERENCE
293
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
Name network
Description A virtual network.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RW name label string a human-readable name
RW name description string a notes field containing human-readable
description
RO run allowed operations network operations set list of the operations allowed in this state.
This list is advisory only and the server
state may have changed by the time this
field is read by a client.
RO run current operations (string network operations) map links each of the running tasks using
this object (by reference) to a cur-
rent operation enum which describes the
nature of the task.
RO run VIFs VIF ref set list of connected vifs
RO run PIFs PIF ref set list of connected pifs
RW MTU int MTU in octets
RW other config (string string) map additional configuration
RO run bridge string name of the bridge corresponding to this
network on the local host
RO run blobs (string blob ref) map Binary blobs associated with this network
RW tags string set user-specified tags for categorization pur-
poses
RO run default locking mode network default locking mode The network will use this value to deter-
mine the behaviour of all VIFs where lock-
ing mode = default
RO run assigned ips (VIF ref string) map The IP addresses assigned to VIFs on
networks that have active xapi-managed
DHCP
294
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
295
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
296
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
297
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
298
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
299
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
300
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
301
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
302
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
303
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
304
2.23. CLASS: NETWORK CHAPTER 2. API REFERENCE
305
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
Name VIF
Description A virtual network interface.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run allowed operations vif operations set list of the operations allowed in this state.
This list is advisory only and the server
state may have changed by the time this
field is read by a client.
RO run current operations (string vif operations) map links each of the running tasks using
this object (by reference) to a cur-
rent operation enum which describes the
nature of the task.
RO ins device string order in which VIF backends are created
by xapi
RO ins network network ref virtual network to which this vif is con-
nected
RO ins VM VM ref virtual machine to which this vif is con-
nected
RO ins MAC string ethernet MAC address of virtual interface,
as exposed to guest
RO ins MTU int MTU in octets
RW other config (string string) map additional configuration
RO run currently attached bool is the device currently attached (erased on
reboot)
RO run status code int error/success code associated with last
attach-operation (erased on reboot)
RO run status detail string error/success information associated with
last attach-operation status (erased on re-
boot)
RO run runtime properties (string string) map Device runtime properties
RW qos algorithm type string QoS algorithm to use
RW qos algorithm params (string string) map parameters for chosen QoS algorithm
RO run qos supported algorithms string set supported QoS algorithms for this VIF
RO run metrics VIF metrics ref metrics associated with this VIF
RO run MAC autogenerated bool true if the MAC was autogenerated; false
indicates it was set manually
RO ins locking mode vif locking mode current locking mode of the VIF
RO ins ipv4 allowed string set A list of IPv4 addresses which can be used
to filter traffic passing through this VIF
RO ins ipv6 allowed string set A list of IPv6 addresses which can be used
to filter traffic passing through this VIF
RO run ipv4 configuration mode vif ipv4 configuration mode Determines whether IPv4 addresses are
configured on the VIF
RO run ipv4 addresses string set IPv4 addresses in CIDR format
RO run ipv4 gateway string IPv4 gateway (the empty string means
that no gateway is set)
306
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
RO run ipv6 configuration mode vif ipv6 configuration mode Determines whether IPv6 addresses are
configured on the VIF
RO run ipv6 addresses string set IPv6 addresses in CIDR format
RO run ipv6 gateway string IPv6 gateway (the empty string means
that no gateway is set)
307
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
308
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
309
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
310
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
Arguments:
311
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
312
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
313
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
314
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
Arguments:
315
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
316
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
317
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
318
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
319
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
320
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
321
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
322
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
323
2.24. CLASS: VIF CHAPTER 2. API REFERENCE
324
2.25. CLASS: VIF METRICS CHAPTER 2. API REFERENCE
325
2.25. CLASS: VIF METRICS CHAPTER 2. API REFERENCE
Arguments:
326
2.25. CLASS: VIF METRICS CHAPTER 2. API REFERENCE
Arguments:
327
2.25. CLASS: VIF METRICS CHAPTER 2. API REFERENCE
Arguments:
328
2.25. CLASS: VIF METRICS CHAPTER 2. API REFERENCE
Arguments:
329
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
Name PIF
A physical network interface (note separate VLANs are represented as
Description
several PIFs).
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins device string machine-readable name of the interface
(e.g. eth0)
RO ins network network ref virtual network to which this pif is con-
nected
RO ins host host ref physical machine to which this pif is con-
nected
RO ins MAC string ethernet MAC address of physical interface
RO ins MTU int MTU in octets
RO ins VLAN int VLAN tag for all traffic passing through
this interface
RO run metrics PIF metrics ref metrics associated with this PIF
RO run physical bool true if this represents a physical network
interface
RO run currently attached bool true if this interface is online
RO run ip configuration mode ip configuration mode Sets if and how this interface gets an IP
address
RO run IP string IP address
RO run netmask string IP netmask
RO run gateway string IP gateway
RO run DNS string IP address of DNS servers to use
RO run bond slave of Bond ref Indicates which bond this interface is part
of
RO run bond master of Bond ref set Indicates this PIF represents the results of
a bond
RO run VLAN master of VLAN ref Indicates wich VLAN this interface re-
ceives untagged traffic from
RO run VLAN slave of VLAN ref set Indicates which VLANs this interface
transmits tagged traffic to
RO run management bool Indicates whether the control software is
listening for connections on this interface
RW other config (string string) map Additional configuration
RW disallow unplug bool Prevent this PIF from being unplugged; set
this to notify the management tool-stack
that the PIF has a special use and should
not be unplugged under any circumstances
(e.g. because youre running storage traffic
over it)
RO run tunnel access PIF of tunnel ref set Indicates to which tunnel this PIF gives
access
RO run tunnel transport PIF of tunnel ref set Indicates to which tunnel this PIF provides
transport
330
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
RO run ipv6 configuration mode ipv6 configuration mode Sets if and how this interface gets an IPv6
address
RO run IPv6 string set IPv6 address
RO run ipv6 gateway string IPv6 gateway
RO run primary address type primary address type Which protocol should define the primary
address of this interface
RO ins managed bool Indicates whether the interface is managed
by xapi. If it is not, then xapi will not
configure the interface, the commands
PIF.plug/unplug/reconfigure ip(v6) can
not be used, nor can the interface be
bonded or have VLANs based on top
through xapi.
RO run properties (string string) map Additional configuration properties for the
interface.
RO run capabilities string set Additional capabilities on the interface.
331
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
Arguments:
332
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
333
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
334
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
335
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
336
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
337
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
338
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
339
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
340
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
341
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
342
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
343
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
344
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
345
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
346
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
347
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
348
2.26. CLASS: PIF CHAPTER 2. API REFERENCE
349
2.27. CLASS: PIF METRICS CHAPTER 2. API REFERENCE
350
2.27. CLASS: PIF METRICS CHAPTER 2. API REFERENCE
351
2.27. CLASS: PIF METRICS CHAPTER 2. API REFERENCE
352
2.27. CLASS: PIF METRICS CHAPTER 2. API REFERENCE
353
2.27. CLASS: PIF METRICS CHAPTER 2. API REFERENCE
354
2.27. CLASS: PIF METRICS CHAPTER 2. API REFERENCE
355
2.27. CLASS: PIF METRICS CHAPTER 2. API REFERENCE
356
2.28. CLASS: BOND CHAPTER 2. API REFERENCE
Name Bond
Description .
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins master PIF ref The bonded interface
RO run slaves PIF ref set The interfaces which are part of this bond
RW other config (string string) map additional configuration
RO run primary slave PIF ref The PIF of which the IP configuration and
MAC were copied to the bond, and which
will receive all configuration/VLANs/VIFs
on the bond if the bond is destroyed
RO run mode bond mode The algorithm used to distribute traffic
among the bonded NICs
RO run properties (string string) map Additional configuration properties spe-
cific to the bond mode.
RO run links up int Number of links up in this bond
357
2.28. CLASS: BOND CHAPTER 2. API REFERENCE
Arguments:
358
2.28. CLASS: BOND CHAPTER 2. API REFERENCE
359
2.28. CLASS: BOND CHAPTER 2. API REFERENCE
Arguments:
360
2.28. CLASS: BOND CHAPTER 2. API REFERENCE
Arguments:
361
2.28. CLASS: BOND CHAPTER 2. API REFERENCE
Arguments:
362
2.28. CLASS: BOND CHAPTER 2. API REFERENCE
Arguments:
363
2.29. CLASS: VLAN CHAPTER 2. API REFERENCE
Name VLAN
Description A VLAN mux/demux.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins tagged PIF PIF ref interface on which traffic is tagged
RO run untagged PIF PIF ref interface on which traffic is untagged
RO ins tag int VLAN tag in use
RW other config (string string) map additional configuration
364
2.29. CLASS: VLAN CHAPTER 2. API REFERENCE
365
2.29. CLASS: VLAN CHAPTER 2. API REFERENCE
Arguments:
366
2.29. CLASS: VLAN CHAPTER 2. API REFERENCE
Arguments:
367
2.29. CLASS: VLAN CHAPTER 2. API REFERENCE
Arguments:
368
2.30. CLASS: SM CHAPTER 2. API REFERENCE
2.30 Class: SM
2.30.1 Fields for class: SM
Name SM
Description A storage manager plugin.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run name label string a human-readable name
RO run name description string a notes field containing human-readable
description
RO run type string SR.type
RO run vendor string Vendor who created this plugin
RO run copyright string Entity which owns the copyright of this
plugin
RO run version string Version of the plugin
RO run required api version string Minimum SM API version required on the
server
RO run configuration (string string) map names and descriptions of device config
keys
RO run capabilities string set capabilities of the SM plugin
RO run features (string int) map capabilities of the SM plugin, with capa-
bility version numbers
RW other config (string string) map additional configuration
RO run driver filename string filename of the storage driver
RO run required cluster stack string set The storage plugin requires that one of
these cluster stacks is configured and run-
ning.
369
2.30. CLASS: SM CHAPTER 2. API REFERENCE
370
2.30. CLASS: SM CHAPTER 2. API REFERENCE
371
2.30. CLASS: SM CHAPTER 2. API REFERENCE
372
2.30. CLASS: SM CHAPTER 2. API REFERENCE
373
2.30. CLASS: SM CHAPTER 2. API REFERENCE
374
2.30. CLASS: SM CHAPTER 2. API REFERENCE
375
2.30. CLASS: SM CHAPTER 2. API REFERENCE
376
2.31. CLASS: SR CHAPTER 2. API REFERENCE
2.31 Class: SR
2.31.1 Fields for class: SR
Name SR
Description A storage repository.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins name label string a human-readable name
RO ins name description string a notes field containing human-readable
description
RO run allowed operations storage operations set list of the operations allowed in this state.
This list is advisory only and the server
state may have changed by the time this
field is read by a client.
RO run current operations (string storage operations) map links each of the running tasks using
this object (by reference) to a cur-
rent operation enum which describes the
nature of the task.
RO run VDIs VDI ref set all virtual disks known to this storage
repository
RO run PBDs PBD ref set describes how particular hosts can see this
storage repository
RO run virtual allocation int sum of virtual sizes of all VDIs in this stor-
age repository (in bytes)
RO run physical utilisation int physical space currently utilised on this
storage repository (in bytes). Note that
for sparse disk formats, physical utilisation
may be less than virtual allocation
RO ins physical size int total physical size of the repository (in
bytes)
RO ins type string type of the storage repository
RO ins content type string the type of the SRs content, if required
(e.g. ISOs)
RO run shared bool true if this SR is (capable of being) shared
between multiple hosts
RW other config (string string) map additional configuration
RW tags string set user-specified tags for categorization pur-
poses
RW sm config (string string) map SM dependent data
RO run blobs (string blob ref) map Binary blobs associated with this SR
RO run local cache enabled bool True if this SR is assigned to be the local
cache for its host
RO run introduced by DR task ref The disaster recovery task which intro-
duced this SR
RO run clustered bool True if the SR is using aggregated local
storage
RO run is tools sr bool True if this is the SR that contains the
Tools ISO VDIs
377
2.31. CLASS: SR CHAPTER 2. API REFERENCE
378
2.31. CLASS: SR CHAPTER 2. API REFERENCE
379
2.31. CLASS: SR CHAPTER 2. API REFERENCE
380
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
381
2.31. CLASS: SR CHAPTER 2. API REFERENCE
382
2.31. CLASS: SR CHAPTER 2. API REFERENCE
383
2.31. CLASS: SR CHAPTER 2. API REFERENCE
384
2.31. CLASS: SR CHAPTER 2. API REFERENCE
385
2.31. CLASS: SR CHAPTER 2. API REFERENCE
386
2.31. CLASS: SR CHAPTER 2. API REFERENCE
387
2.31. CLASS: SR CHAPTER 2. API REFERENCE
388
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
389
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
390
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
391
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
392
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
393
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
394
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
395
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
396
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
397
2.31. CLASS: SR CHAPTER 2. API REFERENCE
Arguments:
398
2.32. CLASS: LVHD CHAPTER 2. API REFERENCE
Name LVHD
Description LVHD SR specific operations.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
399
2.32. CLASS: LVHD CHAPTER 2. API REFERENCE
400
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Name VDI
Description A virtual disk image.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins name label string a human-readable name
RO ins name description string a notes field containing human-readable
description
RO run allowed operations vdi operations set list of the operations allowed in this state.
This list is advisory only and the server
state may have changed by the time this
field is read by a client.
RO run current operations (string vdi operations) map links each of the running tasks using
this object (by reference) to a cur-
rent operation enum which describes the
nature of the task.
RO ins SR SR ref storage repository in which the VDI resides
RO run VBDs VBD ref set list of vbds that refer to this disk
RO run crash dumps crashdump ref set list of crash dumps that refer to this disk
RO ins virtual size int size of disk as presented to the guest (in
bytes). Note that, depending on storage
backend type, requested size may not be
respected exactly
RO run physical utilisation int amount of physical space that the disk im-
age is currently taking up on the storage
repository (in bytes)
RO ins type vdi type type of the VDI
RO ins sharable bool true if this disk may be shared
RO ins read only bool true if this disk may ONLY be mounted
read-only
RW other config (string string) map additional configuration
RO run storage lock bool true if this disk is locked at the storage
level
RO run location string location information
RO run managed bool
RO run missing bool true if SR scan operation reported this VDI
as not present on disk
RO run parent VDI ref References the parent disk, if this VDI is
part of a chain
RW xenstore data (string string) map data to be inserted into the xenstore tree
(/local/domain/0/backend/vbd/domid/device-
id/sm-data) after the VDI is attached.
This is generally set by the SM backends
on vdi attach.
RW sm config (string string) map SM dependent data
RO run is a snapshot bool true if this is a snapshot.
RO run snapshot of VDI ref Ref pointing to the VDI this snapshot is
of.
401
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
RO run snapshots VDI ref set List pointing to all the VDIs snapshots.
RO run snapshot time datetime Date/time when this snapshot was created.
RW tags string set user-specified tags for categorization pur-
poses
RO run allow caching bool true if this VDI is to be cached in the local
cache SR
RO run on boot on boot The behaviour of this VDI on a VM boot
RO run metadata of pool pool ref The pool whose metadata is contained in
this VDI
RO run metadata latest bool Whether this VDI contains the latest
known accessible metadata for the pool
RO run is tools iso bool Whether this VDI is a Tools ISO
402
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
(VDI ref) introduce (session_id s, string uuid, string name_label, string name_description, SR ref SR, vdi
Arguments:
403
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
404
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
405
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Possible Error Codes: VDI READONLY, VDI TOO SMALL, VDI NOT SPARSE
406
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
407
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
408
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
409
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
410
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
411
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
412
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
413
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
414
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
415
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
416
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
417
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
418
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
419
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
420
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
421
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
422
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
423
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
424
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
425
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
426
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
427
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
428
2.33. CLASS: VDI CHAPTER 2. API REFERENCE
Arguments:
429
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Name VBD
Description A virtual block device.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run allowed operations vbd operations set list of the operations allowed in this state.
This list is advisory only and the server
state may have changed by the time this
field is read by a client.
RO run current operations (string vbd operations) map links each of the running tasks using
this object (by reference) to a cur-
rent operation enum which describes the
nature of the task.
RO ins VM VM ref the virtual machine
RO ins VDI VDI ref the virtual disk
RO run device string device seen by the guest e.g. hda1
RW userdevice string user-friendly device name e.g. 0,1,2,etc.
RW bootable bool true if this VBD is bootable
RW mode vbd mode the mode the VBD should be mounted
with
RW type vbd type how the VBD will appear to the guest (e.g.
disk or CD)
RW unpluggable bool true if this VBD will support hot-unplug
RO run storage lock bool true if a storage level lock was acquired
RO ins empty bool if true this represents an empty drive
RW other config (string string) map additional configuration
RO run currently attached bool is the device currently attached (erased on
reboot)
RO run status code int error/success code associated with last
attach-operation (erased on reboot)
RO run status detail string error/success information associated with
last attach-operation status (erased on re-
boot)
RO run runtime properties (string string) map Device runtime properties
RW qos algorithm type string QoS algorithm to use
RW qos algorithm params (string string) map parameters for chosen QoS algorithm
RO run qos supported algorithms string set supported QoS algorithms for this VBD
RO run metrics VBD metrics ref metrics associated with this VBD
430
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
Possible Error Codes: VBD NOT REMOVABLE MEDIA, VBD NOT EMPTY
431
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
432
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
433
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
434
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
435
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
436
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
437
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
438
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
439
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
440
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
441
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
442
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
443
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
444
2.34. CLASS: VBD CHAPTER 2. API REFERENCE
Arguments:
445
2.35. CLASS: VBD METRICS CHAPTER 2. API REFERENCE
446
2.35. CLASS: VBD METRICS CHAPTER 2. API REFERENCE
Arguments:
447
2.35. CLASS: VBD METRICS CHAPTER 2. API REFERENCE
Arguments:
448
2.35. CLASS: VBD METRICS CHAPTER 2. API REFERENCE
Arguments:
449
2.35. CLASS: VBD METRICS CHAPTER 2. API REFERENCE
Arguments:
450
2.36. CLASS: PBD CHAPTER 2. API REFERENCE
Name PBD
Description The physical block devices through which hosts access SRs.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins host host ref physical machine on which the pbd is avail-
able
RO ins SR SR ref the storage repository that the pbd realises
RO ins device config (string string) map a config string to string map that is pro-
vided to the hosts SR-backend-driver
RO run currently attached bool is the SR currently attached on this host?
RW other config (string string) map additional configuration
451
2.36. CLASS: PBD CHAPTER 2. API REFERENCE
452
2.36. CLASS: PBD CHAPTER 2. API REFERENCE
Arguments:
453
2.36. CLASS: PBD CHAPTER 2. API REFERENCE
Arguments:
454
2.36. CLASS: PBD CHAPTER 2. API REFERENCE
Arguments:
455
2.36. CLASS: PBD CHAPTER 2. API REFERENCE
Arguments:
456
2.36. CLASS: PBD CHAPTER 2. API REFERENCE
Arguments:
457
2.37. CLASS: CRASHDUMP CHAPTER 2. API REFERENCE
Name crashdump
Description A VM crashdump.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins VM VM ref the virtual machine
RO ins VDI VDI ref the virtual disk
RW other config (string string) map additional configuration
458
2.37. CLASS: CRASHDUMP CHAPTER 2. API REFERENCE
459
2.37. CLASS: CRASHDUMP CHAPTER 2. API REFERENCE
460
2.37. CLASS: CRASHDUMP CHAPTER 2. API REFERENCE
461
2.37. CLASS: CRASHDUMP CHAPTER 2. API REFERENCE
462
2.38. CLASS: VTPM CHAPTER 2. API REFERENCE
Name VTPM
Description A virtual TPM device.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins VM VM ref the virtual machine
RO ins backend VM ref the domain where the backend is located
463
2.38. CLASS: VTPM CHAPTER 2. API REFERENCE
464
2.38. CLASS: VTPM CHAPTER 2. API REFERENCE
Arguments:
465
2.39. CLASS: CONSOLE CHAPTER 2. API REFERENCE
Name console
Description A console.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run protocol console protocol the protocol used by this console
RO run location string URI for the console service
RO run VM VM ref VM to which this console is attached
RW other config (string string) map additional configuration
466
2.39. CLASS: CONSOLE CHAPTER 2. API REFERENCE
467
2.39. CLASS: CONSOLE CHAPTER 2. API REFERENCE
468
2.39. CLASS: CONSOLE CHAPTER 2. API REFERENCE
469
2.39. CLASS: CONSOLE CHAPTER 2. API REFERENCE
470
2.40. CLASS: USER CHAPTER 2. API REFERENCE
Name user
Description A user of the system.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins short name string short name (e.g. userid)
RW fullname string full name
RW other config (string string) map additional configuration
471
2.40. CLASS: USER CHAPTER 2. API REFERENCE
472
2.40. CLASS: USER CHAPTER 2. API REFERENCE
473
2.40. CLASS: USER CHAPTER 2. API REFERENCE
474
2.40. CLASS: USER CHAPTER 2. API REFERENCE
Arguments:
475
2.41. CLASS: DATA SOURCE CHAPTER 2. API REFERENCE
476
2.42. CLASS: BLOB CHAPTER 2. API REFERENCE
Name blob
Description A placeholder for a binary blob.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RW name label string a human-readable name
RW name description string a notes field containing human-readable
description
RO run size int Size of the binary data, in bytes
RW public bool True if the blob is publicly accessible
RO ins last updated datetime Time at which the data in the blob was last
updated
RO ins mime type string The mime type associated with this object.
Defaults to application/octet-stream if
the empty string is supplied
477
2.42. CLASS: BLOB CHAPTER 2. API REFERENCE
478
2.42. CLASS: BLOB CHAPTER 2. API REFERENCE
479
2.42. CLASS: BLOB CHAPTER 2. API REFERENCE
480
2.42. CLASS: BLOB CHAPTER 2. API REFERENCE
481
2.42. CLASS: BLOB CHAPTER 2. API REFERENCE
482
2.43. CLASS: MESSAGE CHAPTER 2. API REFERENCE
Name message
Description An messagefor the attention of the administrator.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run name string The name of the message
RO run priority int The message priority, 0 being low priority
RO run cls cls The class of the object this message is as-
sociated with
RO run obj uuid string The uuid of the object this message is as-
sociated with
RO run timestamp datetime The time at which the message was created
RO run body string The body of the message
483
2.43. CLASS: MESSAGE CHAPTER 2. API REFERENCE
484
2.43. CLASS: MESSAGE CHAPTER 2. API REFERENCE
485
2.43. CLASS: MESSAGE CHAPTER 2. API REFERENCE
486
2.44. CLASS: SECRET CHAPTER 2. API REFERENCE
Name secret
Description A secret.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RW value string the secret
RW other config (string string) map other config
487
2.44. CLASS: SECRET CHAPTER 2. API REFERENCE
488
2.44. CLASS: SECRET CHAPTER 2. API REFERENCE
489
2.44. CLASS: SECRET CHAPTER 2. API REFERENCE
490
2.44. CLASS: SECRET CHAPTER 2. API REFERENCE
491
2.45. CLASS: TUNNEL CHAPTER 2. API REFERENCE
Name tunnel
Description A tunnel for network traffic.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins access PIF PIF ref The interface through which the tunnel is
accessed
RO ins transport PIF PIF ref The interface used by the tunnel
RW status (string string) map Status information about the tunnel
RW other config (string string) map Additional configuration
Possible Error Codes: OPENVSWITCH NOT ACTIVE, TRANSPORT PIF NOT CONFIGURED, IS TUNNEL ACCESS PIF
492
2.45. CLASS: TUNNEL CHAPTER 2. API REFERENCE
493
2.45. CLASS: TUNNEL CHAPTER 2. API REFERENCE
Arguments:
494
2.45. CLASS: TUNNEL CHAPTER 2. API REFERENCE
Arguments:
495
2.45. CLASS: TUNNEL CHAPTER 2. API REFERENCE
Arguments:
496
2.45. CLASS: TUNNEL CHAPTER 2. API REFERENCE
Arguments:
497
2.46. CLASS: PCI CHAPTER 2. API REFERENCE
Name PCI
Description A PCI device.
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins class name string PCI class name
RO ins vendor name string Vendor name
RO ins device name string Device name
RO ins host host ref Physical machine that owns the PCI device
RO ins pci id string PCI ID of the physical device
RO run dependencies PCI ref set List of dependent PCI devices
RW other config (string string) map Additional configuration
RO ins subsystem vendor name string Subsystem vendor name
RO ins subsystem device name string Subsystem device name
498
2.46. CLASS: PCI CHAPTER 2. API REFERENCE
499
2.46. CLASS: PCI CHAPTER 2. API REFERENCE
Arguments:
500
2.46. CLASS: PCI CHAPTER 2. API REFERENCE
Arguments:
501
2.46. CLASS: PCI CHAPTER 2. API REFERENCE
Arguments:
502
2.46. CLASS: PCI CHAPTER 2. API REFERENCE
Arguments:
503
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
Name PGPU
Description A physical GPU (pGPU).
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO ins PCI PCI ref Link to underlying PCI device
RO ins GPU group GPU group ref GPU group the pGPU is contained in
RO run host host ref Host that own the GPU
RW other config (string string) map Additional configuration
RO run supported VGPU types VGPU type ref set List of VGPU types supported by the un-
derlying hardware
RO run enabled VGPU types VGPU type ref set List of VGPU types which have been en-
abled for this PGPU
RO run resident VGPUs VGPU ref set List of VGPUs running on this PGPU
RO run supported VGPU max capacities (VGPU type ref int) map A map relating each VGPU type supported
on this GPU to the maximum number of
VGPUs of that type which can run simul-
taneously on this GPU
RO run dom0 access pgpu dom0 access The accessibility of this device from dom0
RO run is system display device bool Is this device the system display device
504
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
Arguments:
505
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
Arguments:
506
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
507
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
Arguments:
508
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
Arguments:
509
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
Arguments:
510
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
Arguments:
511
2.47. CLASS: PGPU CHAPTER 2. API REFERENCE
Arguments:
512
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
513
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
Arguments:
514
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
515
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
516
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
517
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
518
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
519
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
520
2.48. CLASS: GPU GROUP CHAPTER 2. API REFERENCE
521
2.49. CLASS: VGPU CHAPTER 2. API REFERENCE
Name VGPU
Description A virtual GPU (vGPU).
Quals Field Type Description
RO run uuid string Unique identifier/object reference
RO run VM VM ref VM that owns the vGPU
RO run GPU group GPU group ref GPU group used by the vGPU
RO run device string Order in which the devices are plugged into
the VM
RO run currently attached bool Reflects whether the virtual device is cur-
rently connected to a physical device
RW other config (string string) map Additional configuration
RO run type VGPU type ref Preset type for this VGPU
RO run resident on PGPU ref The PGPU on which this VGPU is running
522
2.49. CLASS: VGPU CHAPTER 2. API REFERENCE
523
2.49. CLASS: VGPU CHAPTER 2. API REFERENCE
524
2.49. CLASS: VGPU CHAPTER 2. API REFERENCE
525
2.49. CLASS: VGPU CHAPTER 2. API REFERENCE
Arguments:
526
2.49. CLASS: VGPU CHAPTER 2. API REFERENCE
527
2.50. CLASS: VGPU TYPE CHAPTER 2. API REFERENCE
528
2.50. CLASS: VGPU TYPE CHAPTER 2. API REFERENCE
529
2.50. CLASS: VGPU TYPE CHAPTER 2. API REFERENCE
530
2.50. CLASS: VGPU TYPE CHAPTER 2. API REFERENCE
Arguments:
531
2.50. CLASS: VGPU TYPE CHAPTER 2. API REFERENCE
Arguments:
532
2.50. CLASS: VGPU TYPE CHAPTER 2. API REFERENCE
Arguments:
533
2.50. CLASS: VGPU TYPE CHAPTER 2. API REFERENCE
Arguments:
534
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
535
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
Signature:
ADDRESS_VIOLATES_LOCKING_CONSTRAINT(address)
Signature:
AUTH_ALREADY_ENABLED(current auth_type, current service_name)
Signature:
AUTH_DISABLE_FAILED(message)
Signature:
AUTH_DISABLE_FAILED_PERMISSION_DENIED(message)
Signature:
AUTH_DISABLE_FAILED_WRONG_CREDENTIALS(message)
536
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
AUTH_ENABLE_FAILED(message)
Signature:
AUTH_ENABLE_FAILED_DOMAIN_LOOKUP_FAILED(message)
Signature:
AUTH_ENABLE_FAILED_PERMISSION_DENIED(message)
Signature:
AUTH_ENABLE_FAILED_UNAVAILABLE(message)
Signature:
AUTH_ENABLE_FAILED_WRONG_CREDENTIALS(message)
AUTH IS DISABLED
External authentication is disabled, unable to resolve subject name.
No parameters.
537
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
AUTH_SERVICE_ERROR(message)
Signature:
AUTH_UNKNOWN_TYPE(type)
Signature:
BACKUP_SCRIPT_FAILED(log)
BOOTLOADER FAILED
The bootloader returned an error
Signature:
BOOTLOADER_FAILED(vm, msg)
Signature:
BRIDGE_NOT_AVAILABLE(bridge)
Signature:
CANNOT_ADD_TUNNEL_TO_BOND_SLAVE(PIF)
538
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
CANNOT_ADD_VLAN_TO_BOND_SLAVE(PIF)
Signature:
CANNOT_CHANGE_PIF_PROPERTIES(PIF)
Signature:
CANNOT_CONTACT_HOST(host)
No parameters.
Signature:
CANNOT_DESTROY_DISASTER_RECOVERY_TASK(reason)
Signature:
CANNOT_DESTROY_SYSTEM_NETWORK(network)
539
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
CANNOT_ENABLE_REDO_LOG(reason)
Signature:
CANNOT_EVACUATE_HOST(errors)
Signature:
CANNOT_FETCH_PATCH(uuid)
No parameters.
No parameters.
No parameters.
540
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
CANNOT_PLUG_BOND_SLAVE(PIF)
Signature:
CANNOT_PLUG_VIF(VIF)
Signature:
CANNOT_RESET_CONTROL_DOMAIN(vm)
Signature:
CERTIFICATE_ALREADY_EXISTS(name)
CERTIFICATE CORRUPT
The specified certificate is corrupt or unreadable.
Signature:
CERTIFICATE_CORRUPT(name)
Signature:
CERTIFICATE_DOES_NOT_EXIST(name)
541
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
Signature:
CERTIFICATE_NAME_INVALID(name)
Signature:
CHANGE_PASSWORD_REJECTED(msg)
CLUSTERED SR DEGRADED
An SR is using clustered local storage. It is not safe to reboot a host at the moment.
Signature:
CLUSTERED_SR_DEGRADED(sr)
COULD NOT FIND NETWORK INTERFACE WITH SPECIFIED DEVICE NAME AND MAC ADDRESS
Could not find a network interface with the specified device name and MAC address.
Signature:
COULD_NOT_FIND_NETWORK_INTERFACE_WITH_SPECIFIED_DEVICE_NAME_AND_MAC_ADDRESS(device, mac)
Signature:
COULD_NOT_IMPORT_DATABASE(reason)
542
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
CPU_FEATURE_MASKING_NOT_SUPPORTED(details)
Signature:
CRL_ALREADY_EXISTS(name)
CRL CORRUPT
The specified CRL is corrupt or unreadable.
Signature:
CRL_CORRUPT(name)
Signature:
CRL_DOES_NOT_EXIST(name)
Signature:
CRL_NAME_INVALID(name)
Signature:
DB_UNIQUENESS_CONSTRAINT_VIOLATION(table, field, value)
543
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
DEFAULT_SR_NOT_FOUND(sr)
Signature:
DEVICE_ALREADY_ATTACHED(device)
Signature:
DEVICE_ALREADY_DETACHED(device)
Signature:
DEVICE_ALREADY_EXISTS(device)
Signature:
DEVICE_ATTACH_TIMEOUT(type, ref)
Signature:
DEVICE_DETACH_REJECTED(type, ref, msg)
544
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
DEVICE_DETACH_TIMEOUT(type, ref)
Signature:
DEVICE_NOT_ATTACHED(VBD)
Signature:
DISK_VBD_MUST_BE_READWRITE_FOR_HVM(vbd)
Signature:
DOMAIN_BUILDER_ERROR(function, code, message)
DOMAIN EXISTS
The operation could not be performed because a domain still exists for the specified VM.
Signature:
DOMAIN_EXISTS(vm, domid)
Signature:
DUPLICATE_MAC_SEED(seed)
545
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
DUPLICATE_PIF_DEVICE_NAME(device)
DUPLICATE VM
Cannot restore this VM because it would create a duplicate
Signature:
DUPLICATE_VM(vm)
EVENTS LOST
Some events have been lost from the queue and cannot be retrieved.
No parameters.
Signature:
EVENT_FROM_TOKEN_PARSE_FAILURE(token)
Signature:
EVENT_SUBSCRIPTION_PARSE_FAILURE(subscription)
Signature:
FAILED_TO_START_EMULATOR(vm, name, msg)
546
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
FEATURE_REQUIRES_HVM(details)
FEATURE RESTRICTED
The use of this feature is restricted.
No parameters.
Signature:
FIELD_TYPE_ERROR(field)
Signature:
GPU_GROUP_CONTAINS_NO_PGPUS(gpu_group)
Signature:
GPU_GROUP_CONTAINS_PGPU(pgpus)
Signature:
GPU_GROUP_CONTAINS_VGPU(vgpus)
547
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
HANDLE INVALID
You gave an invalid object reference. The object may have recently been deleted. The class parameter gives the
type of reference given, and the handle parameter echoes the bad value given.
Signature:
HANDLE_INVALID(class, handle)
Signature:
HA_ABORT_NEW_MASTER(reason)
No parameters.
Signature:
HA_CONSTRAINT_VIOLATION_NETWORK_NOT_SHARED(network)
Signature:
HA_CONSTRAINT_VIOLATION_SR_NOT_SHARED(SR)
HA DISABLE IN PROGRESS
The operation could not be performed because HA disable is in progress
No parameters.
548
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
HA ENABLE IN PROGRESS
The operation could not be performed because HA enable is in progress
No parameters.
No parameters.
No parameters.
No parameters.
Signature:
HA_HOST_CANNOT_SEE_PEERS(host, all, subset)
HA HOST IS ARMED
The operation could not be performed while the host is still armed; it must be disarmed first
Signature:
HA_HOST_IS_ARMED(host)
549
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
HA IS ENABLED
The operation could not be performed because HA is enabled on the Pool
No parameters.
HA LOST STATEFILE
This host lost access to the HA statefile.
No parameters.
HA NOT ENABLED
The operation could not be performed because HA is not enabled on the Pool
No parameters.
HA NOT INSTALLED
The operation could not be performed because the HA software is not installed on this host.
Signature:
HA_NOT_INSTALLED(host)
HA NO PLAN
Cannot find a plan for placement of VMs as there are no other hosts available.
No parameters.
No parameters.
No parameters.
550
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
HA SHOULD BE FENCED
Host cannot rejoin pool because it should have fenced (it is not in the masters partition)
Signature:
HA_SHOULD_BE_FENCED(host)
No parameters.
No parameters.
Signature:
HOSTS_NOT_HOMOGENEOUS(reason)
HOST BROKEN
This host failed in the middle of an automatic failover operation and needs to retry the failover action
No parameters.
Signature:
HOST_CANNOT_ATTACH_NETWORK(host, network)
551
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
HOST_CANNOT_DESTROY_SELF(host)
No parameters.
No parameters.
HOST DISABLED
The specified host is disabled.
Signature:
HOST_DISABLED(host)
Signature:
HOST_DISABLED_UNTIL_REBOOT(host)
Signature:
HOST_EVACUATE_IN_PROGRESS(host)
552
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
Signature:
HOST_HAS_RESIDENT_VMS(host)
No parameters.
HOST IN USE
This operation cannot be completed as the host is in use by (at least) the object of type and ref echoed below.
Signature:
HOST_IN_USE(host, type, ref)
HOST IS LIVE
This operation cannot be completed as the host is still live.
Signature:
HOST_IS_LIVE(host)
HOST IS SLAVE
You cannot make regular API calls directly on a slave. Please pass API calls via the master host.
Signature:
HOST_IS_SLAVE(Master IP address)
553
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
Signature:
HOST_MASTER_CANNOT_TALK_BACK(ip)
Signature:
HOST_NAME_INVALID(reason)
No parameters.
Signature:
HOST_NOT_ENOUGH_FREE_MEMORY(needed, available)
No parameters.
554
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
HOST OFFLINE
You attempted an operation which involves a host which could not be contacted.
Signature:
HOST_OFFLINE(host)
No parameters.
No parameters.
Signature:
HOST_UNKNOWN_TO_MASTER(host)
Signature:
ILLEGAL_VBD_DEVICE(vbd, device)
IMPORT ERROR
The VM could not be imported.
Signature:
IMPORT_ERROR(msg)
555
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
No parameters.
Signature:
IMPORT_ERROR_FAILED_TO_FIND_OBJECT(id)
No parameters.
No parameters.
Signature:
IMPORT_ERROR_UNEXPECTED_FILE(filename_expected, filename_found)
No parameters.
556
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
INCOMPATIBLE_CLUSTER_STACK_ACTIVE(cluster_stack)
No parameters.
INCOMPATIBLE STATEFILE SR
The specified SR is incompatible with the selected HA cluster stack.
Signature:
INCOMPATIBLE_STATEFILE_SR(SR type)
INTERFACE HAS NO IP
The specified interface cannot be used because it has no IP address
Signature:
INTERFACE_HAS_NO_IP(interface)
INTERNAL ERROR
The server failed to handle your request, due to an internal error. The given message may give details useful for
debugging the problem.
Signature:
INTERNAL_ERROR(message)
Signature:
INVALID_CIDR_ADDRESS_SPECIFIED(parameter)
557
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
INVALID DEVICE
The device name is invalid
Signature:
INVALID_DEVICE(device)
INVALID EDITION
The edition you supplied is invalid.
Signature:
INVALID_EDITION(edition)
Signature:
INVALID_FEATURE_STRING(details)
Signature:
INVALID_IP_ADDRESS_SPECIFIED(parameter)
INVALID PATCH
The uploaded patch file is invalid
No parameters.
Signature:
INVALID_PATCH_WITH_LOG(log)
558
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
INVALID VALUE
The value given is invalid
Signature:
INVALID_VALUE(field, value)
Signature:
IS_TUNNEL_ACCESS_PIF(PIF)
No parameters.
No parameters.
No parameters.
No parameters.
No parameters.
559
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
No parameters.
LICENCE RESTRICTION
This operation is not allowed because your license lacks a needed feature. Please contact your support repre-
sentative.
Signature:
LICENCE_RESTRICTION(feature)
No parameters.
Signature:
LICENSE_CHECKOUT_ERROR(reason)
No parameters.
560
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
LICENSE EXPIRED
Your license has expired. Please contact your support representative.
No parameters.
No parameters.
No parameters.
No parameters.
Signature:
LOCATION_NOT_UNIQUE(SR, location)
Signature:
MAC_DOES_NOT_EXIST(MAC)
561
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
MAC INVALID
The MAC address specified is not valid.
Signature:
MAC_INVALID(MAC)
Signature:
MAC_STILL_EXISTS(MAC)
Signature:
MAP_DUPLICATE_KEY(type, param_name, uuid, key)
MESSAGE DEPRECATED
This message has been deprecated.
No parameters.
Signature:
MESSAGE_METHOD_UNKNOWN(method)
Signature:
MESSAGE_PARAMETER_COUNT_MISMATCH(method, expected, received)
562
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
MESSAGE REMOVED
This function is no longer available.
No parameters.
MIRROR FAILED
The VDI mirroring cannot be performed
Signature:
MIRROR_FAILED(vdi)
No parameters.
Signature:
NETWORK_ALREADY_CONNECTED(network, connected PIF)
Signature:
NETWORK_CONTAINS_PIF(pifs)
Signature:
NETWORK_CONTAINS_VIF(vifs)
563
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
NOT_ALLOWED_ON_OEM_EDITION(command)
NOT IMPLEMENTED
The function is not implemented
Signature:
NOT_IMPLEMENTED(function)
No parameters.
No parameters.
Signature:
NOT_SYSTEM_DOMAIN(vm)
NO HOSTS AVAILABLE
There were no hosts available to complete the specified operation.
No parameters.
564
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
No parameters.
Signature:
ONLY_ALLOWED_ON_OEM_EDITION(command)
No parameters.
OPERATION BLOCKED
You attempted an operation that was explicitly blocked (see the blocked operations field of the given object).
Signature:
OPERATION_BLOCKED(ref, code)
Signature:
OPERATION_NOT_ALLOWED(reason)
565
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
OPERATION_PARTIALLY_FAILED(operation)
Signature:
OTHER_OPERATION_IN_PROGRESS(class, object)
OUT OF SPACE
There is not enough space to upload the update
Signature:
OUT_OF_SPACE(location)
Signature:
PATCH_ALREADY_APPLIED(patch)
Signature:
PATCH_ALREADY_EXISTS(uuid)
Signature:
PATCH_APPLY_FAILED(output)
566
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
PATCH_APPLY_FAILED_BACKUP_FILES_EXIST(output)
PATCH IS APPLIED
The specified patch is applied and cannot be destroyed.
No parameters.
Signature:
PATCH_PRECHECK_FAILED_ISO_MOUNTED(patch)
Signature:
PATCH_PRECHECK_FAILED_OUT_OF_SPACE(patch, found_space, required_required)
Signature:
PATCH_PRECHECK_FAILED_PREREQUISITE_MISSING(patch, prerequisite_patch_uuid_list)
Signature:
PATCH_PRECHECK_FAILED_UNKNOWN_ERROR(patch, info)
567
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
PATCH_PRECHECK_FAILED_VM_RUNNING(patch)
Signature:
PATCH_PRECHECK_FAILED_WRONG_SERVER_BUILD(patch, found_build, required_build)
Signature:
PATCH_PRECHECK_FAILED_WRONG_SERVER_VERSION(patch, found_version, required_version)
PBD EXISTS
A PBD already exists connecting the SR to the host
Signature:
PBD_EXISTS(sr, host, pbd)
PERMISSION DENIED
Caller not allowed to perform this operation.
Signature:
PERMISSION_DENIED(message)
Signature:
PGPU_INSUFFICIENT_CAPACITY_FOR_VGPU(pgpu, vgpu_type)
568
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
PGPU IN USE BY VM
This PGPU is currently in use by running VMs.
Signature:
PGPU_IN_USE_BY_VM(VMs)
Signature:
PGPU_NOT_COMPATIBLE_WITH_GPU_GROUP(type, group_types)
Signature:
PIF_ALREADY_BONDED(PIF)
No parameters.
No parameters.
No parameters.
569
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
PIF_CONFIGURATION_ERROR(PIF, msg)
No parameters.
Signature:
PIF_DOES_NOT_ALLOW_UNPLUG(PIF)
No parameters.
No parameters.
No parameters.
Signature:
PIF_IS_MANAGEMENT_INTERFACE(PIF)
570
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
PIF IS PHYSICAL
You tried to destroy a PIF, but it represents an aspect of the physical host configuration, and so cannot be
destroyed. The parameter echoes the PIF handle you gave.
Signature:
PIF_IS_PHYSICAL(PIF)
PIF IS VLAN
You tried to create a VLAN on top of another VLAN - use the underlying physical PIF/bond instead
Signature:
PIF_IS_VLAN(PIF)
Signature:
PIF_TUNNEL_STILL_EXISTS(PIF)
PIF UNMANAGED
The operation you requested cannot be performed because the specified PIF is not managed by xapi.
Signature:
PIF_UNMANAGED(PIF)
Signature:
PIF_VLAN_EXISTS(PIF)
Signature:
PIF_VLAN_STILL_EXISTS(PIF)
571
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
POOL_AUTH_ALREADY_ENABLED(host)
Signature:
POOL_AUTH_DISABLE_FAILED(host, message)
Signature:
POOL_AUTH_DISABLE_FAILED_PERMISSION_DENIED(host, message)
Signature:
POOL_AUTH_DISABLE_FAILED_WRONG_CREDENTIALS(host, message)
Signature:
POOL_AUTH_ENABLE_FAILED(host, message)
Signature:
POOL_AUTH_ENABLE_FAILED_DOMAIN_LOOKUP_FAILED(host, message)
572
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
POOL_AUTH_ENABLE_FAILED_DUPLICATE_HOSTNAME(host, message)
Signature:
POOL_AUTH_ENABLE_FAILED_INVALID_OU(host, message)
Signature:
POOL_AUTH_ENABLE_FAILED_PERMISSION_DENIED(host, message)
Signature:
POOL_AUTH_ENABLE_FAILED_WRONG_CREDENTIALS(host, message)
No parameters.
No parameters.
573
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
No parameters.
No parameters.
No parameters.
Signature:
RBAC_PERMISSION_DENIED(permission, message)
No parameters.
No parameters.
574
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
RESTORE_SCRIPT_FAILED(log)
No parameters.
Signature:
RESTORE_TARGET_MISSING_DEVICE(device)
No parameters.
No parameters.
No parameters.
575
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
SESSION INVALID
You gave an invalid session reference. It may have been invalidated by a server restart, or timed out. You
should get a new session handle, using one of the session.login calls. This error does not invalidate the current
connection. The handle parameter echoes the bad value given.
Signature:
SESSION_INVALID(handle)
Signature:
SESSION_NOT_REGISTERED(handle)
No parameters.
Signature:
SM_PLUGIN_COMMUNICATION_FAILURE(sm)
SR ATTACH FAILED
Attaching this SR failed.
Signature:
SR_ATTACH_FAILED(sr)
SR BACKEND FAILURE
There was an SR backend failure.
Signature:
SR_BACKEND_FAILURE(status, stdout, stderr)
576
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
SR DEVICE IN USE
The SR operation cannot be performed because a device underlying the SR is in use by the host.
No parameters.
Signature:
SR_DOES_NOT_SUPPORT_MIGRATION(sr)
SR FULL
The SR is full. Requested new size exceeds the maximum size
Signature:
SR_FULL(requested, maximum)
Signature:
SR_HAS_MULTIPLE_PBDS(PBD)
SR HAS NO PBDS
The SR has no attached PBDs
Signature:
SR_HAS_NO_PBDS(sr)
SR HAS PBD
The SR is still connected to a host via a PBD. It cannot be destroyed or forgotten.
Signature:
SR_HAS_PBD(sr)
577
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
SR INDESTRUCTIBLE
The SR could not be destroyed, as the indestructible flag was set on it.
Signature:
SR_INDESTRUCTIBLE(sr)
SR IS CACHE SR
The SR is currently being used as a local cache SR.
Signature:
SR_IS_CACHE_SR(host)
SR NOT ATTACHED
The SR is not attached.
Signature:
SR_NOT_ATTACHED(sr)
SR NOT EMPTY
The SR operation cannot be performed because the SR is not empty.
No parameters.
SR NOT SHARABLE
The PBD could not be plugged because the SR is in use by another host and is not marked as sharable.
Signature:
SR_NOT_SHARABLE(sr, host)
Signature:
SR_OPERATION_NOT_SUPPORTED(sr)
578
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
SR REQUIRES UPGRADE
The operation cannot be performed until the SR has been upgraded
Signature:
SR_REQUIRES_UPGRADE(SR)
SR UNKNOWN DRIVER
The SR could not be connected because the driver was not recognised.
Signature:
SR_UNKNOWN_DRIVER(driver)
SR UUID EXISTS
An SR with that uuid already exists.
Signature:
SR_UUID_EXISTS(uuid)
No parameters.
Signature:
SSL_VERIFY_ERROR(reason)
No parameters.
579
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
No parameters.
Signature:
SYSTEM_STATUS_RETRIEVAL_FAILED(reason)
TASK CANCELLED
The request was asynchronously cancelled.
Signature:
TASK_CANCELLED(task)
TOO BUSY
The request was rejected because the server is too busy.
No parameters.
No parameters.
580
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
TOO_MANY_STORAGE_MIGRATES(number)
Signature:
TRANSPORT_PIF_NOT_CONFIGURED(PIF)
UNIMPLEMENTED IN SM BACKEND
You have attempted a function which is not implemented
Signature:
UNIMPLEMENTED_IN_SM_BACKEND(message)
UNKNOWN BOOTLOADER
The requested bootloader is unknown
Signature:
UNKNOWN_BOOTLOADER(vm, bootloader)
Signature:
USER_IS_NOT_LOCAL_SUPERUSER(msg)
UUID INVALID
The uuid you supplied was invalid.
Signature:
UUID_INVALID(type, uuid)
581
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
V6D FAILURE
There was a problem with the license daemon (v6d).
No parameters.
Signature:
VALUE_NOT_SUPPORTED(field, value, reason)
No parameters.
VBD IS EMPTY
Operation could not be performed because the drive is empty
Signature:
VBD_IS_EMPTY(vbd)
Signature:
VBD_NOT_EMPTY(vbd)
Signature:
VBD_NOT_REMOVABLE_MEDIA(vbd)
582
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
VBD_NOT_UNPLUGGABLE(vbd)
Signature:
VBD_TRAY_LOCKED(vbd)
Signature:
VDI_CONTAINS_METADATA_OF_THIS_POOL(vdi, pool)
No parameters.
Signature:
VDI_HAS_RRDS(vdi)
Signature:
VDI_INCOMPATIBLE_TYPE(vdi, type)
583
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
VDI IN USE
This operation cannot be performed because this VDI is in use by some other operation
Signature:
VDI_IN_USE(vdi, operation)
Signature:
VDI_IS_A_PHYSICAL_DEVICE(vdi)
Signature:
VDI_IS_NOT_ISO(vdi, type)
Signature:
VDI_LOCATION_MISSING(sr, location)
VDI MISSING
This operation cannot be performed because the specified VDI could not be found on the storage substrate
Signature:
VDI_MISSING(sr, vdi)
Signature:
VDI_NEEDS_VM_FOR_MIGRATE(vdi)
584
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
VDI_NOT_AVAILABLE(vdi)
Signature:
VDI_NOT_IN_MAP(vdi)
Signature:
VDI_NOT_MANAGED(vdi)
Signature:
VDI_NOT_SPARSE(vdi)
No parameters.
VDI READONLY
The operation required write access but this VDI is read-only
Signature:
VDI_READONLY(vdi)
585
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
VDI_TOO_SMALL(vdi, minimum size)
Signature:
VGPU_TYPE_NOT_COMPATIBLE_WITH_RUNNING_TYPE(pgpu, type, running_type)
Signature:
VGPU_TYPE_NOT_ENABLED(type, enabled_types)
Signature:
VGPU_TYPE_NOT_SUPPORTED(type, supported_types)
VIF IN USE
Network has active VIFs
Signature:
VIF_IN_USE(network, VIF)
Signature:
VIF_NOT_IN_MAP(vif)
586
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
VLAN_TAG_INVALID(VLAN)
No parameters.
VMPP HAS VM
There is at least one VM assigned to this protection policy.
No parameters.
No parameters.
Signature:
VM_ASSIGNED_TO_PROTECTION_POLICY(vm, vmpp)
VM ATTACHED TO MORE THAN ONE VDI WITH TIMEOFFSET MARKED AS RESET ON BOOT
You attempted to start a VM thats attached to more than one VDI with a timeoffset marked as reset-on-boot.
Signature:
VM_ATTACHED_TO_MORE_THAN_ONE_VDI_WITH_TIMEOFFSET_MARKED_AS_RESET_ON_BOOT(vm)
587
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
VM_BAD_POWER_STATE(vm, expected, actual)
No parameters.
Signature:
VM_CALL_PLUGIN_RATE_LIMIT(VM, interval, wait)
Signature:
VM_CANNOT_DELETE_DEFAULT_TEMPLATE(vm)
Signature:
VM_CHECKPOINT_RESUME_FAILED(vm)
Signature:
VM_CHECKPOINT_SUSPEND_FAILED(vm)
588
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
VM CRASHED
The VM crashed
Signature:
VM_CRASHED(vm)
Signature:
VM_DUPLICATE_VBD_DEVICE(vm, vbd, device)
No parameters.
VM HALTED
The VM unexpectedly halted
Signature:
VM_HALTED(vm)
VM HAS CHECKPOINT
You attempted to migrate a VM which has a checkpoint.
Signature:
VM_HAS_CHECKPOINT(vm)
Signature:
VM_HAS_PCI_ATTACHED(vm)
589
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
VM_HAS_TOO_MANY_SNAPSHOTS(vm)
VM HAS VGPU
This operation could not be performed, because the VM has one or more virtual GPUs.
Signature:
VM_HAS_VGPU(vm)
Signature:
VM_HOST_INCOMPATIBLE_VERSION(host, vm)
Signature:
VM_HOST_INCOMPATIBLE_VIRTUAL_HARDWARE_PLATFORM_VERSION(host, host_versions, vm, vm_version)
VM HVM REQUIRED
HVM is required for this operation
Signature:
VM_HVM_REQUIRED(vm)
Signature:
VM_INCOMPATIBLE_WITH_THIS_HOST(vm, host, reason)
590
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
VM IS PART OF AN APPLIANCE
This operation is not allowed as the VM is part of an appliance.
Signature:
VM_IS_PART_OF_AN_APPLIANCE(vm, appliance)
VM IS PROTECTED
This operation cannot be performed because the specified VM is protected by xHA
Signature:
VM_IS_PROTECTED(vm)
VM IS TEMPLATE
The operation attempted is not valid for a template VM
Signature:
VM_IS_TEMPLATE(vm)
Signature:
VM_LACKS_FEATURE_SHUTDOWN(vm)
Signature:
VM_LACKS_FEATURE_STATIC_IP_SETTING(vm)
Signature:
VM_LACKS_FEATURE_SUSPEND(vm)
591
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
VM_LACKS_FEATURE_VCPU_HOTPLUG(vm)
Signature:
VM_MEMORY_SIZE_TOO_LOW(vm)
VM MIGRATE FAILED
An error occurred during the migration process.
Signature:
VM_MIGRATE_FAILED(vm, source, destination, msg)
VM MISSING PV DRIVERS
You attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.
Signature:
VM_MISSING_PV_DRIVERS(vm)
Signature:
VM_NOT_RESIDENT_HERE(vm, host)
VM NO CRASHDUMP SR
This VM does not have a crashdump SR specified.
Signature:
VM_NO_CRASHDUMP_SR(vm)
592
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
VM NO EMPTY CD VBD
The VM has no empty CD drive (VBD).
Signature:
VM_NO_EMPTY_CD_VBD(vm)
VM NO SUSPEND SR
This VM does not have a suspend SR specified.
Signature:
VM_NO_SUSPEND_SR(vm)
VM NO VCPUS
You need at least 1 VCPU to start a VM
Signature:
VM_NO_VCPUS(vm)
VM OLD PV DRIVERS
You attempted an operation on a VM which requires a more recent version of the PV drivers. Please upgrade
your PV drivers.
Signature:
VM_OLD_PV_DRIVERS(vm, major, minor)
VM PV DRIVERS IN USE
VM PV drivers still in use
Signature:
VM_PV_DRIVERS_IN_USE(vm)
VM REBOOTED
The VM unexpectedly rebooted
Signature:
VM_REBOOTED(vm)
593
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
VM REQUIRES GPU
You attempted to run a VM on a host which doesnt have a pGPU available in the GPU group needed by the
VM. The VM has a vGPU attached to this GPU group.
Signature:
VM_REQUIRES_GPU(vm, GPU_group)
VM REQUIRES IOMMU
You attempted to run a VM on a host which doesnt have I/O virtualization (IOMMU/VT-d) enabled, which
is needed by the VM.
Signature:
VM_REQUIRES_IOMMU(host)
VM REQUIRES NETWORK
You attempted to run a VM on a host which doesnt have a PIF on a Network needed by the VM. The VM has
at least one VIF attached to the Network.
Signature:
VM_REQUIRES_NETWORK(vm, network)
VM REQUIRES SR
You attempted to run a VM on a host which doesnt have access to an SR needed by the VM. The VM has at
least one VBD attached to a VDI in the SR.
Signature:
VM_REQUIRES_SR(vm, sr)
VM REQUIRES VDI
VM cannot be started because it requires a VDI which cannot be attached
Signature:
VM_REQUIRES_VDI(vm, vdi)
594
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
VM REQUIRES VGPU
You attempted to run a VM on a host on which the vGPU required by the VM cannot be allocated on any
pGPUs in the GPU group needed by the VM.
Signature:
VM_REQUIRES_VGPU(vm, GPU_group, vGPU_type)
VM REVERT FAILED
An error occured while reverting the specified virtual machine to the specified snapshot
Signature:
VM_REVERT_FAILED(vm, snapshot)
VM SHUTDOWN TIMEOUT
VM failed to shutdown before the timeout expired
Signature:
VM_SHUTDOWN_TIMEOUT(vm, timeout)
Signature:
VM_SNAPSHOT_WITH_QUIESCE_FAILED(vm)
Signature:
VM_SNAPSHOT_WITH_QUIESCE_NOT_SUPPORTED(vm, error)
Signature:
VM_SNAPSHOT_WITH_QUIESCE_PLUGIN_DEOS_NOT_RESPOND(vm)
595
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
VM_SNAPSHOT_WITH_QUIESCE_TIMEOUT(vm)
Signature:
VM_TOO_MANY_VCPUS(vm)
Signature:
VM_TO_IMPORT_IS_NOT_NEWER_VERSION(vm, existing_version, version_to_import)
VM UNSAFE BOOT
You attempted an operation on a VM that was judged to be unsafe by the server. This can happen if the VM
would run on a CPU that has a potentially incompatible set of feature flags to those the VM requires. If you
want to override this warning then use the force option.
Signature:
VM_UNSAFE_BOOT(vm)
No parameters.
No parameters.
596
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
WLB DISABLED
This pool has wlb-enabled set to false.
No parameters.
No parameters.
No parameters.
Signature:
WLB_MALFORMED_RESPONSE(method, reason, response)
No parameters.
WLB TIMEOUT
The communication with the WLB server timed out.
Signature:
WLB_TIMEOUT(configured_timeout)
597
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
No parameters.
Signature:
WLB_URL_INVALID(url)
No parameters.
No parameters.
No parameters.
No parameters.
No parameters.
598
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
XAPI_HOOK_FAILED(hook_name, reason, stdout, exit_code)
Signature:
XENAPI_MISSING_PLUGIN(name)
Signature:
XENAPI_PLUGIN_FAILURE(status, stdout, stderr)
Signature:
XEN_VSS_REQ_ERROR_ADDING_VOLUME_TO_SNAPSET_FAILED(vm, error_code)
Signature:
XEN_VSS_REQ_ERROR_CREATING_SNAPSHOT(vm, error_code)
Signature:
XEN_VSS_REQ_ERROR_CREATING_SNAPSHOT_XML_STRING(vm, error_code)
599
2.51. ERROR HANDLING CHAPTER 2. API REFERENCE
Signature:
XEN_VSS_REQ_ERROR_INIT_FAILED(vm, error_code)
Signature:
XEN_VSS_REQ_ERROR_NO_VOLUMES_SUPPORTED(vm, error_code)
Signature:
XEN_VSS_REQ_ERROR_PREPARING_WRITERS(vm, error_code)
Signature:
XEN_VSS_REQ_ERROR_PROV_NOT_LOADED(vm, error_code)
Signature:
XEN_VSS_REQ_ERROR_START_SNAPSHOT_SET_FAILED(vm, error_code)
Signature:
XMLRPC_UNMARSHAL_FAILURE(expected, received)
600