[edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo


Bret Barkelew <bret.barkelew@...>
 

I think code review works. I’m primarily interested in seeing how much code falls under the “edk2” vs “edk2-staging” repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let’s just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Michael D Kinney <michael.d.kinney@...>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package “RedfishPkg” under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftianocore%2Fedk2-staging%2Fblob%2FUEFI_Redfish%2FReadme.md&data=02%7C01%7Cbret.barkelew%40microsoft.com%7Cec6961ac4b3143f196be08d859251f68%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357363278947284&sdata=kt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws%3D&reserved=0>

Thanks
Abner


Bret Barkelew <bret.barkelew@...>
 

JSON Structure would probably be worth discussing. I know that there are other places I’ve seen JSON used and it may end up that we want common business logic (similar to using Oniguruma for regex). Do you parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

I think code review works. I’m primarily interested in seeing how much code falls under the “edk2” vs “edk2-staging” repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let’s just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package “RedfishPkg” under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Ftianocore-252Fedk2-2Dstaging-252Fblob-252FUEFI-5FRedfish-252FReadme.md-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257Cec6961ac4b3143f196be08d859251f68-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357363278947284-26sdata-3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-253D-26reserved-3D0%26d%3DDwMF-g%26c%3DC5b8zRQO1miGmBeVZ2LFWg%26r%3D_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E%26m%3DvNotrFyeoRyYey-0DOEVOLlZ7unqNGts5l1lH-4MzqM%26s%3DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8%26e%3D&data=02%7C01%7Cbret.barkelew%40microsoft.com%7C6bd38bf379f64b06f6b808d859282266%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357376203679617&sdata=%2Fc1YADqJZbAxtJEfc7R4LRToIVVG%2F8P5K9XRzp2RTio%3D&reserved=0>

Thanks
Abner


Bret Barkelew <bret.barkelew@...>
 

That link didn’t work for me.

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a centralized manager to manage “EFI Redfish JSON resource to C structure Converter libraries/drivers” for converting Redfish resource in the specific schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn’t use JSON library, however “EFI Redfish JSON resource to C structure Converter libraries/drivers” do use open source jansson library to parse JSON payload. Furthermore, “EFI Redfish JSON resource to C structure Converter libraries/drivers” are generated by tool based on the published Redfish schemas. https://github.com/DMTF/Redfish-Schema-C-Struct-Generator<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDMTF%2FRedfish-Schema-C-Struct-Generator&data=02%7C01%7Cbret.barkelew%40microsoft.com%7C1b8115973f364cea229008d8592bc486%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357391811797643&sdata=LdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE%3D&reserved=0>

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>; devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

JSON Structure would probably be worth discussing. I know that there are other places I’ve seen JSON used and it may end up that we want common business logic (similar to using Oniguruma for regex). Do you parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

I think code review works. I’m primarily interested in seeing how much code falls under the “edk2” vs “edk2-staging” repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let’s just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package “RedfishPkg” under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Fgithub.com-2D252Ftianocore-2D252Fedk2-2D2Dstaging-2D252Fblob-2D252FUEFI-2D5FRedfish-2D252FReadme.md-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-2D2540microsoft.com-2D257Cec6961ac4b3143f196be08d859251f68-2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-2D257C637357363278947284-2D26sdata-2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D253D-2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-253DvNotrFyeoRyYey-2D0DOEVOLlZ7unqNGts5l1lH-2D4MzqM-2526s-253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-2526e-253D-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C6bd38bf379f64b06f6b808d859282266-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357376203679617-26sdata-3D-252Fc1YADqJZbAxtJEfc7R4LRToIVVG-252F8P5K9XRzp2RTio-253D-26reserved-3D0%26d%3DDwMF-g%26c%3DC5b8zRQO1miGmBeVZ2LFWg%26r%3D_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E%26m%3DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-cx0%26s%3DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL_2JBwiL7kg%26e%3D&data=02%7C01%7Cbret.barkelew%40microsoft.com%7C1b8115973f364cea229008d8592bc486%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357391811802634&sdata=r9JTbIGJH3tmabZ%2BOtYAjVm5PRXWvuK0Wm2v2NByE1M%3D&reserved=0>

Thanks
Abner


Yao, Jiewen
 

HI Abner
If it is DMTF private repo, should we discuss it in EDKII ?

Do we have a public reference somewhere else?

Thank you
Yao Jiewen

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Abner Chang
Sent: Tuesday, September 15, 2020 12:23 PM
To: rfc@edk2.groups.io; devel@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Hmm. You probably have to join dmtf as a member. That repo is private for members now, not public yet.


Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io> <rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>> on behalf of Bret Barkelew via groups.io <bret.barkelew@...<mailto:bret.barkelew@...>>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io> <rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...> <siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

That link didn't work for me.

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a centralized manager to manage "EFI Redfish JSON resource to C structure Converter libraries/drivers" for converting Redfish resource in the specific schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library, however "EFI Redfish JSON resource to C structure Converter libraries/drivers" do use open source jansson library to parse JSON payload. Furthermore, "EFI Redfish JSON resource to C structure Converter libraries/drivers" are generated by tool based on the published Redfish schemas. https://github.com/DMTF/Redfish-Schema-C-Struct-Generator<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811797643-26sdata-3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=<https://github.com/DMTF/Redfish-Schema-C-Struct-Generator%3chttps:/urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811797643-26sdata-3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=> >

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

JSON Structure would probably be worth discussing. I know that there are other places I've seen JSON used and it may end up that we want common business logic (similar to using Oniguruma for regex). Do you parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...<mailto:abner.chang@...%3cmailto:abner.chang@...>>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmailto:ray.ni@...>>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:michael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

I think code review works. I'm primarily interested in seeing how much code falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmailto:ray.ni@...>>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:michael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...<mailto:abner.chang@...%3cmailto:abner.chang@...>>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package "RedfishPkg" under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-2D2D257Cbret.barkelew-2D2D2540microsoft.com-2D2D257Cec6961ac4b3143f196be08d859251f68-2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-2D2D257C637357363278947284-2D2D26sdata-2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-2D257C637357376203679617-2D26sdata-2D3D-2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=2U_MKBpgLtoTglsPa4GJpgQpw6Ga3mBFBfABf7k0TwU&e=<https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md%3chttps:/urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-2D2D257Cbret.barkelew-2D2D2540microsoft.com-2D2D257Cec6961ac4b3143f196be08d859251f68-2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-2D2D257C637357363278947284-2D2D26sdata-2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-2D257C637357376203679617-2D26sdata-2D3D-2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=2U_MKBpgLtoTglsP> >

Thanks
Abner


Yao, Jiewen
 

Thanks Abner.
Understood now. Yes, we need follow the regulation as always.

I look forward to seeing the DMTF public repo. :-)

Thank you
Yao Jiewen

From: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>
Sent: Tuesday, September 15, 2020 1:39 PM
To: devel@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Sure Jiewen, we plan to talk about this on Tianocore design meeting recently. But I may not provide the reference here because it may against to the Redfish working group regulations.
I had requested to public this repo two years ago, however both WG chair and I had no follow up on this. I already restarted the conversation with him... just now.

For now, only the implementation of UEFI spec 29.7.2 (Redfish instance), 29.7.3 and 31.1 will be sent to community for review.

Thanks
Abner


From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Yao, Jiewen
Sent: Tuesday, September 15, 2020 12:42 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan <siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

HI Abner
If it is DMTF private repo, should we discuss it in EDKII ?

Do we have a public reference somewhere else?

Thank you
Yao Jiewen

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Abner Chang
Sent: Tuesday, September 15, 2020 12:23 PM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan <siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Hmm. You probably have to join dmtf as a member. That repo is private for members now, not public yet.


Get Outlook for Android<https://urldefense.proofpoint.com/v2/url?u=https-3A__aka.ms_ghei36&d=DwMFAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=pOqEHDFgI3N3KX0vXeQx5x9eAu8iFwKLxaC_oogVwiE&s=JcIdGRVs2CdvN2AKuofiuNTu3UV6lDvgB4RjvpRgiXM&e=>
________________________________
From: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io> <rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>> on behalf of Bret Barkelew via groups.io <bret.barkelew@...<mailto:bret.barkelew@...>>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io> <rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...> <siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

That link didn't work for me.

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a centralized manager to manage "EFI Redfish JSON resource to C structure Converter libraries/drivers" for converting Redfish resource in the specific schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library, however "EFI Redfish JSON resource to C structure Converter libraries/drivers" do use open source jansson library to parse JSON payload. Furthermore, "EFI Redfish JSON resource to C structure Converter libraries/drivers" are generated by tool based on the published Redfish schemas. https://github.com/DMTF/Redfish-Schema-C-Struct-Generator<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811797643-26sdata-3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=<https://github.com/DMTF/Redfish-Schema-C-Struct-Generator%3chttps:/urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811797643-26sdata-3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=> >

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

JSON Structure would probably be worth discussing. I know that there are other places I've seen JSON used and it may end up that we want common business logic (similar to using Oniguruma for regex). Do you parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...<mailto:abner.chang@...%3cmailto:abner.chang@...>>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmailto:ray.ni@...>>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:michael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

