HP BL680c XenEnterprise Management API - Page 214
Class: Sr, Api Reference
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 214 highlights
2.25. CLASS: SR CHAPTER 2. API REFERENCE RPC name: get supported types Overview: Return a set of all the SR types supported by the system. Signature: (string Set) get_supported_types (session_id s) Return Type: string Set the supported SR types RPC name: scan Overview: Refreshes the list of VDIs associated with an SR. Signature: void scan (session_id s, SR ref sr) Arguments: type name description SR ref sr The SR to scan Return Type: void RPC name: probe Overview: Perform a backend-specific scan, using the given device config. If the device config is complete, then this will return a list of the SRs present of this type on the device, if any. If the device config is partial, then a backend-specific scan will be performed, returning results that will guide the user in improving the device config. Signature: string probe (session_id s, host ref host, (string -> string) Map device_config, string type, (string - Arguments: type host ref (string → string) Map string (string → string) Map name host device config type sm config description The host to create/make the SR on The device config string that will be passed to backend SR driver The type of the SR; used to specify the SR backend driver to use Storage backend specific configuration options Return Type: string An XML fragment containing the scan results. These are specific to the scan being performed, and the backend. 214