Create a storage repository (SR)
@see docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/?c=SR
@param [String] host_ref host reference @param [String] name_label repository label @param [String] type storage repository type @param [String] name_description storage repository description @param [Hash] device_config used to specify block device path, like { :device => /dev/sdb } for example @param [String] physical_size ‘0’ will use the whole device (FIXME needs confirmation) @param [String] content_type the type of the SR‘s content. According to Citrix documentation, used only to distinguish ISO libraries from other SRs. Set it to ‘iso’ for storage repositories that store a library of ISOs, ‘user’ or ’’ (empty) otherwise. @see docs.vmd.citrix.com/XenServer/6.1.0/1.0/en_gb/reference.html#cli-xe-commands_sr @param [String] shared
@return [String] an OpaqueRef to the storage repository
Destroy a Storage Repository
Puts the host into a state in which no new VMs can be started. Currently active VMs on the host continue to execute.
@see docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/?c=host
Puts the host into a state in which VMs can be started.
@see docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/?c=host