Date   

Re: [edk2-devel] [RFC] Request to move MinPlatformPkg out of the Intel folder

Nate DeSimone
 

Hey Laszlo,

On 9/30/20, 11:54 PM, Laszlo Ersek <lersek@...> wrote:

Since I've been CC'd -- the MinPlatformPkg move seems logical to me.
Regarding the tools, I guess it depends on how many Intel-specific quirks
they contain. I guess they could be moved too after a potential refactoring /
splitting.
With regard to the tool refactoring, Leif had the same feedback and I completely agree with both of you. I have filed a BZ to track the tool refactoring as a separate item: https://bugzilla.tianocore.org/show_bug.cgi?id=2992

Thanks,
Nate


Re: [RFC] Request to move MinPlatformPkg out of the Intel folder

Leif Lindholm
 

On Thu, Oct 01, 2020 at 23:20:01 +0000, Desimone, Nathaniel L wrote:
One thing I think is needed for this to move out of Platform/Intel would be a
ReadMe.rst describing the intended real-world use.
Some of this lives in Platform/Intel/Readme.md today.
Could we start with a set moving this text into a separate file under
MinPlatformPkg and rework that into something that stands on its own?
Yeah agreed, given that the feedback on this RFC has been pretty
positive thus far, I'm planning on making a patch series for
this. I'll make these changes part of said patch series.
Sounds good.

If I was to bikeshed, I'd probably suggest
Platform/TianoCore/MinPlatformPkg. Oops, guess I did.
Seems a little superfluous to me... isn't edk2-platforms part of TianoCore by definition? 😊
It is. It's just the pattern for everything else in edk2-platforms
(apart from OptionRomPkg, which was just transplanted from edk2)
exists in the form of <section>/$VENDOR/. Platform/MinPlatformPkg
would be the only bare package in Platform/.

I think we should see this as a separate step, regardless.

I do think we should be able to do better on sharing some of this platform
image tooling cross-architecture (even moreso now Risc-V is involved), but I
would prefer for us to spend the effort of identifying the intersections
upfront before we start uploading tools to places where they look generic
and may confuse people.

Maybe we should raise this part as a BZ?
Yup, sounds like good next steps to me. I've filed the BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2992
Top man.

Best Regards,

Leif


Re: [RFC] Request to move MinPlatformPkg out of the Intel folder

Nate DeSimone
 

Hey Leif,

On 10/1/20, 4:52 AM, " Leif Lindholm" <leif@...> wrote:

Very positive to this on the whole.
Happy to hear!

I have only been following MinPlatformPkg peripherally - at the time it was
merged, I did not have the bandwidth to look into it and help make it cross-
architecture from the start, so I mostly refrained from comment.

One thing I think is needed for this to move out of Platform/Intel would be a
ReadMe.rst describing the intended real-world use.
Some of this lives in Platform/Intel/Readme.md today.
Could we start with a set moving this text into a separate file under
MinPlatformPkg and rework that into something that stands on its own?
Yeah agreed, given that the feedback on this RFC has been pretty positive thus far, I'm planning on making a patch series for this. I'll make these changes part of said patch series.

If I was to bikeshed, I'd probably suggest
Platform/TianoCore/MinPlatformPkg. Oops, guess I did.
Seems a little superfluous to me... isn't edk2-platforms part of TianoCore by definition? 😊

I think we should see this as a separate step, regardless.

I do think we should be able to do better on sharing some of this platform
image tooling cross-architecture (even moreso now Risc-V is involved), but I
would prefer for us to spend the effort of identifying the intersections
upfront before we start uploading tools to places where they look generic
and may confuse people.

Maybe we should raise this part as a BZ?
Yup, sounds like good next steps to me. I've filed the BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2992

Thanks,
Nate


Re: [edk2-devel] [RFC] Request to move MinPlatformPkg out of the Intel folder

christian.walter@...
 

Hi Nate,

totally agree with you.

Best,

Chris

On 10/1/20 9:43 AM, Wim Vervoorn wrote:
Hi Nate,

