audk/RedfishPkg/Library
Mike Maslenkin 7b9f2018d1 RedfishPkg: PlatformHostInterfaceBmcUsbNicLib: use credential protocol
This patch replaces call of IpmiSubmitCommand() issued
REDFISH_IPMI_BOOTSTRAP_CREDENTIAL_ENABLE IPMI command to check
whether bootstrap credential support enabled or not.
The problem is that in accordance with IPMI spec while handling
such command BMC creates bootstrap account. The credentials of this account
is returned as a response. Obviously in this code the response is not used.
From the other side there is an implementation
of EDKII_REDFISH_CREDENTIAL_PROTOCOL exists and used by
RedfishPlatformCredentialIpmiLib.

By design RedfishPlatformCredentialIpmiLib keeps returned bootstrap
credentials and uses it later. So all services using
EDKII_REDFISH_CREDENTIAL_PROTOCOL instance operates with a same
credentials.
Current design of PlatformHostInterfaceBmcUsbNicLib leads to creation
of two bootstrap accounts on BMC side. This is on nesseccary and one
account is not used at all.

Using EDKII_REDFISH_CREDENTIAL_PROTOCOL prevents from creating useless
bootstrap account on BMC side.

Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
2024-09-05 03:40:45 +00:00
..
BaseUcs2Utf8Lib RedfishPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeRestExLib RedfishPkg: Create RestEx child on selected interface 2023-05-08 13:12:01 +00:00
HiiUtilityLib RedfishPkg: add explicit variable initialization 2023-11-30 07:10:34 +00:00
JsonLib RedfishPkg/JsonLib: Add JSON delete object function 2024-01-16 09:13:03 +00:00
PlatformCredentialLibNull RedfishPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PlatformHostInterfaceBmcUsbNicLib RedfishPkg: PlatformHostInterfaceBmcUsbNicLib: use credential protocol 2024-09-05 03:40:45 +00:00
PlatformHostInterfaceLibNull RedfishPkg/RedfishHostInterface: Platform Redfish HI notification 2022-12-20 06:54:06 +00:00
RedfishContentCodingLibNull RedfishPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RedfishDebugLib RedfishPkg/RedfishDebugLib: Introduce Redfish DEBUG macro 2024-04-04 14:24:31 +00:00
RedfishHttpLib RedfishPkg: introduce RedfishHttpLib 2024-02-29 03:25:18 +00:00
RedfishPlatformConfigLib RedfishPkg: Rename x-uefi-redfish to x-UEFI-redfish 2024-05-04 04:03:13 +00:00
RedfishPlatformCredentialIpmiLib RedfishPkg: fix RedfishPlatformCredentialLib library class name typo. 2023-12-27 00:09:49 +00:00