HLD Sonic-Redfish with D-Bus Bridge#2
Open
chinmoy-nexthop wants to merge 2 commits intosonic-net:masterfrom
Open
HLD Sonic-Redfish with D-Bus Bridge#2chinmoy-nexthop wants to merge 2 commits intosonic-net:masterfrom
chinmoy-nexthop wants to merge 2 commits intosonic-net:masterfrom
Conversation
|
/azp run |
|
No pipelines are associated with this pull request. |
The SONiC D-Bus Bridge High-Level Design (HLD) document describes a service that runs on the BMC (ASPEED) to expose SONiC switch inventory and state information via OpenBMC-compatible D-Bus interfaces, enabling bmcweb to serve Redfish APIs without requiring a full OpenBMC stack. Key Features: - Data Integration: Aggregates data from multiple sources (Redis CONFIG_DB/STATE_DB, FRU EEPROMs, platform.json) with defined precedence rules - D-Bus Export: Exposes chassis inventory, system information, and host state via standard OpenBMC D-Bus interfaces - Event-Driven Updates: Uses Redis keyspace notifications for real-time synchronization - Host Power Control: Translates Redfish power control requests to SONiC STATE_DB commands - Redfish API Support: Enables Rack Manager integration for firmware management, power control, alerts, event subscriptions, and telemetry data collection Signed-off-by: Chinmoy Dey <chinmoy@nexthop.ai>
50319eb to
62e0584
Compare
|
/azp run |
|
No pipelines are associated with this pull request. |
| - Reflect changes in DEVICE_METADATA and CHASSIS_STATE into D-Bus properties. | ||
| - Publish host power transition requests into STATE_DB for the host to consume. | ||
| - Expose Redfish APIs for firmware management, alerting, event subscription and telemetry. | ||
| - Support certificate installation for secure communication (TBD). |
There was a problem hiding this comment.
Certificate installation is a requirement. Implementation details can be hashed out but those APIs will be supported.
Author
There was a problem hiding this comment.
Certificate management is not within scope. Certificate creation, installation, and lifecycle management should be delegated to an automated certificate management service.
|
|
||
| ## 9. Restrictions / Limitations | ||
|
|
||
| - Only minimal inventory and host power control are implemented so far, ensors, fans, PSUs and logs are not yet exposed. |
| - Finalize STATE_DB schema documentation for host request publishing. | ||
| - Decide on CLI/ConfigDB knobs to enable/disable the bridge per platform. | ||
| - Extend the design to cover sensors, fans, PSUs and additional Redfish resources. | ||
| - **Test Integration with SONiC Management**: Create automated test suite covering unit tests (component-level), functional tests (D-Bus interface validation), and integration tests (end-to-end Redfish workflows). Leverage existing SONiC management test framework |
There was a problem hiding this comment.
We can create a separate document with sonic-redfish test plan
Author
There was a problem hiding this comment.
Sure @roger-nexthop, I will take care of this section in a separate document.
Signed-off-by: Chinmoy Dey <chinmoy@nexthop.ai>
|
/azp run |
|
No pipelines are associated with this pull request. |
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The SONiC D-Bus Bridge High-Level Design (HLD) document describes a service that runs on the BMC (ASPEED) to expose SONiC switch inventory and state information via OpenBMC-compatible D-Bus interfaces, enabling bmcweb to serve Redfish APIs without requiring a full OpenBMC stack.
Key Features: