seveas / python-hpilo

Accessing the HP iLO XML interface from python
https://seveas.github.io/python-hpilo
Other
321 stars 102 forks source link

Support HPE fwpkg firmware packaging #236

Closed ExaneServerTeam closed 3 years ago

ExaneServerTeam commented 4 years ago

iLO5 are now delivered through this format on HPE support site. This a simple Zip file containing the .bin file and few extra files.

This simple patch extract the .bin in the Zip.

Sample content of a fwpkg file:

Archive: ilo5_218.fwpkg inflating: ilo5_218.bin inflating: ilo5_218.xml inflating: payload.json inflating: readme.txt

ExaneServerTeam commented 3 years ago

@seveas Hello any thought on this pull request ?

seveas commented 3 years ago

None yet, haven't had a chance to look at it. Is it safe to assume you're already using this in your environment?

seveas commented 3 years ago

Oh, those changes are much simpler than I expected. If you're already successfully using thus, I'll merge it.

ExaneServerTeam commented 3 years ago

Hello, I confirm it is in use on my side. You also have https://github.com/seveas/python-hpilo/pull/237 linked to this one. It gets the latest Ilo5 available with python-hpilo.

seveas commented 3 years ago

Thanks!