Giter Club home page Giter Club logo

node-ffi-ipmi's Introduction

node-ffi-ipmi

wrapping various ipmi related tools and libs for node via node-ffi @ https://github.com/rbranson/node-ffi.git

First, clone https://github.com/speedops/ipmitool.git and configure and make it.

Then, make the ipmi stuff here to do ipmitool stuff in node.js

why

i looked at different ways of interfacing ipmitool from node.js. The options i played with are:

what

  • wanted to avoid shelling out to call ipmitool CLI commands
  • want to avoid having to connect for every command; want to run multiple commands per established channel
  • want a simple way to call -- without having to hack inside ipmitool too much and figure out which sequence of calls to make -- ipmitool does not seem to be designed to be used as a library
  • do not want fork/exec or shelling out per command
  • do not want hundreds of boilerplate wrappers for each command combo
  • make it fast and be async compatible
  • if you understand ipmitool command or/and if the ipmitool command works for you this wrapper should work for you as well without having to figure out which C functions to call in which order
  • it does not prevent you from cooking up more javascripty / nicer API (see ipmi.c and ipmi.js for alternative API that are less stringy).

example

Look at ipmi.js

node-ffi-ipmi's People

Stargazers

Bruno Dias Leite avatar Hancel Lin avatar Onofre Souza avatar Nik Garkusha avatar Nikita Bulaev avatar  avatar

Watchers

Jared Hanson avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.