Skip to content

datdenkikniet/ipmi-rs

Repository files navigation

ipmi-rs

A Rust IPMI library.

Examples

get-info

Configure the log level of this example with RUST_LOG. info is recommended.

This example usually has to be run as root.

This example will, using the /dev/ipmi0 file:

  1. Get SEL info
  2. (If supported) get SEL allocation information
  3. (If present) get the first SEL record
  4. Get the Device ID
  5. Get SDR info
  6. Get SDR repository info
  7. (If supported) get SDR allocation information
  8. Load all of the SDRs from the repository
  9. Attempt to read the value of all of the sensors from the SDR repository

Features

  • SEL info
  • SDR repository info
  • Get SDR repository entries
  • Read sensor data from sensors obtained from SDR repository
  • FRU information lookup
  • ioctl-based IPMI device file interface support
    • Supports bridging IPMI requests to other IPMBs.
  • RMCP Supported auth types:
    • Unauthenticated
    • MD5
    • MD2
    • Key
  • RMCP+

License

All source code (including code snippets) is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

This project aims to conform to Conventional Commits. If you make contributions, please be so kind to stick to that format :)

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages