History log of /openbmc/phosphor-power/test/chassis_status_monitor_tests.cpp (Results 1 – 2 of 2)
Revision Date Author Comments
# 68345d13 20-Dec-2025 Shawn McCarney <shawnmm@us.ibm.com>

pseq: Add chassis status monitoring options

Add new JSON element to define which types of chassis status monitoring
are required (if any) for the phosphor-power-sequencer application.

Update JSON c

pseq: Add chassis status monitoring options

Add new JSON element to define which types of chassis status monitoring
are required (if any) for the phosphor-power-sequencer application.

Update JSON configuration file parser to support the new element. Update
effected test cases.

Add the monitoring options to the Chassis class and related test cases.

Tested:
* Ran automated tests

Change-Id: Id5b9b443212e901f2473c29c21bb95663cd0a5d0
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>

show more ...


# b0f94e07 12-Dec-2025 Shawn McCarney <shawnmm@us.ibm.com>

Chassis status monitor class

Create a chassis status monitor class that can be used by multiple
applications in this repository.

Support monitoring the following chassis properties:
* Present
* Ava

Chassis status monitor class

Create a chassis status monitor class that can be used by multiple
applications in this repository.

Support monitoring the following chassis properties:
* Present
* Available
* Enabled
* Last requested power state
* Power good (pgood)
* Chassis input power status
* Power supply power status

Specify which properties to monitor when creating an instance of this
class.

Listen for the following D-Bus signals for these properties:
* NameOwnerChanged
* InterfacesAdded
* PropertiesChanged

Tested:
* Ran automated tests
* Manually tested all methods in simulation:
* Tested getting all properties when class is created
* Tested getting properties in NameOwnerChanged callback
* Tested getting properties in InterfacesAdded callback
* Tested getting properties in PropertiesChanged callback

Change-Id: I3558b98769525cfedc44361eb6fccb2bccd74a40
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>

show more ...