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

Supermicro X13 inventory/firmware support FS-1671 #394

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

splaspood
Copy link
Collaborator

What does this PR implement/change/remove?

Support for hw inventory and firmware management for Supermicro X13 boards.

The HW vendor this change applies to (if applicable)

Supermicro

The HW model number, product name this change applies to (if applicable)

X13

Description for changelog/release notes

Supermicro X13 inventory/firmware support FS-1671

@@ -300,6 +320,11 @@ func (c *Client) bmcQueryor(ctx context.Context) (bmcQueryor, error) {
return nil, errors.Wrap(ErrModelUnknown, err.Error())
}

// ensure the device model matches the expected queryor
if !expected(deviceModel, bmc) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include a bmc.Close() before the continue here to ensure we don't leave a successful connection open

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