How openbmc/phosphor-net-ipmid works
Main Components
a) Core Service Components:
• IPMI Network Daemon (Main Service)
• Session Management System
• Message Handling System
• Command Processing System
• SOL (Serial Over LAN) Subsystem
• Event Loop Handler
b) Protocol Components:
• RMCP (Remote Management Control Protocol) Layer
• Authentication System
• Cryptography System
• Integrity Checking System
c) External Dependencies (shown from subprojects):
• D-Bus Interface
• Logging System
• Host IPMI Daemon
• CLI11 (Command Line Interface)
Component Relationships
Top Level (External Interface):
• Socket Channel Interface
• D-Bus Interface
Middle Level (Core Processing):
• Message Handler
• Session Manager
• Command Table
• SOL Manager
Bottom Level (Protocol Implementation):
• Authentication Algorithms
• Cryptography Algorithms
• Integrity Algorithms
• RMCP Protocol
Key Relationships to Highlight
• How the Socket Channel interfaces with the Message Handler
• Relationship between Session Manager and Authentication/Cryptography
• Command flow from Message Handler through Command Table to specific command implementations
• How SOL Manager interfaces with the console buffer and main service
Implementation Details
• SD Event Loop as the central event handling mechanism
• Command hierarchy (payload, session, SOL commands)
• RMCP protocol stack layers
• Security pipeline (auth_algo → crypt_algo → integrity_algo)