oxidecomputer / oxidecomputer/omicron
fm: inventory collection should include power shelf PSUs
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 572
- Forks
- 97
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 96
Description
When collecting inventory, we do not currently ask the power shelf controller about what PSUs are present in the system. We should do this.
This will need to include the FRU VPD identity (PMBus serial number, model number, etc) for the PSU, which we do not currently have a way to ask the SP for, so that will require Hubris work (https://github.com/oxidecomputer/hubris/issues/2212).
Once that's done, we will also need to actually ask the PSC for its inventory of PSUs and read the VPD details for the ones that are present. We'll need db tables to represent them in the inventory.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Hubris issue #2212 to understand the required SP VPD support, then trace the existing inventory collection path and power shelf controller interaction. The work is complete when PSU presence and FRU VPD details are collected from the PSC and represented in inventory database tables.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend, databases, embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100