Python library for XenAPI (XAPI) WWW: http://community.citrix.com/display/xs/Introduction+to+XenServer+XAPI