2.12.
CLASS: HOST
CHAPTER 2.
API REFERENCE
RPC name: set name description
Overview:
Set the name/description field of the given host.
Signature:
void set_name_description (session_id s, host ref self, string value)
Arguments:
type
name
description
host ref
self
reference to the object
string
value
New value to set
Return Type:
void
RPC name: get allowed operations
Overview:
Get the allowed operations field of the given host.
Signature:
((host_allowed_operations) Set) get_allowed_operations (session_id s, host ref self)
Arguments:
type
name
description
host ref
self
reference to the object
Return Type:
(host allowed operations) Set
value of the field
RPC name: get current operations
Overview:
Get the current operations field of the given host.
Signature:
((string -> host_allowed_operations) Map) get_current_operations (session_id s, host ref self)
Arguments:
type
name
description
host ref
self
reference to the object
Return Type:
(string
→
host allowed operations) Map
value of the field
119