
2.27.
CLASS: VBD
CHAPTER 2.
API REFERENCE
RPC name: get all records
Overview:
Return a map of VBD references to VBD records for all VBDs known to the system.
Signature:
((VBD ref -> VBD record) Map) get_all_records (session_id s)
Return Type:
(VBD ref
→
VBD record) Map
records of all objects
RPC name: get uuid
Overview:
Get the uuid field of the given VBD.
Signature:
string get_uuid (session_id s, VBD ref self)
Arguments:
type
name
description
VBD ref
self
reference to the object
Return Type:
string
value of the field
RPC name: get allowed operations
Overview:
Get the allowed operations field of the given VBD.
Signature:
((vbd_operations) Set) get_allowed_operations (session_id s, VBD ref self)
Arguments:
type
name
description
VBD ref
self
reference to the object
Return Type:
(vbd operations) Set
value of the field
RPC name: get current operations
Overview:
Get the current operations field of the given VBD.
Signature:
((string -> vbd_operations) Map) get_current_operations (session_id s, VBD ref self)
248