An open API service indexing awesome lists of open source software.

https://github.com/xenserver/xenserver-samples

Sample code for XenServer
https://github.com/xenserver/xenserver-samples

Last synced: 6 months ago
JSON representation

Sample code for XenServer

Awesome Lists containing this project

README

          

# XenServer SDK usage examples

This repository contains sample code for interacting with [XenServer](https://www.xenserver.com/)
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](https://docs.xenserver.com/en-us/xenserver/8/developer/sdk-guide).

## Available languages

There are examples for each of the five programming or scripting languages of
the Xenserver SDK:

- [C](c)
- [C#](csharp)
- [Java](java)
- [PowerShell](powershell)
- [Python](python)
- [Go](go)

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.

## Development tips

- An example of how to retrieve and use [XenServer Operational Metrics](misc/using_rrd.md)

## Contributions

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](https://github.com/xenserver/xenserver-samples/issues) page.

## License

This code is licensed under the BSD 2-Clause license. Please see the
[LICENSE](LICENSE) file for more information.