
2.25.
CLASS: SR
CHAPTER 2.
API REFERENCE
RPC name: get sm config
Overview:
Get the sm config field of the given SR.
Signature:
((string -> string) Map) get_sm_config (session_id s, SR ref self)
Arguments:
type
name
description
SR ref
self
reference to the object
Return Type:
(string
→
string) Map
value of the field
RPC name: set sm config
Overview:
Set the sm config field of the given SR.
Signature:
void set_sm_config (session_id s, SR ref self, (string -> string) Map value)
Arguments:
type
name
description
SR ref
self
reference to the object
(string
→
string) Map
value
New value to set
Return Type:
void
RPC name: add to sm config
Overview:
Add the given key-value pair to the sm config field of the given SR.
Signature:
void add_to_sm_config (session_id s, SR ref self, string key, string value)
Arguments:
type
name
description
SR ref
self
reference to the object
string
key
Key to add
string
value
Value to add
Return Type:
void
223