bmcweb: Update "ProcessorType" with "Core" and "Thread"

"ProcessorType" was missing and it was being caught during our testing.

Tested:

root@nabij11-nfd01:~# wget -qO- localhost/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core0
{
  "@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core0",
  "@odata.type": "#Processor.v1_11_0.Processor",
  "Id": "core0",
  "Name": "SubProcessor",
  "ProcessorId": {
    "MicrocodeInfo": "0x2B0001B0"
  },
  "ProcessorType": "Core",
  "Status": {
    "Health": "OK",
    "State": "Enabled"
  },
  "SubProcessors": {
    "@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core0/SubProcessors"
  }
}
root@nabij11-nfd01:~# wget -qO- localhost/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core0/SubProcessors/thread0
{
  "@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core0/SubProcessors/thread0",
  "@odata.type": "#Processor.v1_11_0.Processor",
  "Id": "thread0",
  "Metrics": {
    "@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core0/SubProcessors/thread0/ProcessorMetrics"
  },
  "Name": "SubProcessor",
  "ProcessorId": {
    "MicrocodeInfo": "0x2B0001B0"
  },
  "ProcessorType": "Thread",
  "Status": {
    "Health": "OK",
    "State": "Enabled"
  }
}

Google-Bug-Id: 282212790
Change-Id: I4c2c14701c3022de8e7a48d6b5c512427df3feef
Signed-off-by: Brandon Kim <brandonkim@google.com>
(cherry picked from commit 9347b31f4a665c0db09bb98abf9d00d1c6abab03)
4 files changed
tree: d1f75b3cd3551304c70cb367954a9e171bda8750
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-devtools/
  7. recipes-extended/
  8. recipes-google/
  9. recipes-kernel/
  10. recipes-phosphor/
  11. LICENSE
  12. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.