| commit | 9f16b2c1b6b6884482bca304fcaa573caf91d0d6 | [log] [tgz] |
|---|---|---|
| author | Jennifer Lee <jennifer1.lee@intel.com> | Fri Apr 19 15:33:48 2019 -0700 |
| committer | Ed Tanous <ed.tanous@intel.com> | Fri May 10 14:54:41 2019 +0000 |
| tree | 1c5eb6e67bef720965a7cf2d68d8a9e9918de299 | |
| parent | e742b6ccd6cc08d91f705a7d156768cb0330a5a2 [diff] |
[Redfish] Fix incorrect mapping of dbus and Redfish API strings for BootSource
- "Cd" should be mapped to "xyz.openbmc_project.Control.Boot.Source.Sources.DVD"
- Adding mapping "Usb" to "xyz.openbmc_project.Control.Boot.Source.Sources.Removable"
Tested:
PATCH /redfish/v1/Systems/system HTTP/1.1
{
"Boot": {
"BootSourceOverrideTarget": "Cd" (or "Usb")
}
}
Response:
{
"@Message.ExtendedInfo": [
{
"@odata.type": "/redfish/v1/$metadata#Message.v1_0_0.Message",
"Message": "Successfully Completed Request",
"MessageArgs": [],
"MessageId": "Base.1.4.0.Success",
"Resolution": "None",
"Severity": "OK"
}
]
}
GET /redfish/v1/Systems/system HTTP/1.1
Response:
...
Boot:
{
...
"BootSourceOverrideTarget": "Cd", (or "Usb")
...
}
...
Signed-off-by: Jennifer Lee <jennifer1.lee@intel.com>
Change-Id: Ib5f69fe93d45b4012c089bd48e484ef978a4e57a
This component attempts to be a "do everything" embedded webserver for openbmc.
At this time, the webserver implements a few interfaces:
BMCWeb is configured by setting -D flags that correspond to options in bmcweb/CMakeLists.txt and then compiling. For example, cmake -DBMCWEB_ENABLE_KVM=NO ... followed by make. The option names become C++ preprocessor symbols that control which code is compiled into the program.
When BMCWeb starts running, it reads persistent configuration data (such as UUID and session data) from a local file. If this is not usable, it generates a new configuration.
When BMCWeb SSL support is enabled and a usable certificate is not found, it will generate a self-sign a certificate before launching the server. The keys are generated by the prime256v1 algorithm. The certificate
C=US, O=OpenBMC, CN=testhost,SHA-256 algorithm.The crow project has had a number of additions to make it more useful for use in the OpenBmc Project. A non-exhaustive list is below. At the time of this writing, the crow project is not accepting patches, so for the time being crow will simply be checked in as is.