Create a new Storage Repository on disk. This call is deprecated: use SR.create instead.

Return value
type description
string The uuid of the newly created Storage Repository.
Parameters
name type description
session_id session valid session reference
host host The host to create/make the SR on
device_config Map[string,string] The device config string that will be passed to backend SR driver
physical_size int The physical size of the new storage repository
name_label string The name of the new storage repository
name_description string The description of the new storage repository
type string The type of the SR; used to specify the SR backend driver to use
content_type string The type of the new SRs content, if required (e.g. ISOs)
sm_config Map[string,string] Storage backend specific configuration options
Errors
name arguments description