Skip to content

bigbo/ipmitool-1

 
 

Repository files navigation

ipmitool

goals

  • make it useful as a library
  • make one interface connect session and allow multiple commands to run rather than doing ipmitool command at CLI which will make connect for every such command
  • allow arbitrary commands to be run from lib API with easy argv[] api

reasons

  • ipmitool seems hard coded to be CLI tool
  • internal implementation assumes being a CLI tool and does not allow proper usage as a library
  • the sequence of calls to properly run a command and thus proper profile of function calls is not clearly defined

ugly

So this is a gross hack to allow controlling this software from external program (written in other languages) via FFI.

todo

  • be less hacky
  • make ipmitool internals to work without the big global ipmi_intf instance -- to allow multiple instances at a time.

Releases

No releases published

Packages

No packages published

Languages

  • C 85.3%
  • Shell 13.3%
  • C++ 1.4%