#
0674a6d7 |
| 12-Jan-2021 |
William A. Kennington III <wak@google.com> |
version-handler: Produce errors for unavailable data We want to make it clear to the reader that the data is actually unavailable vs reading outside the bounds of the data space.
version-handler: Produce errors for unavailable data We want to make it clear to the reader that the data is actually unavailable vs reading outside the bounds of the data space. Change-Id: Ifb63dfe600c268af9e7df24397c28e20316dbb8f Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
9936c456 |
| 24-Dec-2020 |
William A. Kennington III <wak@google.com> |
version_handler: Support multiple sessions We want to be able to support multiple concurrent readers of version information. Otherwise, upstream version checks might fail if they end
version_handler: Support multiple sessions We want to be able to support multiple concurrent readers of version information. Otherwise, upstream version checks might fail if they end up being sequenced concurrently. Change-Id: I5420ad667622b7906e633562a5373e0be042c0c1 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
12e6e756 |
| 23-Dec-2020 |
William A. Kennington III <wak@google.com> |
version_handler: Read doesn't need to catch missing sessions The read() interface from phosphor-ipmi-blobs will never call read with an invalid session, so we don't need to catch the exc
version_handler: Read doesn't need to catch missing sessions The read() interface from phosphor-ipmi-blobs will never call read with an invalid session, so we don't need to catch the exception if the session doesn't exist. Change-Id: I2ccb351b85d18a6eb96d4f92cfb3167a95f0509e Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
abf17354 |
| 22-Dec-2020 |
William A. Kennington III <wak@google.com> |
version-handler: Refactor handler construction Instead of requiring callers to build maps and info blobs, take the minimal required amount of information about the blob configuration and
version-handler: Refactor handler construction Instead of requiring callers to build maps and info blobs, take the minimal required amount of information about the blob configuration and build required datastructures internally. This reduces the amount of code, and nearly eliminates all of the untested code in main.cpp. Change-Id: Iaa398eb404814e9263e6707b71b38a9831d96697 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
c78bfc82 |
| 05-Nov-2020 |
Jason Ling <jasonling@google.com> |
version-handler: add version-handler, blob handler Implement version-handler: a blob handler for retrieving version information about a blob. Problem: ipmi-flash(firmware-handle
version-handler: add version-handler, blob handler Implement version-handler: a blob handler for retrieving version information about a blob. Problem: ipmi-flash(firmware-handler) provides a mechanism to transfer firmware updates, verify them and perform updates but there is no mechanism to interrogate the firmware for its version. Solution: version-handler provides handlers for retrieving information about firmware blobs. Adding "version" syntax to "/flash/blob" entries in the json configuration file enables this feature. The mechanism to retrieve version is identical to the mechanism used by firmware-handler to perform preparation, verification and updates (kick off systemd targets). Signed-off-by: Jason Ling <jasonling@google.com> Change-Id: I28868ca8dd76d63af668d2e46b9359401d45f0bc
show more ...
|