metal-stack / go-hal

server hardware abstraction, tries to lower the burden of supporting different server vendors
GNU Affero General Public License v3.0
12 stars 3 forks source link

Tests #51

Open majst01 opened 2 years ago

majst01 commented 2 years ago

Use ipmi_sim which is part of the openipmi package as virtual ipmi device to be able to write integration tests against.

majst01 commented 2 years ago

We should probably also switch to use the go-ipmi fork of our friends from talos/siderolabs, they already use ipmi_sim in their tests: https://github.com/siderolabs/goipmi/blob/master/tool_test.go#L195

majst01 commented 4 months ago

Or the sushi-tools from openstack to build a redfish backend for tests https://github.com/openstack/sushy-tools