I think code review works. I'm primarily interested in seeing how much code falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmailto:ray.ni@...>>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:michael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...<mailto:abner.chang@...%3cmailto:abner.chang@...>>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package "RedfishPkg" under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-2D2D257Cbret.barkelew-2D2D2540microsoft.com-2D2D257Cec6961ac4b3143f196be08d859251f68-2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-2D2D257C637357363278947284-2D2D26sdata-2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-2D257C637357376203679617-2D26sdata-2D3D-2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=2U_MKBpgLtoTglsPa4GJpgQpw6Ga3mBFBfABf7k0TwU&e=<https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md%3chttps:/urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-2D2D257Cbret.barkelew-2D2D2540microsoft.com-2D2D257Cec6961ac4b3143f196be08d859251f68-2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-2D2D257C637357363278947284-2D2D26sdata-2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-2D257C637357376203679617-2D26sdata-2D3D-2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=2U_MKBpgLtoTglsP> >

Thanks
Abner


Felix Polyudov
 

Abner,

Are there RedFish dependencies in the REST EX Driver from your package?
If not, perhaps it should be in the NetworkPkg, not in the RedFishPkg.

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Monday, September 14, 2020 11:12 PM
To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist); rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW); Chen, Aaron; siyuan.fu@...; Wang, Fan; Wu, Jiaxin; Ni, Ray; Michael D Kinney
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Michael D Kinney <michael.d.kinney@...>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package "RedfishPkg" under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

- EFI Redfish Host Interface DXE Driver

- EFI Refish Credential DXE Driver

- EFI REST EX UEFI Driver for Redfish service

- EFI Redfish Discover UEFI Driver

- EFI Redfish Discover Protocol

- EFI Redfish Config UEFI Driver

- EFI BIOS Config To Redfish Dxe Driver

- EFI REST JSON Structure DXE Driver

- EFI Source Coding DXE Driver

- EFI BIOS Resource Provision Generation Protocol

- EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

- Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.

- Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md

Thanks
Abner


Please consider the environment before printing this email.

The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.


Yao, Jiewen
 

Thank you, Abner.
I look forward to the design review in next week. :-)

I notice that the last RedfishPkg update is still 2 years ago.

In order to move staging to master, we need ensure the code meet production quality, including but not limited to unit test, system test and security test.

I checked the readme. It mentioned:
===============
Promote to edk2 Trunk
If a subset feature or a bug fix in this staging branch could meet below requirement, it could be promoted to edk2 trunk and removed from this staging branch:

Meet all edk2 required quality criteria.
Support both IA32 and X64 Platform.
Work on Redfish Profile Simulator.
Ready for product integration.
===============

Would you please give us an update if there is any extra work to improved the quality (such as security test) so that we believe the existing RedfishPkg is production ready for integration back to EDKII master?

Thank you
Yao Jiewen

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Abner
Chang
Sent: Wednesday, September 23, 2020 10:21 AM
To: rfc@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
devel@edk2.groups.io; bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

That would take time to run through the process of publishing this tool (make it
as public) on DMTF. I just created the reference of source code which generated
by tool on my personal GitHub (not the tool itself)
https://github.com/changab/Redfish-JSON-C-Struct-Converter-Lib .

The branch "Master" which are the source code to convert Redfish JSON
schemas to C code. These source code could be built by CMakeLists.txt (under
src/_build) across platforms.
The branch " edk2-driver-wrapper" are generated by tool with some "edk2"
options. The edk2 wrapper drivers (/RedfishCsIntp/RedfishSchemaInterpreter )
are selected (our plan) into edk2 build process on demand, refer to
https://github.com/tianocore/edk2-staging/tree/UEFI_Redfish#%5B1%5D
Edk2 driver ((/RedfishCsIntp/RedfishSchemaInterpreter) registers itself to EFI
REST JSON Structure Protocol. The upper level users use EFI REST JSON Structure
Protocol to generate Redfish JSON payload from the C structure or vice versa
from JSON to C. Thus upper level user can use C structure member to refer to
the Redfish property with manipulating JSON objects.
BTW, the naming of RedfishSchemaInterpreter is not sync-up with the latest
UEFI spec and the source code is not generated based on latest Redfish schema.


This also gives the reference to Bret regards to the answer I had in the previous
email.
No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a
centralized manager to manage "EFI Redfish JSON resource to C structure
Converter libraries/drivers" for converting Redfish resource in the specific
schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library, however
"EFI Redfish JSON resource to C structure Converter libraries/drivers" do use
open source jansson library to parse JSON payload.
"EFI Redfish JSON resource to C structure Converter libraries/drivers" in above
refers to auto-generated source code.

We plan to present this on next week TianoCore design meeting.

-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of Yao,
Jiewen
Sent: Tuesday, September 15, 2020 1:44 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>;
devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Thanks Abner.
Understood now. Yes, we need follow the regulation as always.

I look forward to seeing the DMTF public repo. :-)

Thank you
Yao Jiewen

From: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>
Sent: Tuesday, September 15, 2020 1:39 PM
To: devel@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Sure Jiewen, we plan to talk about this on Tianocore design meeting recently.
But I may not provide the reference here because it may against to the
Redfish working group regulations.
I had requested to public this repo two years ago, however both WG chair
and I had no follow up on this. I already restarted the conversation with him...
just now.

For now, only the implementation of UEFI spec 29.7.2 (Redfish instance),
29.7.3 and 31.1 will be sent to community for review.

Thanks
Abner


From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Yao, Jiewen
Sent: Tuesday, September 15, 2020 12:42 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner
(HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

HI Abner
If it is DMTF private repo, should we discuss it in EDKII ?

Do we have a public reference somewhere else?

Thank you
Yao Jiewen

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of
Abner Chang
Sent: Tuesday, September 15, 2020 12:23 PM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Hmm. You probably have to join dmtf as a member. That repo is private for
members now, not public yet.


Get Outlook for
Android<INVALID URI REMOVED
3A__aka.ms_ghei36&d=DwMFAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6
FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=pOqEHDFgI3N3KX0vXeQ
x5x9eAu8iFwKLxaC_oogVwiE&s=JcIdGRVs2CdvN2AKuofiuNTu3UV6lDvgB4Rj
vpRgiXM&e=>
________________________________
From: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>> on behalf of Bret
Barkelew via groups.io
<bret.barkelew@...<mailto:bret.barkelew=microsoft.
com@groups.io>>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

That link didn't work for me.

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a
centralized manager to manage "EFI Redfish JSON resource to C structure
Converter libraries/drivers" for converting Redfish resource in the specific
schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library, however
"EFI Redfish JSON resource to C structure Converter libraries/drivers" do use
open source jansson library to parse JSON payload. Furthermore, "EFI
Redfish JSON resource to C structure Converter libraries/drivers" are
generated by tool based on the published Redfish schemas.
https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator<INVALID URI REMOVED
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-
91Z3miShA&e=<https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator%3chttps:/urldefense.proofpoint.com/v2/url?u=https-
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=> >

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg"
under edk2 repo

JSON Structure would probably be worth discussing. I know that there are
other places I've seen JSON used and it may end up that we want common
business logic (similar to using Oniguruma for regex). Do you parse/format
JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the
corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io]
On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...
om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...
om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmail
to:ray.ni@...>>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:m
ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg"
under edk2 repo

I think code review works. I'm primarily interested in seeing how much code
falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code
review process.
Thanks

Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io]
On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...
om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...
om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmail
to:ray.ni@...>>>; Michael D Kinney
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:m
ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg"
under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...
om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...
om%3cmailto:jiaxin.wu@...>>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I
thought mailing system will add [RFC] prefix to the subject. Sorry for the
inconvenience.

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io]
On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...
om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...
om%3cmailto:jiaxin.wu@...>>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2
repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a
new package "RedfishPkg" under edk2 repo is necessary for accommodating
the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the
corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding
definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not
have the corresponding definitions in UEFI spec. This is for the evaluation and
require ECR to USWG if community agree with having this driver for Redfish
edk2 solution.

Please refer to below link for the details,
https://github.com/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md<https://urldefense.proofpoint.com
/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-
2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsPa4GJpgQpw6Ga3mBFBfABf7k0TwU&e=<https://github.c
om/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md%3chttps:/urldefense.proofpoint.co
m/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-
2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsP> >

Thanks
Abner










Yao, Jiewen
 

Good to know.

Then I recommend we document assumption in the design.

I prefer to change "As the design, any BIOS to Redfish communicate should be done before End of DXE and with SecureBoot is enabled."
to
"As the design, any BIOS to Redfish communication MUST be done before End of DXE and with SecureBoot is enabled.
Any BIOS to Redfish communication MUST be blocked if SecureBoot is disabled.

The communication between BIOS and BMC MUST be protected with TLS with authentication.

The BIOS will NOT validate any input from BMC.
The BMC MUST take role and responsibility to perform the validation to ensure ANY configuration MUST NOT bring negative impact to the BIOS."

Please let me know if that is right understanding.

Thank you
Yao Jiewen

-----Original Message-----
From: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>
Sent: Wednesday, September 23, 2020 11:18 AM
To: rfc@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
devel@edk2.groups.io; bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo



-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of Yao,
Jiewen
Sent: Wednesday, September 23, 2020 10:30 AM
To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...>; rfc@edk2.groups.io;
bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Thank you, Abner.
I look forward to the design review in next week. :-)

