View Source XenAPI.DR_task (XenAPI v0.1.2)

Link to this section Summary

Functions

Create a disaster recovery task which will query the supplied list of devices

Create a disaster recovery task which will query the supplied list of devices (Raise error on XMLRPC failure)

Destroy the disaster recovery task, detaching and forgetting any SRs introduced which are no longer required

Destroy the disaster recovery task, detaching and forgetting any SRs introduced which are no longer required (Raise error on XMLRPC failure)

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

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

Return a map of DR_task references to DR_task records for all DR_tasks known to the system.

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

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

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

Get the introduced_SRs field of the given DR_task.

Get the introduced_SRs field of the given DR_task. (Raise error on XMLRPC failure)

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

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

Get the uuid field of the given DR_task.

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

Link to this section Functions

Link to this function

create(xen_session, type, device_config, whitelist)

View Source

Create a disaster recovery task which will query the supplied list of devices

Link to this function

create!(xen_session, type, device_config, whitelist)

View Source

Create a disaster recovery task which will query the supplied list of devices (Raise error on XMLRPC failure)

Link to this function

destroy(xen_session, dr_task_ref)

View Source

Destroy the disaster recovery task, detaching and forgetting any SRs introduced which are no longer required

Link to this function

destroy!(xen_session, dr_task_ref)

View Source

Destroy the disaster recovery task, detaching and forgetting any SRs introduced which are no longer required (Raise error on XMLRPC failure)

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

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

Link to this function

get_all_records(xen_session)

View Source

Return a map of DR_task references to DR_task records for all DR_tasks known to the system.

Link to this function

get_all_records!(xen_session)

View Source

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

Link to this function

get_by_uuid(xen_session, uuid)

View Source

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

Link to this function

get_by_uuid!(xen_session, uuid)

View Source

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

Link to this function

get_introduced_SRs(xen_session, dr_task_ref)

View Source

Get the introduced_SRs field of the given DR_task.

Link to this function

get_introduced_SRs!(xen_session, dr_task_ref)

View Source

Get the introduced_SRs field of the given DR_task. (Raise error on XMLRPC failure)

Link to this function

get_record(xen_session, dr_task_ref)

View Source

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

Link to this function

get_record!(xen_session, dr_task_ref)

View Source

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

Link to this function

get_uuid(xen_session, dr_task_ref)

View Source

Get the uuid field of the given DR_task.

Link to this function

get_uuid!(xen_session, dr_task_ref)

View Source

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