This repository contains sample code for interacting with XenServer using the XenServer SDK. The examples are provided as complete applications or scripts which you can run on your server.
Apart from the ready-to-run code, this repository contains also a number of tips or walk-throughs that you may find useful when developing products for XenServer.
The content of this repository can be used as a companion to the XenServer SDK Guide.
There are examples for each of the five programming or scripting languages of the Xenserver SDK:
The examples are not the same across all the languages, so if you intend to use one language, it is advisable to browse the sample code available in the others as well.
- An example of how to retrieve and use XenServer Operational Metrics
The preferable way to contribute patches is to fork the repository on Github and then submit a pull request. Questions related to these samples can be posted on the repo's issues page.
This code is licensed under the BSD 2-Clause license. Please see the LICENSE file for more information.