I agree this sounds like a good plan. The MinPlatform should be as generic as possible and suitable for all architectures.

In fact it is similar to the UEFIPayload package wich is also standalone.

Best Regards,
Wim Vervoorn

Eltan B.V.
Ambachtstraat 23
5481 SM Schijndel
The Netherlands

T : +31-(0)73-594 46 64
E : wvervoorn@...
W : http://www.eltan.com


"This message contains confidential information. Unless you are the intended recipient of this message, any use of this message is strictly prohibited. If you have received this message in error, please immediately notify the sender by telephone +31-(0)73-5944664 or reply email, and immediately delete this message and all copies."


-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of Nate DeSimone
Sent: Thursday, October 1, 2020 1:17 AM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Leif Lindholm <leif@...>; Laszlo Ersek <lersek@...>; Ard Biesheuvel <ard.biesheuvel@...>; Kirkendall, Garrett <garrett.kirkendall@...>; Lendacky, Thomas <thomas.lendacky@...>; thomas.abraham@...; Frank.Orr@...; Jim Dailey <jim.dailey@...>; Abner Chang <abner.chang@...>; Wang, Sunny (HPS SW) <sunnywang@...>; Daniel Schaefer <daniel.schaefer@...>; Liming Gao <gaoliming@...>; Tim Lewis <tim.lewis@...>; Kevin@Insyde <kevin.davis@...>; Felix Polyudov <felixp@...>; Kinney, Michael D <michael.d.kinney@...>; Oram, Isaac W <isaac.w.oram@...>; Ni, Ray <ray.ni@...>
Subject: [edk2-rfc] [RFC] Request to move MinPlatformPkg out of the Intel folder

Hi Everyone,

This has come up informally a couple of times already, but I do think that it would be beneficial to move MinPlatformPkg out of the Platform/Intel folder and into a vendor neutral folder. MinPlatform really isn't Intel specific, it's just "middleware" that is intended to make it easier and faster to build EDK II based firmware. We have always intended MinPlatform to be vendor neutral, and it would be great to see MinPlatform based implementations for non-Intel silicon. Anyone working with EDK II should feel welcome to work with us on MinPlatform, regardless of the SoC in use.

To that end, I propose that we move MinPlatformPkg out of edk2-platforms/Platform/Intel to edk2-platforms/Platform/MinPlatformPkg. It might also make sense to move edk2-platforms/Platform/Intel/Tools and edk2-platforms/Platform/Intel/build_bios.py to edk2-platforms/Platform as well since those are all useful for building MinPlatform based firmware, but I could also see that being something for another time. Let me know what you think!

Thanks,
Nate













--
*Christian Walter*
*Head of Firmware Development / Cyber Security *



9elements GmbH, Kortumstraße 19-21, 44787 Bochum, Germany
Email:  christian.walter@...
Phone:  _+49 234 68 94 188 <tel:+492346894188>_
Mobile:  _+49 176 70845047 <tel:+4917670845047>_

Sitz der Gesellschaft: Bochum
Handelsregister: Amtsgericht Bochum, HRB 17519
Geschäftsführung: Sebastian Deutsch, Eray Basar

Datenschutzhinweise nach Art. 13 DSGVO <https://9elements.com/privacy>


Re: [RFC] Request to move MinPlatformPkg out of the Intel folder

Wim Vervoorn <wvervoorn@...>
 

Hi Nate,

I agree this sounds like a good plan. The MinPlatform should be as generic as possible and suitable for all architectures.

In fact it is similar to the UEFIPayload package wich is also standalone.

Best Regards,
Wim Vervoorn

Eltan B.V.
Ambachtstraat 23
5481 SM Schijndel
The Netherlands

T : +31-(0)73-594 46 64
E : wvervoorn@...
W : http://www.eltan.com


"This message contains confidential information. Unless you are the intended recipient of this message, any use of this message is strictly prohibited. If you have received this message in error, please immediately notify the sender by telephone +31-(0)73-5944664 or reply email, and immediately delete this message and all copies."

