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

Add ASRockRack provider #196

Merged
merged 42 commits into from
Mar 23, 2021
Merged

Add ASRockRack provider #196

merged 42 commits into from
Mar 23, 2021

Conversation

joelrebel
Copy link
Member

As of now it provides methods to update the BMC firmware for the ASRR AMI BMCs

@joelrebel joelrebel added enhancement New feature or request WIP Work in progress labels Feb 9, 2021
@joelrebel joelrebel changed the title [WIP] Add ASRockRack provider Add ASRockRack provider Feb 11, 2021
@joelrebel joelrebel removed the WIP Work in progress label Feb 11, 2021
bmc/firmware.go Outdated Show resolved Hide resolved
bmc/firmware.go Outdated Show resolved Hide resolved
bmc/firmware.go Outdated Show resolved Hide resolved
devices/interfaces.go Outdated Show resolved Hide resolved
examples/main.go Outdated Show resolved Hide resolved
examples/main.go Outdated Show resolved Hide resolved
providers/asrockrack/asrockrack.go Outdated Show resolved Hide resolved
@joelrebel
Copy link
Member Author

@jacobweinstock I think we're ready with this one

providers/asrockrack/helpers.go Outdated Show resolved Hide resolved
providers/asrockrack/mock.go Outdated Show resolved Hide resolved
client.go Show resolved Hide resolved
examples/v2/main.go Outdated Show resolved Hide resolved
examples/v2/main.go Outdated Show resolved Hide resolved
providers/asrockrack/asrockrack_test.go Outdated Show resolved Hide resolved
providers/ipmitool/ipmitool.go Outdated Show resolved Hide resolved
providers/ipmitool/ipmitool_test.go Outdated Show resolved Hide resolved
providers/asrockrack/helpers.go Outdated Show resolved Hide resolved
devices/constants.go Outdated Show resolved Hide resolved
devices/interfaces.go Outdated Show resolved Hide resolved
examples/v1/main.go Show resolved Hide resolved
providers/asrockrack/asrockrack.go Outdated Show resolved Hide resolved
providers/asrockrack/asrockrack.go Show resolved Hide resolved
providers/hp/ilo/ilo.go Outdated Show resolved Hide resolved
- Fix up bmclib v2 interface implementation
- Firmware update method fixes
- Firmware update test fixes
non-even logr k/v fields results in empty logging lines with just the
prefix 'INFO' being logged, here we ensure all values are in pairs.
requests after a firmware flash, since the BMC is resetting at that
point
This enables the existing codebase to be implemented by both the current
and newer interfaces.

the current interface (bmclib v0)
https://github.com/bmc-toolbox/bmclib/blob/c1fed9df833628df57796245d085c97187f06f9a/devices/interfaces.go

the newer interface (bmclib v2)
https://github.com/bmc-toolbox/bmclib/blob/c1fed9df833628df57796245d085c97187f06f9a/bmc/connection.go#L17
Copy link
Member

@jacobweinstock jacobweinstock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments but approved regardless. I'm assuming you want to merge #208 before this one?

providers/asrockrack/asrockrack.go Outdated Show resolved Hide resolved
providers/asrockrack/asrockrack.go Outdated Show resolved Hide resolved
providers/asrockrack/asrockrack.go Outdated Show resolved Hide resolved
providers/asrockrack/asrockrack.go Outdated Show resolved Hide resolved
providers/asrockrack/asrockrack.go Outdated Show resolved Hide resolved
@joelrebel
Copy link
Member Author

Left some comments but approved regardless. I'm assuming you want to merge #208 before this one?

I'll merge this in first and #208 after

@joelrebel joelrebel merged commit 847a2a4 into master Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants