Skip to content

Sample that show to to access the XenServer RPC API with NodeJS

Notifications You must be signed in to change notification settings

johnmcbride/Node-XenServer-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Access XenServer API with NodeJS and RPC

Overview

This is a node sample that shows how to access the XenServer API over RPC.

We show how to make the initial calls via a RPC npm package and then parse the XML.

Getting Started

  • Clone this repo (git clone https://github.com/johnmcbride/Node-XenServer-API.git)
  • Change into the directory where the project was cloned to.
  • Execute "yarn" to install the dependencies
    • if you are using npm you should run the following command npm install
  • Update the package.json file with you XenServer address, username and password.
  • run node index.js

NPM packages

xmlrpc-lite

fast-xml-parser

xpath

xmldom

About

Sample that show to to access the XenServer RPC API with NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published