forked from openbmc/bmcweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt getMainChassisId to support multi-host
In order for getMainChassisId to support multi-host we have to pass it the index that is associated with the requested system, to find the corresponding chassis object. Unlike on single-host, we cannot constrain the GetSubTree call to the xyz.openbmc_project.Inventory.Item.Board interface for multi-host since we would end up adding the wrong uri to the response. This is why we only want to constrain it to the xyz.openbmc_project.Inventory.Item.Chassis interface. Testing: todo Change-Id: I1314da46fb2ecd13a5373a291d8a14f1f087c391 Signed-off-by: Oliver Brewka <[email protected]>
- Loading branch information
Oliver Brewka
committed
Nov 22, 2024
1 parent
690de55
commit b109c3d
Showing
2 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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