| commit | f9dcc11cc7f71426078fece76e5fb8eef0eec430 | [log] [tgz] |
|---|---|---|
| author | Gunnar Mills <gmills@us.ibm.com> | Thu Feb 13 13:19:43 2020 -0600 |
| committer | Gunnar Mills <gmills@us.ibm.com> | Thu Feb 13 13:36:42 2020 -0600 |
| tree | fa91d1401297a4a95e0197008eeb63190940bf40 | |
| parent | 09b9d45e5426631ff38a5665c652eb9e76643706 [diff] |
Redfish: Processor: Add new 2019.4 properties
In 2019.4 was a new 1.7.0 Processor schema that included
PartNumber, SerialNumber, and Version.
Tested: Ran validator.
curl -k https://${bmc}/redfish/v1/Systems/system/Processors/cpu0
{
"@odata.context": "/redfish/v1/$metadata#Processor.Processor",
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0",
"@odata.type": "#Processor.v1_7_0.Processor",
"Id": "cpu0",
"InstructionSet": "PowerISA",
"Manufacturer": "IBM",
"Model": "",
"Name": "Processor",
"PartNumber": "02CY102",
"ProcessorArchitecture": "Power",
"ProcessorType": "CPU",
"SerialNumber": "YA1934292547",
"Status": {
"Health": "OK",
"State": "Enabled"
},
"TotalCores": 18,
"Version": "22"
}
Change-Id: I6ad02eacf77640965d126a9db6c51cdfdb691978
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
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.