mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
feat: enhance firmware update functionality and add BMC identification support
This commit is contained in:
parent
8bb8e4a49a
commit
9615f523f1
1 changed files with 2 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue