Class: PBD

The physical block devices through which hosts access SRs

Fields

SR ref SR [RO/constructor]
bool currently_attached [RO/runtime]
(string → string) map device_config [RO/constructor]
host ref host [RO/constructor]
(string → string) map other_config [RW]
string uuid [RO/runtime]

Messages

void add_to_other_config (session ref, PBD ref, string, string)
PBD ref create (session ref, PBD record)
void destroy (session ref, PBD ref)
SR ref get_SR (session ref, PBD ref)
PBD ref set get_all (session ref)
(PBD ref → PBD record) map get_all_records (session ref)
PBD ref get_by_uuid (session ref, string)
bool get_currently_attached (session ref, PBD ref)
(string → string) map get_device_config (session ref, PBD ref)
host ref get_host (session ref, PBD ref)
(string → string) map get_other_config (session ref, PBD ref)
PBD record get_record (session ref, PBD ref)
string get_uuid (session ref, PBD ref)
void plug (session ref, PBD ref)
void remove_from_other_config (session ref, PBD ref, string)
void set_device_config (session ref, PBD ref, (string → string) map)
void set_other_config (session ref, PBD ref, (string → string) map)
void unplug (session ref, PBD ref)