I notice that the last RedfishPkg update is still 2 years ago.

In order to move staging to master, we need ensure the code meet
production quality, including but not limited to unit test, system test and
security test.

I checked the readme. It mentioned:
===============
Promote to edk2 Trunk
If a subset feature or a bug fix in this staging branch could meet below
requirement, it could be promoted to edk2 trunk and removed from this
staging branch:

Meet all edk2 required quality criteria.
Support both IA32 and X64 Platform.
Work on Redfish Profile Simulator.
Ready for product integration.
===============

Would you please give us an update if there is any extra work to improved
the quality (such as security test) so that we believe the existing RedfishPkg
is production ready for integration back to EDKII master?
We don't have the additional work regards to the security. As the design, any
BIOS to Redfish communicate should be done before End of DXE and with
SecureBoot is enabled.
Yeah, it is welcome to raise any security issues to make a secured edk2 Redfish
solution.
Thanks


Thank you
Yao Jiewen


-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Abner
Chang
Sent: Wednesday, September 23, 2020 10:21 AM
To: rfc@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
devel@edk2.groups.io; bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

That would take time to run through the process of publishing this
tool (make it as public) on DMTF. I just created the reference of
source code which generated by tool on my personal GitHub (not the
tool itself) https://github.com/changab/Redfish-JSON-C-Struct-Converter-
Lib .

The branch "Master" which are the source code to convert Redfish JSON
schemas to C code. These source code could be built by CMakeLists.txt
(under
src/_build) across platforms.
The branch " edk2-driver-wrapper" are generated by tool with some
"edk2"
options. The edk2 wrapper drivers
(/RedfishCsIntp/RedfishSchemaInterpreter ) are selected (our plan)
into edk2 build process on demand, refer to
https://github.com/tianocore/edk2-staging/tree/UEFI_Redfish#%5B1%5D
Edk2 driver ((/RedfishCsIntp/RedfishSchemaInterpreter) registers
itself to EFI REST JSON Structure Protocol. The upper level users use
EFI REST JSON Structure Protocol to generate Redfish JSON payload from
the C structure or vice versa from JSON to C. Thus upper level user
can use C structure member to refer to the Redfish property with
manipulating JSON objects.
BTW, the naming of RedfishSchemaInterpreter is not sync-up with the
latest UEFI spec and the source code is not generated based on latest
Redfish schema.


This also gives the reference to Bret regards to the answer I had in
the previous email.
No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is
a centralized manager to manage "EFI Redfish JSON resource to C
structure Converter libraries/drivers" for converting Redfish
resource in the specific schema from JSON format to the C structure or
vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library,
however "EFI Redfish JSON resource to C structure Converter
libraries/drivers" do use open source jansson library to parse JSON
payload.

"EFI Redfish JSON resource to C structure Converter libraries/drivers"
in above refers to auto-generated source code.

We plan to present this on next week TianoCore design meeting.

-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of
Yao, Jiewen
Sent: Tuesday, September 15, 2020 1:44 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>;
devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Thanks Abner.
Understood now. Yes, we need follow the regulation as always.

I look forward to seeing the DMTF public repo. :-)

Thank you
Yao Jiewen

From: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...>
Sent: Tuesday, September 15, 2020 1:39 PM
To: devel@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Sure Jiewen, we plan to talk about this on Tianocore design meeting
recently.
But I may not provide the reference here because it may against to
the Redfish working group regulations.
I had requested to public this repo two years ago, however both WG
chair and I had no follow up on this. I already restarted the conversation
with him...
just now.

For now, only the implementation of UEFI spec 29.7.2 (Redfish
instance),
29.7.3 and 31.1 will be sent to community for review.

Thanks
Abner


