csco-ucs
v1.0.16
Published
A NodeJS Wrapper for the Cisco UCS XML API
Downloads
24
Readme
A NodeJS Wrapper for the Cisco UCS XML API version 2.2
Usage
// Node v6 and above
let { UcsClient } = require('csco-ucs');
// Node v4/5
// var UcsClient = require('csco-ucs').UcsClient;
let client = new UcsClient('ip/hostname');
client.login('user', 'password').then(() => {
//Power On Server
client.powerServer({
dn: 'org-root', //Organization
name: 'ServiceProfile Name',
state: 'up | down'
}).then(result => result)
})