-----Original Message-----
From: rfc@edk2.groups.io [mailto:rfc@edk2.groups.io] On Behalf Of Nate DeSimone
Sent: Thursday, October 1, 2020 1:17 AM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Leif Lindholm <leif@...>; Laszlo Ersek <lersek@...>; Ard Biesheuvel <ard.biesheuvel@...>; Kirkendall, Garrett <garrett.kirkendall@...>; Lendacky, Thomas <thomas.lendacky@...>; thomas.abraham@...; Frank.Orr@...; Jim Dailey <jim.dailey@...>; Abner Chang <abner.chang@...>; Wang, Sunny (HPS SW) <sunnywang@...>; Daniel Schaefer <daniel.schaefer@...>; Liming Gao <gaoliming@...>; Tim Lewis <tim.lewis@...>; Kevin@Insyde <kevin.davis@...>; Felix Polyudov <felixp@...>; Kinney, Michael D <michael.d.kinney@...>; Oram, Isaac W <isaac.w.oram@...>; Ni, Ray <ray.ni@...>
Subject: [edk2-rfc] [RFC] Request to move MinPlatformPkg out of the Intel folder

Hi Everyone,

This has come up informally a couple of times already, but I do think that it would be beneficial to move MinPlatformPkg out of the Platform/Intel folder and into a vendor neutral folder. MinPlatform really isn't Intel specific, it's just "middleware" that is intended to make it easier and faster to build EDK II based firmware. We have always intended MinPlatform to be vendor neutral, and it would be great to see MinPlatform based implementations for non-Intel silicon. Anyone working with EDK II should feel welcome to work with us on MinPlatform, regardless of the SoC in use.

To that end, I propose that we move MinPlatformPkg out of edk2-platforms/Platform/Intel to edk2-platforms/Platform/MinPlatformPkg. It might also make sense to move edk2-platforms/Platform/Intel/Tools and edk2-platforms/Platform/Intel/build_bios.py to edk2-platforms/Platform as well since those are all useful for building MinPlatform based firmware, but I could also see that being something for another time. Let me know what you think!

Thanks,
Nate


Re: [RFC] Request for new git repository for EdkRepo

Bjorge, Erik C
 

I am fine with a new repo. This also supports a good workflow to get a tool that then lets you pull full platforms. In theory you would only ever really need to clone a single repo manually (assuming reasonable manifest support).

Are you also looking at creating a separate manifest repo as well or just creating a manifest branch in the new EdkRepo repository?

Thanks,
-Erik

-----Original Message-----
From: Desimone, Nathaniel L <nathaniel.l.desimone@...>
Sent: Wednesday, September 30, 2020 2:56 PM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>; Bjorge, Erik C <erik.c.bjorge@...>
Subject: [RFC] Request for new git repository for EdkRepo

Hi Everyone,

Given that EdkRepo has existed in the project for over a year now (in edk2-staging) I think it is time to get out of staging. I have considered multiple possible landing zones:

1. edk2
2. edk2-pytool-library
3. A new repository

Edk2 does not seem like a good location as EdkRepo isn't strictly necessary to build EDK II, and I think all of us would prefer that edk2 not become a dumping ground. I have talked with the other maintainers of edk2-pytool-library and they would prefer that EdkRepo not enter that repository because EdkRepo does not have a robust set of unit tests yet and they don't want their test coverage metrics to decline. Therefore, the best choice seems to be a new repository. As always if anyone has comments they are welcome!

Thanks,
Nate


Re: [RFC] Request to move MinPlatformPkg out of the Intel folder

Leif Lindholm
 

Hi Nate,

On Wed, Sep 30, 2020 at 23:17:15 +0000, Desimone, Nathaniel L wrote:
This has come up informally a couple of times already, but I do
think that it would be beneficial to move MinPlatformPkg out of the
Platform/Intel folder and into a vendor neutral folder. MinPlatform
really isn't Intel specific, it's just "middleware" that is intended
to make it easier and faster to build EDK II based firmware. We have
always intended MinPlatform to be vendor neutral, and it would be
great to see MinPlatform based implementations for non-Intel
silicon. Anyone working with EDK II should feel welcome to work with
us on MinPlatform, regardless of the SoC in use.
Very positive to this on the whole.

