xenapi3deprecated

XenAPI bindings in Node.js

Usage no npm install needed!

<script type="module">
  import xenapi3 from 'https://cdn.skypack.dev/xenapi3';
</script>

README

xenapi3

This module is add the missing api of xenapi2

Usage

var xenapi = require("xenapi3")({
    host: "xen-server",
    port: "80"
});

// Example get list of VM
xenapi.session.login("username", "password")
    .then(function () {
        xenapi.vmCollection.list().then(function (vms) {
            console.log(vms);
        });
    });