From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Yao, Jiewen
Sent: Tuesday, September 15, 2020 12:42 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner
(HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

HI Abner
If it is DMTF private repo, should we discuss it in EDKII ?

Do we have a public reference somewhere else?

Thank you
Yao Jiewen

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of
Abner Chang
Sent: Tuesday, September 15, 2020 12:23 PM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Hmm. You probably have to join dmtf as a member. That repo is
private for members now, not public yet.


Get Outlook for
Android<INVALID URI REMOVED
3A__aka.ms_ghei36&d=DwMFAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6
FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=pOqEHDFgI3N3KX0vXeQ
x5x9eAu8iFwKLxaC_oogVwiE&s=JcIdGRVs2CdvN2AKuofiuNTu3UV6lDvgB4Rj
vpRgiXM&e=>
________________________________
From: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>> on behalf of Bret
Barkelew via groups.io
<bret.barkelew@...<mailto:bret.barkelew=microsoft.
com@groups.io>>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

That link didn't work for me.

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is
a centralized manager to manage "EFI Redfish JSON resource to C
structure Converter libraries/drivers" for converting Redfish
resource in the specific schema from JSON format to the C structure or
vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library,
however "EFI Redfish JSON resource to C structure Converter
libraries/drivers" do use open source jansson library to parse JSON
payload. Furthermore, "EFI Redfish JSON resource to C structure
Converter libraries/drivers" are generated by tool based on the published
Redfish schemas.
https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator<INVALID URI REMOVED
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-
2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-
26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-
91Z3miShA&e=<https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator%3chttps:/urldefense.proofpoint.com/v2/url?u=https-
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-
2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-
26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=> >

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via
groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

JSON Structure would probably be worth discussing. I know that there
are other places I've seen JSON used and it may end up that we want
common business logic (similar to using Oniguruma for regex). Do you
parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with
the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via
groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@int
el.c om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3c
mail to:ray.ni@...>>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto
:m ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

I think code review works. I'm primarily interested in seeing how
much code falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via
groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the
code review process.
Thanks

Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@int
el.c om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3c
mail to:ray.ni@...>>>; Michael D Kinney
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto
:m ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@int
el.c
om%3cmailto:jiaxin.wu@...>>>
Subject: RE: Request for the new package "RedfishPkg" under edk2
repo

This is the RFC for the new package "RedfishPkg" introduced to edk2
repo, I thought mailing system will add [RFC] prefix to the subject.
Sorry for the inconvenience.

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@int
el.c
om%3cmailto:jiaxin.wu@...>>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under
edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2
solution, a new package "RedfishPkg" under edk2 repo is necessary
for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting
and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the
corresponding
definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do
not
have the corresponding definitions in UEFI spec. This is for the
evaluation and require ECR to USWG if community agree with having
this driver for Redfish
edk2 solution.

Please refer to below link for the details,
https://github.com/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md<https://urldefense.proofpoint.co
m
/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-
253Fu
-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-
2D3Fur
l-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-
2D2D3Dhttp
s-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-
2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-
2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsPa4GJpgQpw6Ga3mBFBfABf7k0TwU&e=<https://urldefen
se.pr
oofpoint.com/v2/url?u=https-
3A__github.c&d=DwIFAg&c=C5b8zRQO1miGmBeV
Z2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=ZDn7D
prnbcQsP
W6LKdgESNPjNoC_STFSKzHiOKNgCiA&s=M-Oc-
aivFloPmCsB8exWifFgGJDh_2Q3qO7
6ai1Hodw&e=
om/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md%3chttps:/urldefense.proofpoint.c
o
m/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-
253Fu
-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-
2D3Fur
l-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-
2D2D3Dhttp
s-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-
2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-
2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsP> >

Thanks
Abner













Abner Chang
 

Seems no one has comment on this topic. Let's just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Michael D Kinney <michael.d.kinney@...>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package "RedfishPkg" under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

- EFI Redfish Host Interface DXE Driver

- EFI Refish Credential DXE Driver

- EFI REST EX UEFI Driver for Redfish service

- EFI Redfish Discover UEFI Driver

- EFI Redfish Discover Protocol

- EFI Redfish Config UEFI Driver

- EFI BIOS Config To Redfish Dxe Driver

- EFI REST JSON Structure DXE Driver

- EFI Source Coding DXE Driver

- EFI BIOS Resource Provision Generation Protocol

- EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

- Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.

- Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md

Thanks
Abner


Abner Chang
 

Not many drivers fall in edk2 repo so far, those are drivers with the corresponding definitions in UEFI spec.
- EFI REST EX UEFI Driver for Redfish service
- EFI Redfish Discover UEFI Driver
- EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

I think code review works. I'm primarily interested in seeing how much code falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package "RedfishPkg" under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes
- EFI Redfish Host Interface DXE Driver
- EFI Refish Credential DXE Driver
- EFI REST EX UEFI Driver for Redfish service
- EFI Redfish Discover UEFI Driver
- EFI Redfish Discover Protocol
- EFI Redfish Config UEFI Driver
- EFI BIOS Config To Redfish Dxe Driver
- EFI REST JSON Structure DXE Driver
- EFI Source Coding DXE Driver
- EFI BIOS Resource Provision Generation Protocol
- EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes
- Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
- Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftianocore%2Fedk2-staging%2Fblob%2FUEFI_Redfish%2FReadme.md&data=02%7C01%7Cbret.barkelew%40microsoft.com%7Cec6961ac4b3143f196be08d859251f68%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357363278947284&sdata=kt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws%3D&reserved=0>

Thanks
Abner


Abner Chang
 

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a centralized manager to manage "EFI Redfish JSON resource to C structure Converter libraries/drivers" for converting Redfish resource in the specific schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library, however "EFI Redfish JSON resource to C structure Converter libraries/drivers" do use open source jansson library to parse JSON payload. Furthermore, "EFI Redfish JSON resource to C structure Converter libraries/drivers" are generated by tool based on the published Redfish schemas. https://github.com/DMTF/Redfish-Schema-C-Struct-Generator

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>; devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

JSON Structure would probably be worth discussing. I know that there are other places I've seen JSON used and it may end up that we want common business logic (similar to using Oniguruma for regex). Do you parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the corresponding definitions in UEFI spec.
- EFI REST EX UEFI Driver for Redfish service
- EFI Redfish Discover UEFI Driver
- EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

I think code review works. I'm primarily interested in seeing how much code falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package "RedfishPkg" under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes
- EFI Redfish Host Interface DXE Driver
- EFI Refish Credential DXE Driver
- EFI REST EX UEFI Driver for Redfish service
- EFI Redfish Discover UEFI Driver
- EFI Redfish Discover Protocol
- EFI Redfish Config UEFI Driver
- EFI BIOS Config To Redfish Dxe Driver
- EFI REST JSON Structure DXE Driver
- EFI Source Coding DXE Driver
- EFI BIOS Resource Provision Generation Protocol
- EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes
- Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
- Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Ftianocore-252Fedk2-2Dstaging-252Fblob-252FUEFI-5FRedfish-252FReadme.md-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257Cec6961ac4b3143f196be08d859251f68-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357363278947284-26sdata-3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-253D-26reserved-3D0%26d%3DDwMF-g%26c%3DC5b8zRQO1miGmBeVZ2LFWg%26r%3D_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E%26m%3DvNotrFyeoRyYey-0DOEVOLlZ7unqNGts5l1lH-4MzqM%26s%3DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8%26e%3D&data=02%7C01%7Cbret.barkelew%40microsoft.com%7C6bd38bf379f64b06f6b808d859282266%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357376203679617&sdata=%2Fc1YADqJZbAxtJEfc7R4LRToIVVG%2F8P5K9XRzp2RTio%3D&reserved=0>

Thanks
Abner


Abner Chang
 

Hmm. You probably have to join dmtf as a member. That repo is private for members now, not public yet.


Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: rfc@edk2.groups.io <rfc@edk2.groups.io> on behalf of Bret Barkelew via groups.io <bret.barkelew@...>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>; devel@edk2.groups.io <devel@edk2.groups.io>; rfc@edk2.groups.io <rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@... <siyuan.fu@...>; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

That link didn’t work for me.

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a centralized manager to manage “EFI Redfish JSON resource to C structure Converter libraries/drivers” for converting Redfish resource in the specific schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn’t use JSON library, however “EFI Redfish JSON resource to C structure Converter libraries/drivers” do use open source jansson library to parse JSON payload. Furthermore, “EFI Redfish JSON resource to C structure Converter libraries/drivers” are generated by tool based on the published Redfish schemas. https://github.com/DMTF/Redfish-Schema-C-Struct-Generator<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDMTF%2FRedfish-Schema-C-Struct-Generator&data=02%7C01%7Cbret.barkelew%40microsoft.com%7C1b8115973f364cea229008d8592bc486%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357391811797643&sdata=LdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE%3D&reserved=0 >

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>; devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

JSON Structure would probably be worth discussing. I know that there are other places I’ve seen JSON used and it may end up that we want common business logic (similar to using Oniguruma for regex). Do you parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

I think code review works. I’m primarily interested in seeing how much code falls under the “edk2” vs “edk2-staging” repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let’s just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package “RedfishPkg” under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Fgithub.com-2D252Ftianocore-2D252Fedk2-2D2Dstaging-2D252Fblob-2D252FUEFI-2D5FRedfish-2D252FReadme.md-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-2D2540microsoft.com-2D257Cec6961ac4b3143f196be08d859251f68-2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-2D257C637357363278947284-2D26sdata-2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D253D-2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-253DvNotrFyeoRyYey-2D0DOEVOLlZ7unqNGts5l1lH-2D4MzqM-2526s-253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-2526e-253D-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C6bd38bf379f64b06f6b808d859282266-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357376203679617-26sdata-3D-252Fc1YADqJZbAxtJEfc7R4LRToIVVG-252F8P5K9XRzp2RTio-253D-26reserved-3D0%26d%3DDwMF-g%26c%3DC5b8zRQO1miGmBeVZ2LFWg%26r%3D_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E%26m%3DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-cx0%26s%3DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL_2JBwiL7kg%26e%3D&data=02%7C01%7Cbret.barkelew%40microsoft.com%7C1b8115973f364cea229008d8592bc486%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357391811802634&sdata=r9JTbIGJH3tmabZ%2BOtYAjVm5PRXWvuK0Wm2v2NByE1M%3D&reserved=0 >

Thanks
Abner


Abner Chang
 

Sure Jiewen, we plan to talk about this on Tianocore design meeting recently. But I may not provide the reference here because it may against to the Redfish working group regulations.
I had requested to public this repo two years ago, however both WG chair and I had no follow up on this. I already restarted the conversation with him... just now.

For now, only the implementation of UEFI spec 29.7.2 (Redfish instance), 29.7.3 and 31.1 will be sent to community for review.

Thanks
Abner


From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Yao, Jiewen
Sent: Tuesday, September 15, 2020 12:42 PM
To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

HI Abner
If it is DMTF private repo, should we discuss it in EDKII ?

Do we have a public reference somewhere else?

Thank you
Yao Jiewen

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Abner Chang
Sent: Tuesday, September 15, 2020 12:23 PM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan <siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Hmm. You probably have to join dmtf as a member. That repo is private for members now, not public yet.


Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io> <rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>> on behalf of Bret Barkelew via groups.io <bret.barkelew@...<mailto:bret.barkelew@...>>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io> <rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...> <siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

That link didn't work for me.

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a centralized manager to manage "EFI Redfish JSON resource to C structure Converter libraries/drivers" for converting Redfish resource in the specific schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library, however "EFI Redfish JSON resource to C structure Converter libraries/drivers" do use open source jansson library to parse JSON payload. Furthermore, "EFI Redfish JSON resource to C structure Converter libraries/drivers" are generated by tool based on the published Redfish schemas. https://github.com/DMTF/Redfish-Schema-C-Struct-Generator<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDMTF%2FRedfish-Schema-C-Struct-Generator&data=02%7C01%7Cbret.barkelew%40microsoft.com%7C1b8115973f364cea229008d8592bc486%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357391811797643&sdata=LdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE%3D&reserved=0<https://github.com/DMTF/Redfish-Schema-C-Struct-Generator%3chttps:/urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811797643-26sdata-3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=> >

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

JSON Structure would probably be worth discussing. I know that there are other places I've seen JSON used and it may end up that we want common business logic (similar to using Oniguruma for regex). Do you parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Bret Barkelew<mailto:Bret.Barkelew@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...<mailto:abner.chang@...%3cmailto:abner.chang@...>>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmailto:ray.ni@...>>>; Kinney, Michael D <michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:michael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

I think code review works. I'm primarily interested in seeing how much code falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist)<mailto:abner.chang@...>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen, Aaron<mailto:aaron.chen@...>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>; Ni, Ray<mailto:ray.ni@...>; Kinney, Michael D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmailto:ray.ni@...>>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:michael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...<mailto:abner.chang@...%3cmailto:abner.chang@...>>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang@...%3cmailto:nickle.wang@...>>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@...%3cmailto:aaron.chen@...>>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...%3cmailto:fan.wang@...>>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...%3cmailto:jiaxin.wu@...>>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@edk2.groups.io%3cmailto:devel@edk2.groups.io>>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package "RedfishPkg" under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Fgithub.com-2D252Ftianocore-2D252Fedk2-2D2Dstaging-2D252Fblob-2D252FUEFI-2D5FRedfish-2D252FReadme.md-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-2D2540microsoft.com-2D257Cec6961ac4b3143f196be08d859251f68-2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-2D257C637357363278947284-2D26sdata-2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D253D-2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-253DvNotrFyeoRyYey-2D0DOEVOLlZ7unqNGts5l1lH-2D4MzqM-2526s-253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-2526e-253D-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C6bd38bf379f64b06f6b808d859282266-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357376203679617-26sdata-3D-252Fc1YADqJZbAxtJEfc7R4LRToIVVG-252F8P5K9XRzp2RTio-253D-26reserved-3D0%26d%3DDwMF-g%26c%3DC5b8zRQO1miGmBeVZ2LFWg%26r%3D_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E%26m%3DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-cx0%26s%3DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL_2JBwiL7kg%26e%3D&data=02%7C01%7Cbret.barkelew%40microsoft.com%7C1b8115973f364cea229008d8592bc486%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637357391811802634&sdata=r9JTbIGJH3tmabZ%2BOtYAjVm5PRXWvuK0Wm2v2NByE1M%3D&reserved=0<https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md%3chttps:/urldefense.proofpoint.com/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-2D2D257Cbret.barkelew-2D2D2540microsoft.com-2D2D257Cec6961ac4b3143f196be08d859251f68-2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-2D2D257C637357363278947284-2D2D26sdata-2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-2D257C637357376203679617-2D26sdata-2D3D-2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-257C1b8115973f364cea229008d8592bc486-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=2U_MKBpgLtoTglsP> >

Thanks
Abner


Abner Chang
 

Hi Felix,
Yes, Redfish (EFI Redfish Discover Protocol) relies on the EFI REST EX protocol instance which provides EFI_REST_EX_SERVICE_REDFISH type service as defined in UEFI spec 29.7.2.2 GetService().
The REST EX Driver we will contribute is the REST EX Redfish instance, so that is the reason we put REST EX driver in RedfishPkg.
This makes sense to you?

Regards,
Abner


//*******************************************************
// EFI_REST_EX_SERVICE_TYPE
//*******************************************************
typedef enum {
EFI_REST_EX_SERVICE_UNSPECIFIC = 1,
EFI_REST_EX_SERVICE_REDFISH,
EFI_REST_EX_SERVICE_ODATA,
EFI_REST_EX_SERVICE_VENDOR_SPECIFIC = 0xff,
EFI_REST_EX_SERVICE_TYPE_MAX
} EFI_REST_EX_SERVICE_TYPE;


From: Felix Polyudov [mailto:Felixp@...]
Sent: Thursday, September 17, 2020 7:25 AM
To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron <aaron.chen@...>; siyuan.fu@...; Wang, Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray <ray.ni@...>; Michael D Kinney <michael.d.kinney@...>; Igor Kulchytskyy <igork@...>
Subject: RE: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Abner,

Are there RedFish dependencies in the REST EX Driver from your package?
If not, perhaps it should be in the NetworkPkg, not in the RedFishPkg.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Monday, September 14, 2020 11:12 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist); rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW); Chen, Aaron; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan; Wu, Jiaxin; Ni, Ray; Michael D Kinney
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code review process.
Thanks

