xenapi3-fix
v3.3.5
Published
XenAPI bindings in Node.js
Downloads
22
Readme
xenapi3
This module is add the missing api of xenapi2
Usage
const xenapi = require("xenapi3-fix")({
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);
});
});
Document
xenAPI.host;
xenAPI.consoleCollection;
xenAPI.guestMetricsCollection;
xenAPI.metricsCollection;
xenAPI.networkCollection;
xenAPI.poolCollection;
xenAPI.srCollection;
xenAPI.taskCollection;
xenAPI.templateCollection;
xenAPI.vbdCollection;
xenAPI.vdiCollection;
xenAPI.vifCollection;
xenAPI.vlanCollection;
xenAPI.vmCollection;
More comming soon...
Donate
https://paypal.me/PhuminShop