summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf_5.20.08.bb
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@ieisystem.com>2024-07-16 15:18:52 +0300
committerGeorge Liu <liuxiwei@ieisystem.com>2024-07-19 03:05:07 +0300
commit6681e5705232f11f358972a9926c30ee77f57127 (patch)
tree5e755934f3fa20ead5efa036a14ed6b6d47bf93f /meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf_5.20.08.bb
parent36a125011be7fd39cd997df4bb129b0c596c60a1 (diff)
downloadopenbmc-master.tar.xz
meta-ieisystem: bmcweb: Enable insecure-enable-redfish-queryHEADmaster
Since web access to sensors is too slow, enable the query parameter function of redfish and use the expand parameter to get all sensor data at once. Tested: ``` curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Chassis/chassis/Sensors?$expand=*($levels=1) { "@odata.id": "/redfish/v1/Chassis/chassis/Sensors", "@odata.type": "#SensorCollection.SensorCollection", "Description": "Collection of Sensors for this Chassis", "Members": [ { "@odata.id": "/redfish/v1/Chassis/chassis/Sensors/SYS_5V", "@odata.type": "#Sensor.v1_0_0.Sensor", "Id": "SYS_5V", "Name": "SYS_5V", "Reading": 11.635200000000001, "ReadingRangeMax": 6.659267458256627, "ReadingRangeMin": 0.0, "ReadingType": "Voltage", "ReadingUnits": "V", "Status": { "Health": "Critical", "State": "Enabled" }, "Thresholds": { "LowerCaution": { "Reading": 4.65 }, "LowerCritical": { "Reading": 4.5 }, "UpperCaution": { "Reading": 5.37 }, "UpperCritical": { "Reading": 5.52 } } }, ...... ``` Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: If2209806c4b0db2b7adae4512afcb26a2ef453be
Diffstat (limited to 'meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf_5.20.08.bb')
0 files changed, 0 insertions, 0 deletions