I have only been following MinPlatformPkg peripherally - at the time
it was merged, I did not have the bandwidth to look into it and help
make it cross-architecture from the start, so I mostly refrained from
comment.

One thing I think is needed for this to move out of Platform/Intel
would be a ReadMe.rst describing the intended real-world use.
Some of this lives in Platform/Intel/Readme.md today.
Could we start with a set moving this text into a separate file under
MinPlatformPkg and rework that into something that stands on its own?

To that end, I propose that we move MinPlatformPkg out of
edk2-platforms/Platform/Intel to
edk2-platforms/Platform/MinPlatformPkg.
If I was to bikeshed, I'd probably suggest
Platform/TianoCore/MinPlatformPkg. Oops, guess I did.

It might also make sense to
move edk2-platforms/Platform/Intel/Tools and
edk2-platforms/Platform/Intel/build_bios.py to
edk2-platforms/Platform as well since those are all useful for
building MinPlatform based firmware, but I could also see that being
something for another time. Let me know what you think!
I think we should see this as a separate step, regardless.

I do think we should be able to do better on sharing some of this
platform image tooling cross-architecture (even moreso now Risc-V is
involved), but I would prefer for us to spend the effort of
identifying the intersections upfront before we start uploading tools
to places where they look generic and may confuse people.

Maybe we should raise this part as a BZ?

Best Regards,

Leif


Re: [RFC] Request to move MinPlatformPkg out of the Intel folder

Kirkendall, Garrett
 

We have recently been evaluating the merits of MinPlatformPkg. We would welcome a MinPlatformPkg that is more accessible.

GARRETT KIRKENDALL
SMTS Firmware Engineer
7171 Southwest Parkway, Austin, TX 78735 USA
AMD   facebook  |  amd.com

-----Original Message-----
From: Desimone, Nathaniel L <nathaniel.l.desimone@...>
Sent: Wednesday, September 30, 2020 6:17 PM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Leif Lindholm <leif@...>; Laszlo Ersek <lersek@...>;
Ard Biesheuvel <ard.biesheuvel@...>; Kirkendall, Garrett
<Garrett.Kirkendall@...>; Lendacky, Thomas
<Thomas.Lendacky@...>; thomas.abraham@...;
Frank.Orr@...; Jim Dailey <jim.dailey@...>; Abner Chang
<abner.chang@...>; Wang, Sunny (HPS SW) <sunnywang@...>;
Daniel Schaefer <daniel.schaefer@...>; Liming Gao
<gaoliming@...>; Tim Lewis <tim.lewis@...>;
Kevin@Insyde <kevin.davis@...>; Felix Polyudov
<felixp@...>; Kinney, Michael D <michael.d.kinney@...>; Oram,
Isaac W <isaac.w.oram@...>; Ni, Ray <ray.ni@...>
Subject: [RFC] Request to move MinPlatformPkg out of the Intel folder

[CAUTION: External Email]

Hi Everyone,

This has come up informally a couple of times already, but I do think that it
would be beneficial to move MinPlatformPkg out of the Platform/Intel folder
and into a vendor neutral folder. MinPlatform really isn't Intel specific, it's
just "middleware" that is intended to make it easier and faster to build EDK II
based firmware. We have always intended MinPlatform to be vendor
neutral, and it would be great to see MinPlatform based implementations for
non-Intel silicon. Anyone working with EDK II should feel welcome to work
with us on MinPlatform, regardless of the SoC in use.

To that end, I propose that we move MinPlatformPkg out of edk2-
platforms/Platform/Intel to edk2-platforms/Platform/MinPlatformPkg. It
might also make sense to move edk2-platforms/Platform/Intel/Tools and
edk2-platforms/Platform/Intel/build_bios.py to edk2-platforms/Platform as
well since those are all useful for building MinPlatform based firmware, but I
could also see that being something for another time. Let me know what you
think!

