View Source XenAPI.VUSB (XenAPI v0.2.0)

Link to this section Summary

Functions

Add the given key-value pair to the other_config field of the given VUSB.

Add the given key-value pair to the other_config field of the given VUSB. (Raise error on XMLRPC failure)

Create a new VUSB record in the database only

Create a new VUSB record in the database only (Raise error on XMLRPC failure)

Removes a VUSB record from the database

Removes a VUSB record from the database (Raise error on XMLRPC failure)

Return a list of all the VUSBs known to the system.

Return a list of all the VUSBs known to the system. (Raise error on XMLRPC failure)

Return a map of VUSB references to VUSB records for all VUSBs known to the system.

Return a map of VUSB references to VUSB records for all VUSBs known to the system. (Raise error on XMLRPC failure)

Get the allowed_operations field of the given VUSB.

Get the allowed_operations field of the given VUSB. (Raise error on XMLRPC failure)

Get a reference to the VUSB instance with the specified UUID.

Get a reference to the VUSB instance with the specified UUID. (Raise error on XMLRPC failure)

Get the current_operations field of the given VUSB.

Get the current_operations field of the given VUSB. (Raise error on XMLRPC failure)

Get the currently_attached field of the given VUSB.

Get the currently_attached field of the given VUSB. (Raise error on XMLRPC failure)

Get the other_config field of the given VUSB.

Get the other_config field of the given VUSB. (Raise error on XMLRPC failure)

Get a record containing the current state of the given VUSB.

Get a record containing the current state of the given VUSB. (Raise error on XMLRPC failure)

Get the USB_group field of the given VUSB.

Get the USB_group field of the given VUSB. (Raise error on XMLRPC failure)

Get the uuid field of the given VUSB.

Get the uuid field of the given VUSB. (Raise error on XMLRPC failure)

Get the VM field of the given VUSB.

Get the VM field of the given VUSB. (Raise error on XMLRPC failure)

Remove the given key and its corresponding value from the other_config field of the given VUSB. If the key is not in that Map, then do nothing.

Remove the given key and its corresponding value from the other_config field of the given VUSB. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)

Set the other_config field of the given VUSB.

Set the other_config field of the given VUSB. (Raise error on XMLRPC failure)

Unplug the vusb device from the vm.

Unplug the vusb device from the vm. (Raise error on XMLRPC failure)

Link to this section Functions

Link to this function

add_to_other_config(xen_session, vusb_ref, key, value)

View Source

Add the given key-value pair to the other_config field of the given VUSB.

Link to this function

add_to_other_config!(xen_session, vusb_ref, key, value)

View Source

Add the given key-value pair to the other_config field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

create(xen_session, arg1, arg2, other_config)

View Source

Create a new VUSB record in the database only

Link to this function

create!(xen_session, arg1, arg2, other_config)

View Source

Create a new VUSB record in the database only (Raise error on XMLRPC failure)

Link to this function

destroy(xen_session, vusb_ref)

View Source

Removes a VUSB record from the database

Link to this function

destroy!(xen_session, vusb_ref)

View Source

Removes a VUSB record from the database (Raise error on XMLRPC failure)

Return a list of all the VUSBs known to the system.

Return a list of all the VUSBs known to the system. (Raise error on XMLRPC failure)

Link to this function

get_all_records(xen_session)

View Source

Return a map of VUSB references to VUSB records for all VUSBs known to the system.

Link to this function

get_all_records!(xen_session)

View Source

Return a map of VUSB references to VUSB records for all VUSBs known to the system. (Raise error on XMLRPC failure)

Link to this function

get_allowed_operations(xen_session, vusb_ref)

View Source

Get the allowed_operations field of the given VUSB.

Link to this function

get_allowed_operations!(xen_session, vusb_ref)

View Source

Get the allowed_operations field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

get_by_uuid(xen_session, uuid)

View Source

Get a reference to the VUSB instance with the specified UUID.

Link to this function

get_by_uuid!(xen_session, uuid)

View Source

Get a reference to the VUSB instance with the specified UUID. (Raise error on XMLRPC failure)

Link to this function

get_current_operations(xen_session, vusb_ref)

View Source

Get the current_operations field of the given VUSB.

Link to this function

get_current_operations!(xen_session, vusb_ref)

View Source

Get the current_operations field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

get_currently_attached(xen_session, vusb_ref)

View Source

Get the currently_attached field of the given VUSB.

Link to this function

get_currently_attached!(xen_session, vusb_ref)

View Source

Get the currently_attached field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

get_other_config(xen_session, vusb_ref)

View Source

Get the other_config field of the given VUSB.

Link to this function

get_other_config!(xen_session, vusb_ref)

View Source

Get the other_config field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

get_record(xen_session, vusb_ref)

View Source

Get a record containing the current state of the given VUSB.

Link to this function

get_record!(xen_session, vusb_ref)

View Source

Get a record containing the current state of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

get_USB_group(xen_session, vusb_ref)

View Source

Get the USB_group field of the given VUSB.

Link to this function

get_USB_group!(xen_session, vusb_ref)

View Source

Get the USB_group field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

get_uuid(xen_session, vusb_ref)

View Source

Get the uuid field of the given VUSB.

Link to this function

get_uuid!(xen_session, vusb_ref)

View Source

Get the uuid field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

get_VM(xen_session, vusb_ref)

View Source

Get the VM field of the given VUSB.

Link to this function

get_VM!(xen_session, vusb_ref)

View Source

Get the VM field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

remove_from_other_config(xen_session, vusb_ref, key)

View Source

Remove the given key and its corresponding value from the other_config field of the given VUSB. If the key is not in that Map, then do nothing.

Link to this function

remove_from_other_config!(xen_session, vusb_ref, key)

View Source

Remove the given key and its corresponding value from the other_config field of the given VUSB. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)

Link to this function

set_other_config(xen_session, vusb_ref, value)

View Source

Set the other_config field of the given VUSB.

Link to this function

set_other_config!(xen_session, vusb_ref, value)

View Source

Set the other_config field of the given VUSB. (Raise error on XMLRPC failure)

Link to this function

unplug(xen_session, vusb_ref)

View Source

Unplug the vusb device from the vm.

Link to this function

unplug!(xen_session, vusb_ref)

View Source

Unplug the vusb device from the vm. (Raise error on XMLRPC failure)