Fields
-
string
uuid
unique identifier/object reference
-
host
host
physical machine on which the pbd is available
-
SR
SR
the storage repository that the pbd realises
-
Map[string,string]
device_config
a config string to string map that is provided to the host's SR-backend-driver
-
bool
currently_attached
is the SR currently attached on this host?
Implicit messages
-
Record[PBD]
get_record
(session session_id, PBD self)
Get a record containing the current state of the given PBD.
-
PBD
get_by_uuid
(session session_id, string uuid)
Get a reference to the PBD instance with the specified UUID.
-
PBD
create
(session session_id, host host, SR SR, Map[string,string] device_config)
Create a new PBD instance, and return its handle.
-
void
destroy
(session session_id, PBD self)
Destroy the specified PBD instance.
-
Set[PBD]
get_all
(session session_id)
Return a list of all the PBDs known to the system.
-
Map[PBD,Record[PBD]]
get_all_records
(session session_id)
Return a map of PBD references to PBD records for all PBDs known to the system.
Explicit messages