Thanks,
Nate


Re: [RFC] Request to move MinPlatformPkg out of the Intel folder

Laszlo Ersek
 

On 10/01/20 01:17, Desimone, Nathaniel L wrote:
Hi Everyone,

This has come up informally a couple of times already, but I do think that it would be beneficial to move MinPlatformPkg out of the Platform/Intel folder and into a vendor neutral folder. MinPlatform really isn't Intel specific, it's just "middleware" that is intended to make it easier and faster to build EDK II based firmware. We have always intended MinPlatform to be vendor neutral, and it would be great to see MinPlatform based implementations for non-Intel silicon. Anyone working with EDK II should feel welcome to work with us on MinPlatform, regardless of the SoC in use.

To that end, I propose that we move MinPlatformPkg out of edk2-platforms/Platform/Intel to edk2-platforms/Platform/MinPlatformPkg. It might also make sense to move edk2-platforms/Platform/Intel/Tools and edk2-platforms/Platform/Intel/build_bios.py to edk2-platforms/Platform as well since those are all useful for building MinPlatform based firmware, but I could also see that being something for another time. Let me know what you think!
Since I've been CC'd -- the MinPlatformPkg move seems logical to me.
Regarding the tools, I guess it depends on how many Intel-specific
quirks they contain. I guess they could be moved too after a potential
refactoring / splitting.

Laszlo


Re: [RFC] Request to move MinPlatformPkg out of the Intel folder

Abner Chang
 

That makes sense to move out MinPlatformPkg to under the vendor neutral folder if it is not Intel specific. On RISC-V, we have Platforms/RISC-V/PlatformPkg and the vendor neutral folder of RISC-V platform (e.g. Platforms/SiFive) which could leverage the driver/lib provided by RISC-V PlatformPkg.

-----Original Message-----
From: Desimone, Nathaniel L [mailto:nathaniel.l.desimone@...]
Sent: Thursday, October 1, 2020 7:17 AM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Leif Lindholm <leif@...>; Laszlo Ersek <lersek@...>;
Ard Biesheuvel <ard.biesheuvel@...>; Kirkendall, Garrett
<garrett.kirkendall@...>; Lendacky, Thomas
<thomas.lendacky@...>; thomas.abraham@...;
Frank.Orr@...; Jim Dailey <jim.dailey@...>; Chang, Abner (HPS
SW/FW Technologist) <abner.chang@...>; Wang, Sunny (HPS SW)
<sunnywang@...>; Schaefer, Daniel <daniel.schaefer@...>;
Liming Gao <gaoliming@...>; Tim Lewis
<tim.lewis@...>; Kevin@Insyde <kevin.davis@...>; Felix
Polyudov <felixp@...>; Kinney, Michael D
<michael.d.kinney@...>; Oram, Isaac W <isaac.w.oram@...>;
Ni, Ray <ray.ni@...>
Subject: [RFC] Request to move MinPlatformPkg out of the Intel folder

Hi Everyone,

This has come up informally a couple of times already, but I do think that it
would be beneficial to move MinPlatformPkg out of the Platform/Intel folder
and into a vendor neutral folder. MinPlatform really isn't Intel specific, it's
just "middleware" that is intended to make it easier and faster to build EDK II
based firmware. We have always intended MinPlatform to be vendor neutral,
and it would be great to see MinPlatform based implementations for non-
Intel silicon. Anyone working with EDK II should feel welcome to work with us
on MinPlatform, regardless of the SoC in use.

To that end, I propose that we move MinPlatformPkg out of edk2-
platforms/Platform/Intel to edk2-platforms/Platform/MinPlatformPkg. It
might also make sense to move edk2-platforms/Platform/Intel/Tools and
edk2-platforms/Platform/Intel/build_bios.py to edk2-platforms/Platform as
well since those are all useful for building MinPlatform based firmware, but I
could also see that being something for another time. Let me know what you
think!

