Comments (7)
Do we have to support that? I think we can just scope RedfishClinetPkg to support the platform configuration setting and inventory. The actions for Action POST should be taken by BMC, right?
from edk2-redfish-client-deprecated.
Yes, BMC has to handle action request from user. But I like to discussion how BIOS provide the context of /redfish/v1/Systems/SYS/Bios to BMC while this resource is empty in the beginning.
BIOS know how to provide Attributes object. @odata.XX meta data can be handled by BMC. But how about the initial value of Action attribute? Does REST to C structure generate Redfish actions automatically?
from edk2-redfish-client-deprecated.
ok, I see your point. Does VFR have syntax like Action button? :)
from edk2-redfish-client-deprecated.
ok, I see your point. Does VFR have syntax like Action button? :)
Yeah there is button support in VFR. But this means that we have to create a button and hide in HII (since there is no function for it in HII) I am wondering if REST to C structure can help to create action context since they are defined in schema already...
from edk2-redfish-client-deprecated.
Just notice that there is no "value" defined for button op-code. Not sure how to define action link by using button op-codes. Let's discuss this during our call.
from edk2-redfish-client-deprecated.
We can create a hidden string op-code to specify the location of BIOS action. For example:
#string STR_BIOS_PASSWD_PROMPT #language x-uefi-redfish-Bios.v1_0_9 "/Bios/Actions/#Bios.ChangePassword/target"
#string STR_BIOS_PASSWD_TARGET_PROMPT #language x-uefi-redfish-Bios.v1_0_9 "/redfish/v1/Systems/437XR1138R2/Bios/Actions/Bios.ChangePassword"
from edk2-redfish-client-deprecated.
So this is about how to generate the context of BIOS action while provisioning. In terms of supporting Redfish action, we certainly need BMC to help us and take HTTP POST from user. But one question comes to my mind is: if BMC can do things for us, what BMC can do so we can standardize the Redfish action support?
One idea is to convert the Redfish action to the read-only attributes in the resource. BMC takes POST action and help to update this read-only attribute. While BIOS is consuming resource, BIOS knows there is a action triggered. For eaxample:
- ResetBiosToDefaultsPending in Bios.v1_2_0
- Oem.XXX.ResetKeysPending in Secure boot schema
from edk2-redfish-client-deprecated.
Related Issues (20)
- [Design] Do we need NULL version of feature driver so that platform can has their own implementation? HOT 3
- [Code] BIOS feature driver supports loading defaults HOT 2
- [Code] Error handling support and return error message in Messages object HOT 2
- [code]Early DXE phase Redfish consumption
- [Spec] Define the URI location rule of BIOS attribute registry HOT 1
- Verify USB CDC driver for Redfish Host Interface HOT 7
- [Code] Support Conditional/Atomic HTTP operations to secure BIOS HOT 3
- [Design] How to configure station IP address from SMBIOS type 42 record HOT 4
- [Spec] Spec out the way to build up SMBIOS 42 in UEFI spec. HOT 3
- [design] how to generate feature drivers while attributes are read-only HOT 1
- [Design] feature driver OEM or hook support for customized attributes HOT 3
- [Design] how to find BMC exposed NIC in BIOS? HOT 4
- [Design] how to identify the request between BIOS and OOB user HOT 2
- [Design] Use @Redfish.Settings to support pending settings in Computer System HOT 1
- [code] Update RedfishCredentailDxe driver
- [Code] upstream RedfishDebugLib to edk2 HOT 2
- Redfish error report lib HOT 5
- Always use "PUT" during update operation HOT 1
- Auto-generate configure language
- Update RedfishClientPkg ReadMe.md
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edk2-redfish-client-deprecated.