HP BL680c XenEnterprise Management API - Page 211
Class: SR
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 211 highlights
2.25. CLASS: SR CHAPTER 2. API REFERENCE 2.25 Class: SR 2.25.1 Fields for class: SR Name Description Quals RO run RW RW RO run RO run RO run RO run RO run RO run RO ins RO ins RO ins RO run RW RO run RW SR A storage repository. Field uuid name/label name/description allowed operations current operations VDIs PBDs virtual allocation physical utilisation physical size type content type shared other config default vdi visibility sm config Type string string string (storage operations) Set (string → storage operations) Map (VDI ref) Set (PBD ref) Set int int int string string bool (string → string) Map bool (string → string) Map Description unique identifier/object reference a human-readable name a notes field containg humanreadable description list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client. links each of the running tasks using this object (by reference) to a current operation enum which describes the nature of the task. all virtual disks known to this storage repository describes how particular hosts can see this storage repository sum of virtual sizes of all VDIs in this storage repository (in bytes) physical space currently utilised on this storage repository (in bytes). Note that for sparse disk formats, physical utilisation may be less than virtual allocation total physical size of the repository (in bytes) type of the storage repository the type of the SR's content, if required (e.g. ISOs) true if this SR is (capable of being) shared between multiple hosts additional configuration SM dependent data 2.25.2 RPCs associated with class: SR RPC name: create Overview: Create a new Storage Repository and introduce it into the managed system, creating both SR record and PBD record to attach it to current host (with specified device config parameters). Signature: (SR ref) create (session_id s, host ref host, (string -> string) Map device_config, int physical_size, Arguments: 211