Thanks,
Nate


Re: [RFC] Request for new git repository for EdkRepo

Nate DeSimone
 

Hi Erik,

A separate manifest repository would probably be a good idea. The manifest repo is used for a lot of EdkRepo's operations so having a smaller repo dedicated repo could be beneficial from a performance standpoint.

Thanks,
Nate

-----Original Message-----
From: Bjorge, Erik C <erik.c.bjorge@...>
Sent: Wednesday, September 30, 2020 3:29 PM
To: Desimone, Nathaniel L <nathaniel.l.desimone@...>; devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>
Subject: RE: [RFC] Request for new git repository for EdkRepo

I am fine with a new repo. This also supports a good workflow to get a tool that then lets you pull full platforms. In theory you would only ever really need to clone a single repo manually (assuming reasonable manifest support).

Are you also looking at creating a separate manifest repo as well or just creating a manifest branch in the new EdkRepo repository?

Thanks,
-Erik

-----Original Message-----
From: Desimone, Nathaniel L <nathaniel.l.desimone@...>
Sent: Wednesday, September 30, 2020 2:56 PM
To: devel@edk2.groups.io; rfc@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@...>; Bjorge, Erik C <erik.c.bjorge@...>
Subject: [RFC] Request for new git repository for EdkRepo

Hi Everyone,

Given that EdkRepo has existed in the project for over a year now (in edk2-staging) I think it is time to get out of staging. I have considered multiple possible landing zones:

1. edk2
2. edk2-pytool-library
3. A new repository

Edk2 does not seem like a good location as EdkRepo isn't strictly necessary to build EDK II, and I think all of us would prefer that edk2 not become a dumping ground. I have talked with the other maintainers of edk2-pytool-library and they would prefer that EdkRepo not enter that repository because EdkRepo does not have a robust set of unit tests yet and they don't want their test coverage metrics to decline. Therefore, the best choice seems to be a new repository. As always if anyone has comments they are welcome!

Thanks,
Nate


[RFC] Request to move MinPlatformPkg out of the Intel folder

Nate DeSimone
 

Hi Everyone,

This has come up informally a couple of times already, but I do think that it would be beneficial to move MinPlatformPkg out of the Platform/Intel folder and into a vendor neutral folder. MinPlatform really isn't Intel specific, it's just "middleware" that is intended to make it easier and faster to build EDK II based firmware. We have always intended MinPlatform to be vendor neutral, and it would be great to see MinPlatform based implementations for non-Intel silicon. Anyone working with EDK II should feel welcome to work with us on MinPlatform, regardless of the SoC in use.

To that end, I propose that we move MinPlatformPkg out of edk2-platforms/Platform/Intel to edk2-platforms/Platform/MinPlatformPkg. It might also make sense to move edk2-platforms/Platform/Intel/Tools and edk2-platforms/Platform/Intel/build_bios.py to edk2-platforms/Platform as well since those are all useful for building MinPlatform based firmware, but I could also see that being something for another time. Let me know what you think!

Thanks,
Nate


[RFC] Request for new git repository for EdkRepo

Nate DeSimone
 

Hi Everyone,

Given that EdkRepo has existed in the project for over a year now (in edk2-staging) I think it is time to get out of staging. I have considered multiple possible landing zones:

1. edk2
2. edk2-pytool-library
3. A new repository

Edk2 does not seem like a good location as EdkRepo isn't strictly necessary to build EDK II, and I think all of us would prefer that edk2 not become a dumping ground. I have talked with the other maintainers of edk2-pytool-library and they would prefer that EdkRepo not enter that repository because EdkRepo does not have a robust set of unit tests yet and they don't want their test coverage metrics to decline. Therefore, the best choice seems to be a new repository. As always if anyone has comments they are welcome!

Thanks,
Nate


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

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













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

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













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

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







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

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.


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

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


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

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


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

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

361 - 380 of 780