Logo Search packages:      
Sourcecode: fence-agents version File versions  Download package

Public Member Functions | Public Attributes | Private Member Functions | Private Attributes

XenAPI::Session Class Reference

List of all members.

Public Member Functions

def __getattr__
def __init__
def xenapi_request

Public Attributes

 last_login_method
 last_login_params

Private Member Functions

def _login

Private Attributes

 _session

Detailed Description

A server proxy and session manager for communicating with Xend using
the Xen-API.

Example:

session = Session('http://localhost:9363/')
session.login_with_password('me', 'mypassword')
session.xenapi.VM.start(vm_uuid)
session.xenapi.session.logout()

For now, this class also supports the legacy XML-RPC API, using
session.xend.domain('Domain-0') and similar.  This support will disappear
once there is a working Xen-API replacement for every call in the legacy
API.

Definition at line 101 of file XenAPI.py.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index