From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.14900.1658885886439480085 for ; Tue, 26 Jul 2022 18:38:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=YQdToD46; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0207a15765=nickle.wang@hpe.com) Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26R126lS011149 for ; Wed, 27 Jul 2022 01:38:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding; s=pps0720; bh=W5bZuB/HOsfegx4ARCCYsSmxRym5q/0LKgohFpnoY8E=; b=YQdToD46KDn5sKsYB28OWV9khJ2C4kh0W06eFiyTUSskflAb2PNqPNmoVesag9q0Zo4A fGNK6fSmjyHrnNb0HAcvMHki7Uj3yFqDqghOqcEO2vgaS07vKRx9ODW7ESAgKunyrs0Q +kwnE7w8Lz0dUDFGP+PFM49uCKtvbkqf2VQWeTsWCNY4S+Cv2llznawMXv/sj9r/qaAI mhEkTPh9lGHrP12ZzQ/89N88mwxexjfsjscYXRsKK/vJRd3PRjBW3Hn2GoQj6kIW4FHI 7jkOB1WH8wW34PkytzAM5+7UJSHG85RTa13xEN3OvTIcUn22vkUYlTxmwijHSaLnARoE Eg== Received: from p1lg14878.it.hpe.com (p1lg14878.it.hpe.com [16.230.97.204]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3hjmwu2wv2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Jul 2022 01:38:05 +0000 Received: from p1lg14885.dc01.its.hpecorp.net (unknown [10.119.18.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by p1lg14878.it.hpe.com (Postfix) with ESMTPS id 4FFD8D2C2 for ; Wed, 27 Jul 2022 01:38:04 +0000 (UTC) Received: from WAFM3XJD5N.asiapacific.hpqcorp.net (unknown [16.231.227.36]) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTP id B6FBA804D07 for ; Wed, 27 Jul 2022 01:38:03 +0000 (UTC) From: "Nickle Wang" To: devel@edk2.groups.io Subject: [edk2-staging][PATCH v3 00/15] Update RedfishClientpkg Date: Wed, 27 Jul 2022 09:37:47 +0800 Message-Id: <20220727013802.247-1-nickle.wang@hpe.com> X-Mailer: git-send-email 2.32.0.windows.2 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: n-MAs6dT2BmMM-SYg2sU3Reqh13GizBt X-Proofpoint-GUID: n-MAs6dT2BmMM-SYg2sU3Reqh13GizBt X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-26_07,2022-07-26_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 adultscore=0 impostorscore=0 spamscore=0 priorityscore=1501 phishscore=0 mlxlogscore=836 malwarescore=0 suspectscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207270002 Content-Transfer-Encoding: 8bit In this series of patch files, additional three feature drivers are enabled. Corresponding libraries and protocols are introduced to help performing Redfish operation like provisioning, consuming and updating Redfish resource between UEFI HII driver and Redfish service hosted at BMC side. Nickle Wang (15): edk2-staging/RedfishClientPkg: Introduce Redfish event library edk2-staging/RedfishClientPkg: Introduce Redfish version library edk2-staging/RedfishClientPkg: Update Redfish Resource Config Protocol edk2-staging/RedfishClientPkg: Introduce Redfish resource config library edk2-staging/RedfishClientPkg: Introduce resource identify library edk2-staging/RedfishClientPkg: Introduce RedfishConfigLangMap driver edk2-staging/RedfishClientPkg: Update ETag driver edk2-staging/RedfishClientPkg: Update Redfish feature core driver edk2-staging/RedfishClientPkg: Update RedfishLib edk2-staging/RedfishClientPkg: Update Redfish feature utility library edk2-staging/RedfishClientPkg: Rename RedfishMemoryCollection driver edk2-staging/RedfishClientPkg: Rename Memory feature driver edk2-staging/RedfishClientPkg: Introduce Computer System collection driver edk2-staging/RedfishClientPkg: Introduce Computer System feature driver edk2-staging/RedfishClientPkg: Introduce Bios feature driver .../Features/Bios/v1_0_9/Common/BiosCommon.c | 741 ++++ .../Features/Bios/v1_0_9/Common/BiosCommon.h | 30 + .../Features/Bios/v1_0_9/Dxe/BiosDxe.c | 789 ++++ .../Features/Bios/v1_0_9/Dxe/BiosDxe.inf | 52 + .../v1_5_0/Common/ComputerSystemCommon.c | 1614 ++++++++ .../v1_5_0/Common/ComputerSystemCommon.h | 27 + .../v1_5_0/Dxe/ComputerSystemDxe.c | 645 +++ .../v1_5_0/Dxe/ComputerSystemDxe.inf | 51 + .../ComputerSystemCollectionDxe.c | 667 +++ .../ComputerSystemCollectionDxe.h | 21 + .../ComputerSystemCollectionDxe.inf | 56 + .../{RedfishMemoryCommon.c => MemoryCommon.c} | 1194 +++--- .../{RedfishMemoryCommon.h => MemoryCommon.h} | 2 +- .../Dxe/{RedfishMemoryDxe.c => MemoryDxe.c} | 138 +- .../{RedfishMemoryDxe.inf => MemoryDxe.inf} | 21 +- .../MemoryCollectionDxe.c} | 259 +- .../MemoryCollectionDxe.h} | 7 +- .../MemoryCollectionDxe.inf} | 19 +- .../Include/Guid/RedfishClientEventGroup.h | 27 + .../Library/EdkIIRedfishResourceConfigLib.h | 163 + .../Include/Library/RedfishEventLib.h | 77 + .../Library/RedfishFeatureUtilityLib.h | 756 +++- .../Library/RedfishResourceIdentifyLib.h | 29 + .../Include/Library/RedfishVersionLib.h | 30 + .../EdkIIRedfishConfigLangMapProtocol.h | 88 + .../Include/Protocol/EdkIIRedfishFeature.h | 20 +- .../Protocol/EdkIIRedfishInterchangeData.h | 52 + .../EdkIIRedfishResourceConfigProtocol.h | 29 +- RedfishClientPkg/Include/RedfishBase.h | 21 + .../Include/RedfishCollectionCommon.h | 14 +- .../RedfishJsonStructure/RedfishCsCommon.h | 14 + .../Include/RedfishResourceCommon.h | 38 +- .../EdkIIRedfishResourceConfigLib.c | 593 +++ .../EdkIIRedfishResourceConfigLib.inf | 49 + .../Library/RedfishEventLib/RedfishEventLib.c | 139 + .../RedfishEventLib/RedfishEventLib.inf | 42 + .../RedfishFeatureUtilityInternal.h | 19 +- .../RedfishFeatureUtilityLib.c | 3662 +++++++++++++---- .../RedfishFeatureUtilityLib.inf | 20 +- .../RedfishResourceIdentifyLibComuterSystem.c | 164 + ...edfishResourceIdentifyLibComuterSystem.inf | 39 + .../RedfishResourceIdentifyLibNull.c | 37 + .../RedfishResourceIdentifyLibNull.inf | 32 + .../RedfishVersionLib/RedfishVersionLib.c | 203 + .../RedfishVersionLib/RedfishVersionLib.inf | 50 + .../PrivateLibrary/RedfishLib/RedfishLib.c | 12 +- .../edk2libredfish/include/redfishPayload.h | 5 +- .../edk2libredfish/include/redfishService.h | 5 +- .../RedfishLib/edk2libredfish/src/payload.c | 90 +- .../RedfishLib/edk2libredfish/src/service.c | 554 ++- RedfishClientPkg/RedfishClient.fdf.inc | 13 +- .../RedfishClientComponents.dsc.inc | 16 +- RedfishClientPkg/RedfishClientLibs.dsc.inc | 13 +- RedfishClientPkg/RedfishClientPkg.dec | 19 +- .../RedfishConfigLangMapDxe.c | 810 ++++ .../RedfishConfigLangMapDxe.h | 71 + .../RedfishConfigLangMapDxe.inf | 46 + .../RedfishETagDxe/RedfishETagDxe.c | 10 +- .../RedfishETagDxe/RedfishETagDxe.h | 4 +- .../RedfishFeatureCoreDxe.c | 290 +- .../RedfishFeatureCoreDxe.h | 20 +- .../RedfishFeatureCoreDxe.inf | 5 +- 62 files changed, 12942 insertions(+), 1781 deletions(-) create mode 100644 RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c create mode 100644 RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.h create mode 100644 RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c create mode 100644 RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.inf create mode 100644 RedfishClientPkg/Features/ComputerSystem/v1_5_0/Common/ComputerSystemCommon.c create mode 100644 RedfishClientPkg/Features/ComputerSystem/v1_5_0/Common/ComputerSystemCommon.h create mode 100644 RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDxe.c create mode 100644 RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDxe.inf create mode 100644 RedfishClientPkg/Features/ComputerSystemCollectionDxe/ComputerSystemCollectionDxe.c create mode 100644 RedfishClientPkg/Features/ComputerSystemCollectionDxe/ComputerSystemCollectionDxe.h create mode 100644 RedfishClientPkg/Features/ComputerSystemCollectionDxe/ComputerSystemCollectionDxe.inf rename RedfishClientPkg/Features/Memory/V1_7_1/Common/{RedfishMemoryCommon.c => MemoryCommon.c} (64%) rename RedfishClientPkg/Features/Memory/V1_7_1/Common/{RedfishMemoryCommon.h => MemoryCommon.h} (89%) rename RedfishClientPkg/Features/Memory/V1_7_1/Dxe/{RedfishMemoryDxe.c => MemoryDxe.c} (75%) rename RedfishClientPkg/Features/Memory/V1_7_1/Dxe/{RedfishMemoryDxe.inf => MemoryDxe.inf} (57%) rename RedfishClientPkg/Features/{RedfishMemoryCollectionDxe/RedfishMemoryCollectionDxe.c => MemoryCollectionDxe/MemoryCollectionDxe.c} (66%) rename RedfishClientPkg/Features/{RedfishMemoryCollectionDxe/RedfishMemoryCollectionDxe.h => MemoryCollectionDxe/MemoryCollectionDxe.h} (64%) rename RedfishClientPkg/Features/{RedfishMemoryCollectionDxe/RedfishMemoryCollectionDxe.inf => MemoryCollectionDxe/MemoryCollectionDxe.inf} (71%) create mode 100644 RedfishClientPkg/Include/Guid/RedfishClientEventGroup.h create mode 100644 RedfishClientPkg/Include/Library/EdkIIRedfishResourceConfigLib.h create mode 100644 RedfishClientPkg/Include/Library/RedfishEventLib.h create mode 100644 RedfishClientPkg/Include/Library/RedfishResourceIdentifyLib.h create mode 100644 RedfishClientPkg/Include/Library/RedfishVersionLib.h create mode 100644 RedfishClientPkg/Include/Protocol/EdkIIRedfishConfigLangMapProtocol.h create mode 100644 RedfishClientPkg/Include/Protocol/EdkIIRedfishInterchangeData.h create mode 100644 RedfishClientPkg/Include/RedfishBase.h create mode 100644 RedfishClientPkg/Include/RedfishJsonStructure/RedfishCsCommon.h create mode 100644 RedfishClientPkg/Library/EdkIIRedfishResourceConfigLib/EdkIIRedfishResourceConfigLib.c create mode 100644 RedfishClientPkg/Library/EdkIIRedfishResourceConfigLib/EdkIIRedfishResourceConfigLib.inf create mode 100644 RedfishClientPkg/Library/RedfishEventLib/RedfishEventLib.c create mode 100644 RedfishClientPkg/Library/RedfishEventLib/RedfishEventLib.inf create mode 100644 RedfishClientPkg/Library/RedfishResourceIdentifyLibComuterSystem/v1_5_0/RedfishResourceIdentifyLibComuterSystem.c create mode 100644 RedfishClientPkg/Library/RedfishResourceIdentifyLibComuterSystem/v1_5_0/RedfishResourceIdentifyLibComuterSystem.inf create mode 100644 RedfishClientPkg/Library/RedfishResourceIdentifyLibNull/RedfishResourceIdentifyLibNull.c create mode 100644 RedfishClientPkg/Library/RedfishResourceIdentifyLibNull/RedfishResourceIdentifyLibNull.inf create mode 100644 RedfishClientPkg/Library/RedfishVersionLib/RedfishVersionLib.c create mode 100644 RedfishClientPkg/Library/RedfishVersionLib/RedfishVersionLib.inf create mode 100644 RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.c create mode 100644 RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.h create mode 100644 RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.inf -- 2.32.0.windows.2