xenapi3-fix

3.3.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i xenapi3-fix

Weekly Downloads

31

Version

3.3.5

License

MIT

Unpacked Size

158 kB

Total Files

41

Last publish

Collaborators

  • phoomin2012