diff options
| author | Jagpal Singh Gill <paligill@gmail.com> | 2024-10-15 00:07:05 +0300 |
|---|---|---|
| committer | Jagpal S Gill <paligill@gmail.com> | 2024-10-18 02:06:35 +0300 |
| commit | 5b1c6cc5348751890d62ae1d1220fba1c2a5447b (patch) | |
| tree | 15728d27193dac42ebc3e06f4a2fe56e4cd65e68 /meta-openembedded/meta-python/recipes-devtools/python/python3-httptools | |
| parent | 60e8c2219fc46acc72138a73f7033d9dfd87d73f (diff) | |
| download | openbmc-5b1c6cc5348751890d62ae1d1220fba1c2a5447b.tar.xz | |
meta-facebook: enable dump log in BMCWeb
Enable redfish-dump-log feature in BMCWeb to enable BMC coredump.
Tested:
```
DOCKER >>>> curl -k -H "X-Auth-Token: $token" -X POST -H "Content-Type: application/json" -d '{"DiagnosticDataType":"Manager"}' https://${bmc}/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.CollectDiagnosticData
{
"@odata.id": "/redfish/v1/TaskService/Tasks/0",
"@odata.type": "#Task.v1_4_3.Task",
"Id": "0",
"TaskState": "Running",
"TaskStatus": "OK"
}
DOCKER >>>> curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers/bmc/LogServices/Dump/Entries/1
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/Dump/Entries/1",
"@odata.type": "#LogEntry.v1_11_0.LogEntry",
"AdditionalDataSizeBytes": 24448,
"AdditionalDataURI": "/redfish/v1/Managers/bmc/LogServices/Dump/Entries/1/attachment",
"Created": "2024-02-28T22:45:28.000000+00:00",
"DiagnosticDataType": "Manager",
"EntryType": "Event",
"Id": "1",
"Name": "BMC Dump Entry",
"Originator": "::1",
"OriginatorType": "Client"
}
DOCKER >>>> curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers/bmc/LogServices/Dump/Entries/1/attachment --output file
```
Change-Id: Iee044e819059b88be8a724ba0280f971448575a8
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-httptools')
0 files changed, 0 insertions, 0 deletions
