Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a bmc resource #545

Open
purpleidea opened this issue Sep 22, 2019 · 5 comments
Open

Create a bmc resource #545

purpleidea opened this issue Sep 22, 2019 · 5 comments

Comments

@purpleidea
Copy link
Owner

Might be nice to have a bmc resource. It might be useful to wrap bmclib to deal with all the proprietary BMC's out there. Not sure if it has event streams though. I opened an issue here:

bmc-toolbox/bmclib#114

Alternatively or in parallel, it might be nice to wrap openbmc (they seem to have a stream api: https://github.com/openbmc/docs/blob/master/rest-api.md#event-subscription-protocol ) and/or one of the redfish libs.

I didn't look into these, but they came up in googling:
https://github.com/stmcginnis/gofish ??
https://github.com/sailfishdell/sailfish ??

  1. If anyone would like to work on any of this, have at it, although it would be best if we did some research first to ensure we had an event stream to use.
  2. It would be nice to have a way to test this. I don't have much hardware available, so interested vendors are welcome to contact me with donations, and it would also be nice to have a virtual "mock" device available for integration testing.

Happy Hacking!

@ffrank
Copy link
Contributor

ffrank commented Mar 18, 2024

Some shallow research suggests that neither Dell nor HPE provide a virtual service processor for testing purposes.

@purpleidea
Copy link
Owner Author

I'm sure there's a way! That's the fun of this =D -- At least I'd personally think it's fun.

I'd look into libvirt and ipmi and bridges that do those perhaps. OpenBMC might give some results. Ask on the internet about mock solutions.

Failing all of that, find out what the most inexpensive hardware that does the things we're interested in, and find out how much it would cost. Maybe I can get it sponsored.

@purpleidea
Copy link
Owner Author

Shallow research but:

First, you need to select which data source you'd like to compile for. Currently "openbmc" is the only implemented (real) data source, but "simulation" is under development and works. Add the tag for the backend you want to the build, example below shows 'openbmc' build.

From the link above. Stale but might work.

https://github.com/stmcginnis/gofish Looks promising too.

@spod
Copy link

spod commented Apr 26, 2024

I doubt any of these can be used as is, but they may be helpful for whoever has cycles to grab this.

@purpleidea
Copy link
Owner Author

@spod If you're feeling motivated, we'd love to have patches =D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants