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

Asrockrack firmware support #378

Merged
merged 6 commits into from
Dec 5, 2023
Merged

Asrockrack firmware support #378

merged 6 commits into from
Dec 5, 2023

Conversation

joelrebel
Copy link
Member

What does this PR implement/change/remove?

Reworks the Asrockrack provider to to use the newer bmclib client firmware interfaces
along with a few fixes for inventory collection and firmware install status lookup.

tested on E3C256D4ID-NL, E3C246D4I-NL

Checklist

  • Tests added
  • Similar commits squashed

The HW vendor this change applies to (if applicable)

Asrockrack

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

  • E3C256D4ID-NL
  • E3C246D4ID-NL
  • E3C246D4I-NL

This is replaced by the firmware install step, and subsequently will be
moved into a type FirmwareInstallProperties{} which will replace
FirmwareInstallSteps
- Fix up inventory collection on E3C256D4ID-NL
ofaurax
ofaurax previously approved these changes Dec 4, 2023
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

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

Comparison is base (3688b8c) 44.04% compared to head (8340289) 43.42%.

Files Patch % Lines
providers/asrockrack/firmware.go 9.18% 88 Missing and 1 partial ⚠️
providers/asrockrack/power.go 0.00% 18 Missing ⚠️
providers/asrockrack/asrockrack.go 45.45% 10 Missing and 2 partials ⚠️
providers/asrockrack/helpers.go 69.23% 3 Missing and 1 partial ⚠️
providers/asrockrack/inventory.go 62.50% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #378      +/-   ##
==========================================
- Coverage   44.04%   43.42%   -0.63%     
==========================================
  Files          59       59              
  Lines        5058     5138      +80     
==========================================
+ Hits         2228     2231       +3     
- Misses       2608     2690      +82     
+ Partials      222      217       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joelrebel joelrebel merged commit 764ac9e into main Dec 5, 2023
5 of 7 checks passed
@joelrebel joelrebel deleted the asrr branch December 5, 2023 08:36
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.

3 participants