nicklela / edk2-redfish-client-deprecated

Edk2 RedfishClientPkg workplace
Other
0 stars 0 forks source link

RedfishClientPkg: Add mechanism to reboot system if config is changed #26

Closed nicklela closed 1 year ago

nicklela commented 1 year ago

When system configuration is updated from RESTful interface, we need a system reboot so that the changes can be applied. Introduce PCD "PcdSystemRebootRequired" to RedfishClientPkg. RedfishFeatureUtility library will enable this flag when system config is updated. RedfishFeatureCore driver will check this flag and perform cold reboot after all Redfish operations are finished. PCD "PcdSystemRebootTimeout" is used to specify how many second BIOS will wait before reboot system.

Signed-off-by: Nickle Wang nicklew@nvidia.com Cc: Abner Chang abner.chang@amd.com Cc: Igor Kulchytskyy igork@ami.com Cc: Nick Ramirez nramirez@nvidia.com