Abner

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray <ray.ni@...<mailto:ray.ni@...>>; Michael D Kinney <michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg" under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@...<mailto:abner.chang@...>>; rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I thought mailing system will add [RFC] prefix to the subject. Sorry for the inconvenience.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> [mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW) <nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron <aaron.chen@...<mailto:aaron.chen@...>>; siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan <fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin <jiaxin.wu@...<mailto:jiaxin.wu@...>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a new package "RedfishPkg" under edk2 repo is necessary for accommodating the UEFI Redfish driver stacks, that includes

- EFI Redfish Host Interface DXE Driver

- EFI Refish Credential DXE Driver

- EFI REST EX UEFI Driver for Redfish service

- EFI Redfish Discover UEFI Driver

- EFI Redfish Discover Protocol

- EFI Redfish Config UEFI Driver

- EFI BIOS Config To Redfish Dxe Driver

- EFI REST JSON Structure DXE Driver

- EFI Source Coding DXE Driver

- EFI BIOS Resource Provision Generation Protocol

- EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

- Contribute to edk2 repo for those drivers already have the corresponding definitions in UEFI spec.

- Contribute code to edk2-staging/UEFI _Redfish for those drivers do not have the corresponding definitions in UEFI spec. This is for the evaluation and require ECR to USWG if community agree with having this driver for Redfish edk2 solution.

Please refer to below link for the details, https://github.com/tianocore/edk2-staging/blob/UEFI_Redfish/Readme.md

Thanks
Abner

P Please consider the environment before printing this email

The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.


Abner Chang
 

That would take time to run through the process of publishing this tool (make it as public) on DMTF. I just created the reference of source code which generated by tool on my personal GitHub (not the tool itself)
https://github.com/changab/Redfish-JSON-C-Struct-Converter-Lib .

The branch "Master" which are the source code to convert Redfish JSON schemas to C code. These source code could be built by CMakeLists.txt (under src/_build) across platforms.
The branch " edk2-driver-wrapper" are generated by tool with some "edk2" options. The edk2 wrapper drivers (/RedfishCsIntp/RedfishSchemaInterpreter ) are selected (our plan) into edk2 build process on demand, refer to https://github.com/tianocore/edk2-staging/tree/UEFI_Redfish#%5B1%5D
Edk2 driver ((/RedfishCsIntp/RedfishSchemaInterpreter) registers itself to EFI REST JSON Structure Protocol. The upper level users use EFI REST JSON Structure Protocol to generate Redfish JSON payload from the C structure or vice versa from JSON to C. Thus upper level user can use C structure member to refer to the Redfish property with manipulating JSON objects.
BTW, the naming of RedfishSchemaInterpreter is not sync-up with the latest UEFI spec and the source code is not generated based on latest Redfish schema.


This also gives the reference to Bret regards to the answer I had in the previous email.
No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a
centralized manager to manage "EFI Redfish JSON resource to C structure
Converter libraries/drivers" for converting Redfish resource in the specific
schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library, however
"EFI Redfish JSON resource to C structure Converter libraries/drivers" do use
open source jansson library to parse JSON payload.
"EFI Redfish JSON resource to C structure Converter libraries/drivers" in above refers to auto-generated source code.

We plan to present this on next week TianoCore design meeting.

-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of Yao,
Jiewen
Sent: Tuesday, September 15, 2020 1:44 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>;
devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Thanks Abner.
Understood now. Yes, we need follow the regulation as always.

I look forward to seeing the DMTF public repo. :-)

Thank you
Yao Jiewen

From: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>
Sent: Tuesday, September 15, 2020 1:39 PM
To: devel@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Sure Jiewen, we plan to talk about this on Tianocore design meeting recently.
But I may not provide the reference here because it may against to the
Redfish working group regulations.
I had requested to public this repo two years ago, however both WG chair
and I had no follow up on this. I already restarted the conversation with him...
just now.

For now, only the implementation of UEFI spec 29.7.2 (Redfish instance),
29.7.3 and 31.1 will be sent to community for review.

Thanks
Abner


From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Yao, Jiewen
Sent: Tuesday, September 15, 2020 12:42 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner
(HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

HI Abner
If it is DMTF private repo, should we discuss it in EDKII ?

Do we have a public reference somewhere else?

Thank you
Yao Jiewen

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of
Abner Chang
Sent: Tuesday, September 15, 2020 12:23 PM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Hmm. You probably have to join dmtf as a member. That repo is private for
members now, not public yet.


Get Outlook for
Android<INVALID URI REMOVED
3A__aka.ms_ghei36&d=DwMFAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6
FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=pOqEHDFgI3N3KX0vXeQ
x5x9eAu8iFwKLxaC_oogVwiE&s=JcIdGRVs2CdvN2AKuofiuNTu3UV6lDvgB4Rj
vpRgiXM&e=>
________________________________
From: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>> on behalf of Bret
Barkelew via groups.io
<bret.barkelew@...<mailto:bret.barkelew=microsoft.
com@groups.io>>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

That link didn't work for me.

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is a
centralized manager to manage "EFI Redfish JSON resource to C structure
Converter libraries/drivers" for converting Redfish resource in the specific
schema from JSON format to the C structure or vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library, however
"EFI Redfish JSON resource to C structure Converter libraries/drivers" do use
open source jansson library to parse JSON payload. Furthermore, "EFI
Redfish JSON resource to C structure Converter libraries/drivers" are
generated by tool based on the published Redfish schemas.
https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator<INVALID URI REMOVED
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-
91Z3miShA&e=<https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator%3chttps:/urldefense.proofpoint.com/v2/url?u=https-
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=> >

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg"
under edk2 repo

JSON Structure would probably be worth discussing. I know that there are
other places I've seen JSON used and it may end up that we want common
business logic (similar to using Oniguruma for regex). Do you parse/format
JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with the
corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io]
On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...
om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...
om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmail
to:ray.ni@...>>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:m
ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg"
under edk2 repo

I think code review works. I'm primarily interested in seeing how much code
falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu, Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the code
review process.
Thanks

Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io]
On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...
om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...
om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3cmail
to:ray.ni@...>>>; Michael D Kinney
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto:m
ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package "RedfishPkg"
under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...
om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...
om%3cmailto:jiaxin.wu@...>>>
Subject: RE: Request for the new package "RedfishPkg" under edk2 repo

This is the RFC for the new package "RedfishPkg" introduced to edk2 repo, I
thought mailing system will add [RFC] prefix to the subject. Sorry for the
inconvenience.

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>> [mailto:devel@edk2.groups.io]
On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@...
om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@...
om%3cmailto:jiaxin.wu@...>>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
oups.io%3cmailto:devel@edk2.groups.io>>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under edk2
repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2 solution, a
new package "RedfishPkg" under edk2 repo is necessary for accommodating
the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting and the
corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the corresponding
definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do not
have the corresponding definitions in UEFI spec. This is for the evaluation and
require ECR to USWG if community agree with having this driver for Redfish
edk2 solution.

Please refer to below link for the details,
https://github.com/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md<https://urldefense.proofpoint.com
/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-
2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsPa4GJpgQpw6Ga3mBFBfABf7k0TwU&e=<https://github.c
om/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md%3chttps:/urldefense.proofpoint.co
m/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-2D3Furl-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-2D2D3Dhttps-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-
2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsP> >

Thanks
Abner







Abner Chang
 

-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of Yao,
Jiewen
Sent: Wednesday, September 23, 2020 10:30 AM
To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...>; rfc@edk2.groups.io;
bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Thank you, Abner.
I look forward to the design review in next week. :-)

