http://community.citrix.com/display/xs/Download+SDKs

Download SDKs

Overview

XenServer includes a XML-RPC based API, providing programmatic access to the extensive set of XenServer management features and tools. The XenServer API can be called from a remote system as well as local to the XenServer host. Remote calls are generally made securely over HTTPS, using port 443.

There are five SDKs available, one for each of C, C#, Java, PowerShell, and Python. These are provided under an open-source license (LGPL or GPL with the common linking exception). This allows use (unmodified) in both closed-and open-source applications.

There are also several example code samples also provided for download. Some of the code samples demonstrate creating a VM, running VM power operations, and watching for events.

The XenServer 5.0 SDKs are suitable not just for 5.0, but for use with XenServer 4.0 and 4.1 servers too, making it possible to address multiple XenServer versions with a single binary. There are, of course, features missing on the older versions, and client programs are expected to check host.software_version["product_version"] to gracefully fall back when appropriate.

XenServer 5.0


  XenServer.NET: The XenServer SDK for C#.NET
       Download XenServer.NET binaries
       Download XenServer.NET samples
       Download XenServer.NET source

  XenServerJava: The XenServer SDK for Java
       Download XenServerJava binaries
       Download XenServerJava samples
       Download XenServerJava source

  libxenserver: The XenServer SDK for C
       Download libxenserver binaries
       Download libxenserver samples and source

  XenServerPSSnapIn: The XenServer SDK for PowerShell
       Download XS-PS Windows installer
       Download XS-PS source

  XenAPI.py: The XenServer Python module
       Download XenAPI.py
       Browse XenServer API examples using Python

  API Reference
       PDF
       Javadoc (zip)


XenServer SDK VM


We also publish an appliance-style virtual machine, ready to be imported into a XenServer host. This contains the SDKs above, plus a complete Linux-based development environment.

Download SDK VM: Version 5.0.0 Update 3. Around 300 MB.


Further Resources


XenServer SDK Forum

Browse and Share Scripts and Samples on the CDN Script Exchange



Older Releases


Note that the XenServer 5.0 SDKs are also suitable for use with XenServer 4.0 and 4.1 servers. These older releases are here for historical purposes only.

  XenServer 4.1
       API Reference
       Download .NET Xen Server API Client Examples
       Java bindings and examples (javadoc)

  XenServer 4.0
       API Reference
       Download .NET Xen Server API Client Examples


Reply via email to