feat: enhance firmware update functionality and add BMC identification support

This commit is contained in:
Alex Lovell-Troy 2025-02-06 17:25:56 -05:00 committed by David J. Allen
parent 8bb8e4a49a
commit 9615f523f1
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -1,20 +1,14 @@
package magellan
import (
<<<<<<< HEAD
"fmt"
"net/url"
"github.com/stmcginnis/gofish"
"github.com/stmcginnis/gofish/redfish"
=======
"encoding/json"
"fmt"
"net/http"
"net/url"
"github.com/OpenCHAMI/magellan/pkg/client"
>>>>>>> 81116ec (refactor: moved internal functions to pkg and updated refs)
"github.com/stmcginnis/gofish"
"github.com/stmcginnis/gofish/redfish"
)
type UpdateParams struct {
@ -23,10 +17,7 @@ type UpdateParams struct {
FirmwareVersion string
Component string
TransferProtocol string
<<<<<<< HEAD
Insecure bool
=======
>>>>>>> 81116ec (refactor: moved internal functions to pkg and updated refs)
}
// UpdateFirmwareRemote() uses 'gofish' to update the firmware of a BMC node.