2.26.
CLASS: VDI
CHAPTER 2.
API REFERENCE
RPC name: add to xenstore data
Overview:
Add the given key-value pair to the xenstore data field of the given VDI.
Signature:
void add_to_xenstore_data (session_id s, VDI ref self, string key, string value)
Arguments:
type
name
description
VDI ref
self
reference to the object
string
key
Key to add
string
value
Value to add
Return Type:
void
RPC name: remove from xenstore data
Overview:
Remove the given key and its corresponding value from the xenstore data field of the given VDI.
If the key is not in that Map, then do nothing.
Signature:
void remove_from_xenstore_data (session_id s, VDI ref self, string key)
Arguments:
type
name
description
VDI ref
self
reference to the object
string
key
Key to remove
Return Type:
void
RPC name: get sm config
Overview:
Get the sm config field of the given VDI.
Signature:
((string -> string) Map) get_sm_config (session_id s, VDI ref self)
Arguments:
type
name
description
VDI ref
self
reference to the object
Return Type:
(string
→
string) Map
value of the field
241