summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-process-tests_2.1.2.bb
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2022-09-06 14:29:01 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-09-15 20:50:43 +0300
commit42020831939b32ad1d8ca4e19d239dfb69682332 (patch)
treea124f0efb21d6c7315c021c75b6055243894cbf6 /meta-openembedded/meta-python/recipes-devtools/python/python3-process-tests_2.1.2.bb
parentb29dabd94bad1b3c849384691356d1a7a4b9a440 (diff)
downloadopenbmc-42020831939b32ad1d8ca4e19d239dfb69682332.tar.xz
meta-bletchley: fix enclosure identify feature on redfish
Add xyz.openbmc_project.Inventory.Item.Panel interfae into /system/chassis/bmc inventory object papth because bmcweb uses xyz.openbmc_project.Inventory.Item.Panel to determine if the FRU has LED indicators. Also add both enclosure_identify enclosure_identify_blink led group difinition in led.yaml, which are required by redfish. Tested Results: 1. Enable LED indicator [potin@localhost redfish-testing]$ curl -k -H "X-Auth-Token: $token" \ > -X PATCH https://$bmc_ip/redfish/v1/Chassis/bmc \ > -d '{"LocationIndicatorActive":true}' [potin@localhost redfish-testing]$ curl -k -H "X-Auth-Token: $token" \ > https://$bmc_ip/redfish/v1/Chassis/bmc 2>/dev/null \ > | grep Indicator "IndicatorLED": "Blinking", "LocationIndicatorActive": true, 2. Disable LED indicator [potin@localhost redfish-testing]$ curl -k -H "X-Auth-Token: $token" \ > -X PATCH https://$bmc_ip/redfish/v1/Chassis/bmc \ > -d '{"LocationIndicatorActive":false}' [potin@localhost redfish-testing]$ curl -k -H "X-Auth-Token: $token" \ > https://$bmc_ip/redfish/v1/Chassis/bmc 2>/dev/null \ > | grep Indicator "IndicatorLED": "Off", "LocationIndicatorActive": false, Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: Ice0fd7ab6fbdc82e87ac314396db4b33b313234b
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-process-tests_2.1.2.bb')
0 files changed, 0 insertions, 0 deletions