bmc-toolbox / bmclib

Library to abstract Baseboard Management Controller interaction
Apache License 2.0
194 stars 37 forks source link

providers/redfish/bios.go: SetBiosConfiguration(ctx, toSet) #344

Closed splaspood closed 7 months ago

splaspood commented 1 year ago

What does this PR implement/change/remove?

Alongside the existing methods to Read/Get the existing BIOS attributes this change implements Update/Set to change those attributes.

Checklist

Description for changelog/release notes

BIOS config attribute updating

codecov[bot] commented 1 year ago

Codecov Report

Attention: 66 lines in your changes are missing coverage. Please review.

Comparison is base (e23dfc5) 43.73% compared to head (6495779) 43.19%.

Files Patch % Lines
bmc/bios.go 0.00% 40 Missing :warning:
internal/redfishwrapper/bios.go 0.00% 17 Missing :warning:
client.go 0.00% 7 Missing :warning:
providers/redfish/redfish.go 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #344 +/- ## ========================================== - Coverage 43.73% 43.19% -0.54% ========================================== Files 60 60 Lines 5316 5382 +66 ========================================== Hits 2325 2325 - Misses 2771 2837 +66 Partials 220 220 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.