bmcweb: Remove associations between cpu and core
Remove associations as it is causing issues with the
way external storer handles the error metrics.
Detailed explanation can be found in go/gbmccl/127347.
This change updates all the affected patches
Tested:
Verified that the core and thread URIs.
Verified that efficient expand works
Verified that Processor Metrics URIs work
```
wget -qO- 'http://localhost:80/redfish/v1/Systems/system/Processors/cpu0/SubProcessors'
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors",
"@odata.type": "#ProcessorCollection.ProcessorCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core0"
},
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core1"
},
....,
....,
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/coreX"
}
],
"Members@odata.count": ..,
"Name": "SubProcessor Collection"
}
wget -qO- 'http://localhost:80/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3'
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3",
"@odata.type": "#Processor.v1_11_0.Processor",
"Id": "core3",
"Name": "SubProcessor",
"ProcessorId": {
"MicrocodeInfo": "...."
},
"Status": {
"Health": "OK",
"State": "Enabled"
},
"SubProcessors": {
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3/SubProcessors"
}
}
wget -qO- 'http://localhost:80/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3/SubProcessors'
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3/SubProcessors",
"@odata.type": "#ProcessorCollection.ProcessorCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3/SubProcessors/thread0"
},
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3/SubProcessors/thread1"
},
......,
.......
],
"Members@odata.count": ..,
"Name": "SubProcessor Collection"
}
wget -qO- 'http://localhost:80/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3/SubProcssors/thread1'
{
"@odata.id": "/redfish/v1/Systems/system/Processors/cpu0/SubProcessors/core3/SubProcessors/thread1",
"@odata.type": "#Processor.v1_11_0.Processor",
"Id": "thread1",
"Name": "SubProcessor",
"ProcessorId": {
"MicrocodeInfo": "......"
},
"Status": {
"Health": "OK",
"State": "Enabled"
}
}
```
Google-Bug-Id: 268565156
Change-Id: I36c9d20683edc5003396844975ea6201ed17baee
Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
4 files changed