I notice that the last RedfishPkg update is still 2 years ago.

In order to move staging to master, we need ensure the code meet
production quality, including but not limited to unit test, system test and
security test.

I checked the readme. It mentioned:
===============
Promote to edk2 Trunk
If a subset feature or a bug fix in this staging branch could meet below
requirement, it could be promoted to edk2 trunk and removed from this
staging branch:

Meet all edk2 required quality criteria.
Support both IA32 and X64 Platform.
Work on Redfish Profile Simulator.
Ready for product integration.
===============

Would you please give us an update if there is any extra work to improved
the quality (such as security test) so that we believe the existing RedfishPkg
is production ready for integration back to EDKII master?
We don't have the additional work regards to the security. As the design, any BIOS to Redfish communicate should be done before End of DXE and with SecureBoot is enabled.
Yeah, it is welcome to raise any security issues to make a secured edk2 Redfish solution.
Thanks


Thank you
Yao Jiewen


-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Abner
Chang
Sent: Wednesday, September 23, 2020 10:21 AM
To: rfc@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
devel@edk2.groups.io; bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

That would take time to run through the process of publishing this
tool (make it as public) on DMTF. I just created the reference of
source code which generated by tool on my personal GitHub (not the
tool itself) https://github.com/changab/Redfish-JSON-C-Struct-Converter-
Lib .

The branch "Master" which are the source code to convert Redfish JSON
schemas to C code. These source code could be built by CMakeLists.txt
(under
src/_build) across platforms.
The branch " edk2-driver-wrapper" are generated by tool with some
"edk2"
options. The edk2 wrapper drivers
(/RedfishCsIntp/RedfishSchemaInterpreter ) are selected (our plan)
into edk2 build process on demand, refer to
https://github.com/tianocore/edk2-staging/tree/UEFI_Redfish#%5B1%5D
Edk2 driver ((/RedfishCsIntp/RedfishSchemaInterpreter) registers
itself to EFI REST JSON Structure Protocol. The upper level users use
EFI REST JSON Structure Protocol to generate Redfish JSON payload from
the C structure or vice versa from JSON to C. Thus upper level user
can use C structure member to refer to the Redfish property with
manipulating JSON objects.
BTW, the naming of RedfishSchemaInterpreter is not sync-up with the
latest UEFI spec and the source code is not generated based on latest
Redfish schema.


This also gives the reference to Bret regards to the answer I had in
the previous email.
No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is
a centralized manager to manage "EFI Redfish JSON resource to C
structure Converter libraries/drivers" for converting Redfish
resource in the specific schema from JSON format to the C structure or
vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library,
however "EFI Redfish JSON resource to C structure Converter
libraries/drivers" do use open source jansson library to parse JSON
payload.

"EFI Redfish JSON resource to C structure Converter libraries/drivers"
in above refers to auto-generated source code.

We plan to present this on next week TianoCore design meeting.

-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of
Yao, Jiewen
Sent: Tuesday, September 15, 2020 1:44 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>;
devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Thanks Abner.
Understood now. Yes, we need follow the regulation as always.

I look forward to seeing the DMTF public repo. :-)

Thank you
Yao Jiewen

From: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...>
Sent: Tuesday, September 15, 2020 1:39 PM
To: devel@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Sure Jiewen, we plan to talk about this on Tianocore design meeting
recently.
But I may not provide the reference here because it may against to
the Redfish working group regulations.
I had requested to public this repo two years ago, however both WG
chair and I had no follow up on this. I already restarted the conversation
with him...
just now.

For now, only the implementation of UEFI spec 29.7.2 (Redfish
instance),
29.7.3 and 31.1 will be sent to community for review.

Thanks
Abner


From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Yao, Jiewen
Sent: Tuesday, September 15, 2020 12:42 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang, Abner
(HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

HI Abner
If it is DMTF private repo, should we discuss it in EDKII ?

Do we have a public reference somewhere else?

Thank you
Yao Jiewen

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of
Abner Chang
Sent: Tuesday, September 15, 2020 12:23 PM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Hmm. You probably have to join dmtf as a member. That repo is
private for members now, not public yet.


Get Outlook for
Android<INVALID URI REMOVED
3A__aka.ms_ghei36&d=DwMFAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6
FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=pOqEHDFgI3N3KX0vXeQ
x5x9eAu8iFwKLxaC_oogVwiE&s=JcIdGRVs2CdvN2AKuofiuNTu3UV6lDvgB4Rj
vpRgiXM&e=>
________________________________
From: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>> on behalf of Bret
Barkelew via groups.io
<bret.barkelew@...<mailto:bret.barkelew=microsoft.
com@groups.io>>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

That link didn't work for me.

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3) is
a centralized manager to manage "EFI Redfish JSON resource to C
structure Converter libraries/drivers" for converting Redfish
resource in the specific schema from JSON format to the C structure or
vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON library,
however "EFI Redfish JSON resource to C structure Converter
libraries/drivers" do use open source jansson library to parse JSON
payload. Furthermore, "EFI Redfish JSON resource to C structure
Converter libraries/drivers" are generated by tool based on the published
Redfish schemas.
https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator<INVALID URI REMOVED
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-
2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-
26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-
91Z3miShA&e=<https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator%3chttps:/urldefense.proofpoint.com/v2/url?u=https-
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-
2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-
26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=> >

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via
groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

JSON Structure would probably be worth discussing. I know that there
are other places I've seen JSON used and it may end up that we want
common business logic (similar to using Oniguruma for regex). Do you
parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers with
the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging repo.

-Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via
groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@int
el.c om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3c
mail to:ray.ni@...>>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto
:m ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

I think code review works. I'm primarily interested in seeing how
much code falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via
groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through the
code review process.
Thanks

Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@int
el.c om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...%3c
mail to:ray.ni@...>>>; Michael D Kinney
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto
:m ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@int
el.c
om%3cmailto:jiaxin.wu@...>>>
Subject: RE: Request for the new package "RedfishPkg" under edk2
repo

This is the RFC for the new package "RedfishPkg" introduced to edk2
repo, I thought mailing system will add [RFC] prefix to the subject.
Sorry for the inconvenience.

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu@int
el.c
om%3cmailto:jiaxin.wu@...>>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
Subject: [edk2-devel] Request for the new package "RedfishPkg" under
edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2
solution, a new package "RedfishPkg" under edk2 repo is necessary
for accommodating the UEFI Redfish driver stacks, that includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design meeting
and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the
corresponding
definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers do
not
have the corresponding definitions in UEFI spec. This is for the
evaluation and require ECR to USWG if community agree with having
this driver for Redfish
edk2 solution.

Please refer to below link for the details,
https://github.com/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md<https://urldefense.proofpoint.co
m
/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-
253Fu
-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-
2D3Fur
l-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-
2D2D3Dhttp
s-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-
2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-
2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsPa4GJpgQpw6Ga3mBFBfABf7k0TwU&e=<https://urldefen
se.pr
oofpoint.com/v2/url?u=https-
3A__github.c&d=DwIFAg&c=C5b8zRQO1miGmBeV
Z2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=ZDn7D
prnbcQsP
W6LKdgESNPjNoC_STFSKzHiOKNgCiA&s=M-Oc-
aivFloPmCsB8exWifFgGJDh_2Q3qO7
6ai1Hodw&e=
om/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md%3chttps:/urldefense.proofpoint.c
o
m/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Furl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-
253Fu
-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-
2D3Fur
l-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-2D252Fv2-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-
2D2D3Dhttp
s-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-
2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-2D2D4MzqM-
2D2526s-2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsP> >

Thanks
Abner













Abner Chang
 

-----Original Message-----
From: Yao, Jiewen [mailto:jiewen.yao@...]
Sent: Wednesday, September 23, 2020 11:25 AM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>;
rfc@edk2.groups.io; devel@edk2.groups.io; bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo

Good to know.

Then I recommend we document assumption in the design.

I prefer to change "As the design, any BIOS to Redfish communicate should
be done before End of DXE and with SecureBoot is enabled."
to
"As the design, any BIOS to Redfish communication MUST be done before
End of DXE and with SecureBoot is enabled.
Any BIOS to Redfish communication MUST be blocked if SecureBoot is
disabled.
Above makes sense.

The communication between BIOS and BMC MUST be protected with TLS
with authentication.
Besides, the credential for the session between BIOS and BMC must be also secured. There are some implementations and proposals have been discussing in the Redfish Host interface TF for firmware bootstrapping, such as getting credential through IPMI Redfish command via KCS/I2C/etc. or any other OEM implementations. Therefore we design the EFI Redfish Credential protocol with OEM Redfish credential library to accommodate any implementations. Refer to [D2] and [D12] in the figure 1 here https://raw.githubusercontent.com/tianocore/edk2-staging/UEFI_Redfish/Images/RedfishDriverStack.png



The BIOS will NOT validate any input from BMC.
The BMC MUST take role and responsibility to perform the validation to
ensure ANY configuration MUST NOT bring negative impact to the BIOS."

Please let me know if that is right understanding.
In general, Redfish service doesn't validate if the configuration changes made remotely would harm BIOS or not. Service is just implemented to compliant with Redfish Standard spec. Service could validate the format of JSON payload and may further validate if the properties in JSON payload match the schema according to @odata.type if service has capability to maintain the schema itself. But service has no idea about what is the healthy BIOS configurations. Most of validations on BIOS configuration changes in out of band (for example the dependency and data type) is handled by Redfish client tool/orchestrater. Any further BIOS configurations errors would be happened when BIOS applies the changes in the next boot.


