Skip to content

SONiC BMC Redfish API and D-Bus test plan#23346

Open
chinmoy-nexthop wants to merge 1 commit intosonic-net:masterfrom
nexthop-ai:redfish-test-plan
Open

SONiC BMC Redfish API and D-Bus test plan#23346
chinmoy-nexthop wants to merge 1 commit intosonic-net:masterfrom
nexthop-ai:redfish-test-plan

Conversation

@chinmoy-nexthop
Copy link

Description of PR

Adds test plan documentation for SONiC BMC Redfish API validation. Covers 29 test cases across authentication, service discovery, inventory management, system control, Rack Manager integration, D-Bus health, and graceful degradation.

Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

Provide comprehensive test coverage for sonic-redfish Redfish API endpoints on SONiC BMC platforms, validating end-to-end functionality from data sources (Redis, FRU EEPROM, platform.json) through D-Bus to REST API responses.

How did you do it?

Created test plan document with:

  • 29 test cases across 11 functional sections
  • Clear test IDs, priorities (P0/P1), endpoints, and validation steps
  • Endpoint mapping, D-Bus service validation, and infrastructure requirements
  • Graceful degradation and error handling scenarios

How did you verify/test it?

Verified test plan completeness:

  • All in-scope Redfish endpoints covered
  • Consistent priority assignments across tables
  • Alignment with SONiC BMC Redfish HLD and implementation

Any platform specific information?

  • Platform: SONiC BMC (Aspeed AST2720/AST2700)
  • Container: docker-redfish (bmcweb + sonic-dbus-bridge)
  • Device type: physical, asic_type: aspeed

Supported testbed topology if it's a new test case?

  • Topology: any with physical BMC device
  • Requirements: Management network, HTTPS port 443 access

Documentation

Yes, added docs/testplan/redfish/SONiC_BMC_Redfish_Test_Plan.md

Related HLDs:

Signed-off-by: Chinmoy Dey <chinmoy@nexthop.ai>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@github-actions github-actions bot requested review from mihirpat1, r12f and wangxin March 26, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants