-
Notifications
You must be signed in to change notification settings - Fork 1
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
FS-1671; X13 Support #9
base: main
Are you sure you want to change the base?
Conversation
5bc35b2
to
1166a4d
Compare
1166a4d
to
9ab35be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, tested in dry-run on my side
Please add a better title to the PR 🤣 |
@@ -182,8 +182,7 @@ func (c *Client) Open(ctx context.Context) (err error) { | |||
return err | |||
} | |||
|
|||
if !bytes.Contains(body, []byte(`url_redirect.cgi?url_name=mainmenu`)) && | |||
!bytes.Contains(body, []byte(`url_redirect.cgi?url_name=topmenu`)) { | |||
if !bytes.Contains(body, []byte(`url_redirect.cgi?url_name=topmenu`)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why make this change?
} | ||
} | ||
|
||
func stateFinalized(s redfish.TaskState) bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I low-key hate using a slice instead of a map here, but I don't hate it enough to demand a change.
return "", err | ||
} | ||
|
||
// X13s dont create a new task id when going from upload to install, so we pass through the same one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a redfish version thing? Or a model thing?
Is this work compatible with bmc-toolbox#394 ? |
What does this PR implement/change/remove?
Support for X13 inventory and X13 BIOS/BMC Firmware update
New example for firmware upload and firmware install uploaded