Thank you
Yao Jiewen

-----Original Message-----
From: Chang, Abner (HPS SW/FW Technologist) <abner.chang@...>
Sent: Wednesday, September 23, 2020 11:18 AM
To: rfc@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
devel@edk2.groups.io; bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new package
"RedfishPkg" under edk2 repo



-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of
Yao, Jiewen
Sent: Wednesday, September 23, 2020 10:30 AM
To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...>; rfc@edk2.groups.io;
bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Thank you, Abner.
I look forward to the design review in next week. :-)

I notice that the last RedfishPkg update is still 2 years ago.

In order to move staging to master, we need ensure the code meet
production quality, including but not limited to unit test, system
test and security test.

I checked the readme. It mentioned:
===============
Promote to edk2 Trunk
If a subset feature or a bug fix in this staging branch could meet
below requirement, it could be promoted to edk2 trunk and removed
from this staging branch:

Meet all edk2 required quality criteria.
Support both IA32 and X64 Platform.
Work on Redfish Profile Simulator.
Ready for product integration.
===============

Would you please give us an update if there is any extra work to
improved the quality (such as security test) so that we believe the
existing RedfishPkg is production ready for integration back to EDKII
master?

We don't have the additional work regards to the security. As the
design, any BIOS to Redfish communicate should be done before End of
DXE and with SecureBoot is enabled.
Yeah, it is welcome to raise any security issues to make a secured
edk2 Redfish solution.
Thanks


Thank you
Yao Jiewen


-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
Abner Chang
Sent: Wednesday, September 23, 2020 10:21 AM
To: rfc@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
devel@edk2.groups.io; bret.barkelew@...
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang, Fan
<fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni, Ray
<ray.ni@...>; Kinney, Michael D <michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

That would take time to run through the process of publishing this
tool (make it as public) on DMTF. I just created the reference of
source code which generated by tool on my personal GitHub (not the
tool itself)
https://github.com/changab/Redfish-JSON-C-Struct-Converter-
Lib .

The branch "Master" which are the source code to convert Redfish
JSON schemas to C code. These source code could be built by
CMakeLists.txt (under
src/_build) across platforms.
The branch " edk2-driver-wrapper" are generated by tool with some
"edk2"
options. The edk2 wrapper drivers
(/RedfishCsIntp/RedfishSchemaInterpreter ) are selected (our plan)
into edk2 build process on demand, refer to
https://github.com/tianocore/edk2-
staging/tree/UEFI_Redfish#%5B1%5
D
Edk2 driver ((/RedfishCsIntp/RedfishSchemaInterpreter) registers
itself to EFI REST JSON Structure Protocol. The upper level users
use EFI REST JSON Structure Protocol to generate Redfish JSON
payload from the C structure or vice versa from JSON to C. Thus
upper level user can use C structure member to refer to the
Redfish property with
manipulating JSON objects.
BTW, the naming of RedfishSchemaInterpreter is not sync-up with
the latest UEFI spec and the source code is not generated based
on latest
Redfish schema.


This also gives the reference to Bret regards to the answer I had
in the previous email.
No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3)
is a centralized manager to manage "EFI Redfish JSON resource to
C structure Converter libraries/drivers" for converting Redfish
resource in the specific schema from JSON format to the C
structure or
vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON
library, however "EFI Redfish JSON resource to C structure
Converter libraries/drivers" do use open source jansson library
to parse JSON
payload.

"EFI Redfish JSON resource to C structure Converter libraries/drivers"
in above refers to auto-generated source code.

We plan to present this on next week TianoCore design meeting.

-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf
Of Yao, Jiewen
Sent: Tuesday, September 15, 2020 1:44 PM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...>;
devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang,
Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni,
Ray <ray.ni@...>; Kinney, Michael D
<michael.d.kinney@...>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Thanks Abner.
Understood now. Yes, we need follow the regulation as always.

I look forward to seeing the DMTF public repo. :-)

Thank you
Yao Jiewen

From: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...>
Sent: Tuesday, September 15, 2020 1:39 PM
To: devel@edk2.groups.io; Yao, Jiewen <jiewen.yao@...>;
rfc@edk2.groups.io
Cc: Wang, Nickle (HPS SW) <nickle.wang@...>; Chen, Aaron
<aaron.chen@...>; Fu, Siyuan <siyuan.fu@...>; Wang,
Fan <fan.wang@...>; Wu, Jiaxin <jiaxin.wu@...>; Ni,
Ray <ray.ni@...>; Kinney, Michael D
<michael.d.kinney@...>
Subject: RE: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Sure Jiewen, we plan to talk about this on Tianocore design
meeting
recently.
But I may not provide the reference here because it may against
to the Redfish working group regulations.
I had requested to public this repo two years ago, however both
WG chair and I had no follow up on this. I already restarted the
conversation
with him...
just now.

For now, only the implementation of UEFI spec 29.7.2 (Redfish
instance),
29.7.3 and 31.1 will be sent to community for review.

Thanks
Abner


From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Yao, Jiewen
Sent: Tuesday, September 15, 2020 12:42 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Chang,
Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen,
Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

HI Abner
If it is DMTF private repo, should we discuss it in EDKII ?

Do we have a public reference somewhere else?

Thank you
Yao Jiewen

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf
Of
Abner Chang
Sent: Tuesday, September 15, 2020 12:23 PM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen,
Aaron
<aaron.chen@...<mailto:aaron.chen@...>>; Fu, Siyuan
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Hmm. You probably have to join dmtf as a member. That repo is
private for members now, not public yet.


Get Outlook for
Android<INVALID URI REMOVED
3A__aka.ms_ghei36&d=DwMFAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6
FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=pOqEHDFgI3N3KX0vXeQ
x5x9eAu8iFwKLxaC_oogVwiE&s=JcIdGRVs2CdvN2AKuofiuNTu3UV6lDvgB4Rj
vpRgiXM&e=>
________________________________
From: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>> on behalf of
Bret Barkelew via groups.io
<bret.barkelew@...<mailto:bret.barkelew=microsoft.
com@groups.io>>
Sent: Tuesday, September 15, 2020 12:19:29 PM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
<devel@edk2.groups.io<mailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
<rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen,
Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>
<siyuan.fu@...<mailto:siyuan.fu@...>>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-rfc] [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

That link didn't work for me.

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:59 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

No, EFI REST JSON Structure DXE Driver (UEF spec section 29.7.3)
is a centralized manager to manage "EFI Redfish JSON resource to
C structure Converter libraries/drivers" for converting Redfish
resource in the specific schema from JSON format to the C
structure or
vice versa.
EFI REST JSON Structure DXE Driver itself doesn't use JSON
library, however "EFI Redfish JSON resource to C structure
Converter libraries/drivers" do use open source jansson library
to parse JSON payload. Furthermore, "EFI Redfish JSON resource
to C structure Converter libraries/drivers" are generated by
tool based on the published
Redfish schemas.
https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator<INVALID URI REMOVED
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-2
52F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-
2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-
26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-
91Z3miShA&e=<https://github.com/DMTF/Redfish-Schema-C-Struct-
Generator%3chttps:/urldefense.proofpoint.com/v2/url?u=https-
3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-2
52F-
252Fgithub.com-252FDMTF-252FRedfish-2DSchema-2DC-2DStruct-
2DGenerator-26data-3D02-257C01-257Cbret.barkelew-
2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811797643-26sdata-
3DLdHAPly4oeVhyC6Xk7p0G0r1y8qVxrLfGZrN9EW5WpE-253D-
26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
j2rR7JmY2HjCtfOOe9ChSWCNKYseOJX2T-91Z3miShA&e=> >

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
[mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via
groups.io
Sent: Tuesday, September 15, 2020 11:41 AM
To: Chang, Abner (HPS SW/FW Technologist)
<abner.chang@...<mailto:abner.chang@...>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...>>; Chen,
Aaron
<aaron.chen@...<mailto:aaron.chen@...>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

JSON Structure would probably be worth discussing. I know that
there are other places I've seen JSON used and it may end up
that we want common business logic (similar to using Oniguruma
for regex). Do you parse/format JSON in that one?

- Bret

From: Chang, Abner (HPS SW/FW
Technologist)<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:33 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Bret
Barkelew<mailto:Bret.Barkelew@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] RE: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Not many drivers fall in edk2 repo so far, those are drivers
with the corresponding definitions in UEFI spec.

* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI REST JSON Structure DXE Driver

All others have to go through code first policy, will be in edk2-staging
repo.

-Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Bret Barkelew via
groups.io
Sent: Tuesday, September 15, 2020 11:19 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS
SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu
@int el.c om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...
m%3c mail to:ray.ni@...>>>; Kinney, Michael D
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto
:m
ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

I think code review works. I'm primarily interested in seeing
how much code falls under the "edk2" vs "edk2-staging" repos.

- Bret

From: Abner Chang via
groups.io<mailto:abner.chang@...>
Sent: Monday, September 14, 2020 8:12 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS
SW/FW Technologist)<mailto:abner.chang@...>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)<mailto:nickle.wang@...>; Chen,
Aaron<mailto:aaron.chen@...>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang,
Fan<mailto:fan.wang@...>; Wu,
Jiaxin<mailto:jiaxin.wu@...>;
Ni, Ray<mailto:ray.ni@...>; Kinney, Michael
D<mailto:michael.d.kinney@...>
Subject: [EXTERNAL] Re: [edk2-devel] [RFC] Request for the new
package "RedfishPkg" under edk2 repo

