
2.12.
CLASS: HOST
CHAPTER 2.
API REFERENCE
RPC name: get log
Overview:
Get the host’s log file.
Signature:
string get_log (session_id s, host ref host)
Arguments:
type
name
description
host ref
host
The Host to query
Return Type:
string
The contents of the host’s primary log file
RPC name: send debug keys
Overview:
Inject the given string as debugging keys into Xen.
Signature:
void send_debug_keys (session_id s, host ref host, string keys)
Arguments:
type
name
description
host ref
host
The host
string
keys
The keys to send
Return Type:
void
RPC name: bugreport upload
Overview:
Run xen-bugtool –yestoall and upload the output to Citrix support.
Signature:
void bugreport_upload (session_id s, host ref host, string url, (string -> string) Map options)
Arguments:
type
name
description
host ref
host
The host on which to run xen-bugtool
string
url
The URL to upload to
(string
→
string) Map
options
Extra configuration operations
Return Type:
void
113