Crate ipmi

Crate ipmi 

Source
Expand description

A production-oriented IPMI v2.0 RMCP+ client library (async-first + optional blocking).

The crate implements:

  • RMCP+ Open Session handshake
  • RAKP 1-4 key exchange
  • Integrity (HMAC-SHA1-96)
  • Confidentiality (AES-CBC-128)

By default (feature async) it exposes Client / ClientBuilder (tokio-based async). With feature blocking it also exposes BlockingClient / BlockingClientBuilder.

Protocol and transport details are kept internal.

Modules§

commands
Typed IPMI commands and helpers.
tokio
Backwards-compatible module-style exports for the tokio client.

Structs§

ChannelAuthCapabilities
Parsed response for Get Channel Authentication Capabilities.
ChassisStatus
Parsed response for the Get Chassis Status command.
Client
Tokio-based asynchronous client API.
ClientBuilder
Tokio-based asynchronous client API.
DeviceId
Parsed response for the Get Device ID command.
FrontPanelControls
Optional front panel controls (byte 4) from Get Chassis Status.
LastPowerEvent
Last power event flags reported by Get Chassis Status.
RawResponse
A raw IPMI response.
SelfTestDeviceError
Detailed device error flags from self-test result code 0x57.
SystemGuid
Raw system GUID bytes as returned by Get System GUID.

Enums§

ChassisControl
Chassis control operations.
Error
Errors returned by this crate.
PowerRestorePolicy
Power restore policy reported by Get Chassis Status.
PrivilegeLevel
The privilege level requested for the IPMI session.
SelfTestResult
Parsed response for the Get Self Test Results command.

Type Aliases§

Result
Result type used across this crate.