Seems no one has comment on this topic. Let's just go through
the code review process.
Thanks

Abner

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Wednesday, September 9, 2020 11:02 AM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu
@int el.c om%3cmailto:jiaxin.wu@...>>>; Ni, Ray
<ray.ni@...<mailto:ray.ni@...<mailto:ray.ni@...
m%3c mail to:ray.ni@...>>>; Michael D Kinney
<michael.d.kinney@...<mailto:michael.d.kinney@...<mailto
:m
ichael.d.kinney@...%3cmailto:michael.d.kinney@...>>>
Subject: Re: [edk2-devel] [RFC] Request for the new package
"RedfishPkg"
under edk2 repo

Add [RFC] to the subject, add Ray and Mike to the loop.

From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, September 8, 2020 12:06 PM
To:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>; Chang, Abner (HPS
SW/FW
Technologist)
<abner.chang@...<mailto:abner.chang@...<mailto:abner.chang
@hpe.com%3cmailto:abner.chang@...>>>;
rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu
@int
el.c
om%3cmailto:jiaxin.wu@...>>>
Subject: RE: Request for the new package "RedfishPkg" under edk2
repo

This is the RFC for the new package "RedfishPkg" introduced to
edk2 repo, I thought mailing system will add [RFC] prefix to the
subject.
Sorry for the inconvenience.

From:
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
[mailto:devel@edk2.groups.io] On Behalf Of Abner Chang
Sent: Tuesday, September 8, 2020 11:48 AM
To: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>
Cc: Wang, Nickle (HPS SW)
<nickle.wang@...<mailto:nickle.wang@...<mailto:nickle.wang
@hpe.com%3cmailto:nickle.wang@...>>>; Chen, Aaron
<aaron.chen@...<mailto:aaron.chen@...<mailto:aaron.chen@h
pe.com%3cmailto:aaron.chen@...>>>;
siyuan.fu@...<mailto:siyuan.fu@...>; Wang, Fan
<fan.wang@...<mailto:fan.wang@...<mailto:fan.wang@intel.
c om%3cmailto:fan.wang@...>>>; Wu, Jiaxin
<jiaxin.wu@...<mailto:jiaxin.wu@...<mailto:jiaxin.wu
@int
el.c
om%3cmailto:jiaxin.wu@...>>>;
devel@edk2.groups.io<mailto:devel@edk2.groups.io<mailto:devel@...
r oups.io%3cmailto:devel@edk2.groups.io>>
Subject: [edk2-devel] Request for the new package "RedfishPkg"
under
edk2 repo

Hi everyone,
Given that we are going to contribute code of UEFI Redfish edk2
solution, a new package "RedfishPkg" under edk2 repo is
necessary for accommodating the UEFI Redfish driver stacks, that
includes

* EFI Redfish Host Interface DXE Driver
* EFI Refish Credential DXE Driver
* EFI REST EX UEFI Driver for Redfish service
* EFI Redfish Discover UEFI Driver
* EFI Redfish Discover Protocol
* EFI Redfish Config UEFI Driver
* EFI BIOS Config To Redfish Dxe Driver
* EFI REST JSON Structure DXE Driver
* EFI Source Coding DXE Driver
* EFI BIOS Resource Provision Generation Protocol
* EFI BIOS Resource Provision Transport Layer Protocol

The architecture have been discussing in TianoCore Design
meeting and the corresponding BZ were created as well.
The code we will start to contribute includes

* Contribute to edk2 repo for those drivers already have the
corresponding
definitions in UEFI spec.
* Contribute code to edk2-staging/UEFI _Redfish for those drivers
do
not
have the corresponding definitions in UEFI spec. This is for the
evaluation and require ECR to USWG if community agree with
having this driver for Redfish
edk2 solution.

Please refer to below link for the details,
https://github.com/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md<https://urldefense.proofpoint.co
m/v2/url?u=https-
3A__urldefense.proofpoint.co&d=DwIFAg&c=C5b8zRQO1mi
GmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=
aRtXEEqF
1VAyFfi-HO2aIS1ozbtsW9uxT5y0iAzlfxM&s=IlFcwfHm4aUKThxWeaT0du-
emGheE8
eusASNSx470sg&e=
m
/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-3Fur
l-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-
253Fu
-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-
2D3Fur
l-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-
2D252Fv2
-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-
2D2D3Dhttp
s-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-
2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-
2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-
2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-
2D2D4MzqM-
2D2526s-
2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-
2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-
253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsPa4GJpgQpw6Ga3mBFBfABf7k0TwU&e=<https://urldefen
se.pr
oofpoint.com/v2/url?u=https-
3A__urldefen&d=DwIFAg&c=C5b8zRQO1miGmBeV
Z2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=aRtXEE
qF1VAyF
fi-
HO2aIS1ozbtsW9uxT5y0iAzlfxM&s=q7IBzqEgy75bF_WdM3q2_2eip9KtxZYbL9
u
UDxU_8A0&e=
se.pr
oofpoint.com/v2/url?u=https-
3A__github.c&d=DwIFAg&c=C5b8zRQO1miGmBeV
Z2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=ZDn7D
prnbcQsP
W6LKdgESNPjNoC_STFSKzHiOKNgCiA&s=M-Oc-
aivFloPmCsB8exWifFgGJDh_2Q3qO7
6ai1Hodw&e=
om/tianocore/edk2-
staging/blob/UEFI_Redfish/Readme.md%3chttps:/urldefense.proofpoint.c
o
m/v2/url?u=https-3A__nam06.safelinks.protection.outlook.com_-
3Fu
rl-
3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-
253Fu
-
253Dhttps-2D3A-5F-5Fnam06.safelinks.protection.outlook.com-5F-
2D3Fur
l-
2D3Dhttps-2D253A-2D252F-2D252Furldefense.proofpoint.com-
2D252Fv2
-
2D252Furl-2D253Fu-2D253Dhttps-2D2D3A-2D5F-
2D5Fnam06.safelinks.protection.outlook.com-2D5F-2D2D3Furl-
2D2D3Dhttp
s-
2D2D253A-2D2D252F-2D2D252Fgithub.com-2D2D252Ftianocore-
2D2D252Fedk2-2D2D2Dstaging-2D2D252Fblob-2D2D252FUEFI-
2D2D5FRedfish-2D2D252FReadme.md-2D2D26data-2D2D3D02-
2D2D257C01-
2D2D257Cbret.barkelew-2D2D2540microsoft.com-
2D2D257Cec6961ac4b3143f196be08d859251f68-
2D2D257C72f988bf86f141af91ab2d7cd011db47-2D2D257C1-
2D2D257C0-
2D2D257C637357363278947284-2D2D26sdata-
2D2D3Dkt66JYtpN1X1hCrt5cQY3btyQEdoqZYkVPW5J7w8dws-
2D2D253D-
2D2D26reserved-2D2D3D0-2D2526d-2D253DDwMF-2D2Dg-2D2526c-
2D253DC5b8zRQO1miGmBeVZ2LFWg-2D2526r-2D253D-
2D5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2D2526m-
2D253DvNotrFyeoRyYey-2D2D0DOEVOLlZ7unqNGts5l1lH-
2D2D4MzqM-
2D2526s-
2D253DBO3e8WR8joHCC9lD6Guk5Q2XN8DJ0JCOTy2AfB279q8-
2D2526e-2D253D-2D26data-2D3D02-2D257C01-2D257Cbret.barkelew-
2D2540microsoft.com-2D257C6bd38bf379f64b06f6b808d859282266-
2D257C72f988bf86f141af91ab2d7cd011db47-2D257C1-2D257C0-
2D257C637357376203679617-2D26sdata-2D3D-
2D252Fc1YADqJZbAxtJEfc7R4LRToIVVG-2D252F8P5K9XRzp2RTio-
2D253D-
2D26reserved-2D3D0-2526d-253DDwMF-2Dg-2526c-
253DC5b8zRQO1miGmBeVZ2LFWg-2526r-253D-
5FSN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E-2526m-
253DDkSlNNriVFNl3jnCeMG8vtCRlB3CgfREapKoapz-2Dcx0-2526s-
253DvXm2LZsMsTXRCNZ9IZvid63RGiDHFF5aL-5F2JBwiL7kg-2526e-
253D-
26data-3D02-257C01-257Cbret.barkelew-2540microsoft.com-
257C1b8115973f364cea229008d8592bc486-
257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-
257C637357391811802634-26sdata-3Dr9JTbIGJH3tmabZ-
252BOtYAjVm5PRXWvuK0Wm2v2NByE1M-253D-26reserved-
3D0&d=DwIF-
g&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulkskz6qU3NYRO03nH
p9P7Z5q59A3E&m=goBsQ2eLlP7qVkOJAy8TPlQ0B6NFvNm4rP58u6ASQxc&s=
2U_MKBpgLtoTglsP> >

Thanks
Abner