History log of /openbmc/phosphor-fan-presence/presence/example/ (Results 1 – 12 of 12)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a49e3f1908-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

Change-Id: I961ec77b2617da3e097e64e0d8e8980bb7e5b426
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/phosphor-fan-presence/.clang-format
/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/OWNERS
/openbmc/phosphor-fan-presence/README.md
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/fans.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/fans.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/fans.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier/fans.json
/openbmc/phosphor-fan-presence/control/example/fans.yaml
/openbmc/phosphor-fan-presence/control/fan.cpp
/openbmc/phosphor-fan-presence/control/fan.hpp
/openbmc/phosphor-fan-presence/control/fanctl.cpp
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py
/openbmc/phosphor-fan-presence/control/json/actions/action.hpp
/openbmc/phosphor-fan-presence/control/json/actions/count_state_floor.cpp
/openbmc/phosphor-fan-presence/control/json/actions/count_state_floor.hpp
/openbmc/phosphor-fan-presence/control/json/actions/count_state_target.cpp
/openbmc/phosphor-fan-presence/control/json/actions/count_state_target.hpp
/openbmc/phosphor-fan-presence/control/json/actions/default_floor.cpp
/openbmc/phosphor-fan-presence/control/json/actions/default_floor.hpp
/openbmc/phosphor-fan-presence/control/json/actions/get_managed_objects.cpp
/openbmc/phosphor-fan-presence/control/json/actions/get_managed_objects.hpp
/openbmc/phosphor-fan-presence/control/json/actions/mapped_floor.cpp
/openbmc/phosphor-fan-presence/control/json/actions/mapped_floor.hpp
/openbmc/phosphor-fan-presence/control/json/actions/missing_owner_target.cpp
/openbmc/phosphor-fan-presence/control/json/actions/missing_owner_target.hpp
/openbmc/phosphor-fan-presence/control/json/actions/net_target_decrease.cpp
/openbmc/phosphor-fan-presence/control/json/actions/net_target_decrease.hpp
/openbmc/phosphor-fan-presence/control/json/actions/net_target_increase.cpp
/openbmc/phosphor-fan-presence/control/json/actions/net_target_increase.hpp
/openbmc/phosphor-fan-presence/control/json/actions/override_fan_target.cpp
/openbmc/phosphor-fan-presence/control/json/actions/override_fan_target.hpp
/openbmc/phosphor-fan-presence/control/json/actions/pcie_card_floors.cpp
/openbmc/phosphor-fan-presence/control/json/actions/pcie_card_floors.hpp
/openbmc/phosphor-fan-presence/control/json/actions/request_target_base.cpp
/openbmc/phosphor-fan-presence/control/json/actions/request_target_base.hpp
/openbmc/phosphor-fan-presence/control/json/actions/set_parameter_from_group_max.cpp
/openbmc/phosphor-fan-presence/control/json/actions/set_parameter_from_group_max.hpp
/openbmc/phosphor-fan-presence/control/json/actions/target_from_group_max.cpp
/openbmc/phosphor-fan-presence/control/json/actions/target_from_group_max.hpp
/openbmc/phosphor-fan-presence/control/json/actions/timer_based_actions.cpp
/openbmc/phosphor-fan-presence/control/json/actions/timer_based_actions.hpp
/openbmc/phosphor-fan-presence/control/json/config_base.hpp
/openbmc/phosphor-fan-presence/control/json/dbus_zone.cpp
/openbmc/phosphor-fan-presence/control/json/dbus_zone.hpp
/openbmc/phosphor-fan-presence/control/json/event.cpp
/openbmc/phosphor-fan-presence/control/json/event.hpp
/openbmc/phosphor-fan-presence/control/json/fan.cpp
/openbmc/phosphor-fan-presence/control/json/fan.hpp
/openbmc/phosphor-fan-presence/control/json/group.cpp
/openbmc/phosphor-fan-presence/control/json/group.hpp
/openbmc/phosphor-fan-presence/control/json/manager.cpp
/openbmc/phosphor-fan-presence/control/json/manager.hpp
/openbmc/phosphor-fan-presence/control/json/profile.cpp
/openbmc/phosphor-fan-presence/control/json/profile.hpp
/openbmc/phosphor-fan-presence/control/json/triggers/handlers.hpp
/openbmc/phosphor-fan-presence/control/json/triggers/init.cpp
/openbmc/phosphor-fan-presence/control/json/triggers/init.hpp
/openbmc/phosphor-fan-presence/control/json/triggers/parameter.cpp
/openbmc/phosphor-fan-presence/control/json/triggers/parameter.hpp
/openbmc/phosphor-fan-presence/control/json/triggers/signal.cpp
/openbmc/phosphor-fan-presence/control/json/triggers/signal.hpp
/openbmc/phosphor-fan-presence/control/json/triggers/timer.cpp
/openbmc/phosphor-fan-presence/control/json/triggers/timer.hpp
/openbmc/phosphor-fan-presence/control/json/triggers/trigger.hpp
/openbmc/phosphor-fan-presence/control/json/triggers/trigger_aliases.hpp
/openbmc/phosphor-fan-presence/control/json/utils/flight_recorder.cpp
/openbmc/phosphor-fan-presence/control/json/utils/flight_recorder.hpp
/openbmc/phosphor-fan-presence/control/json/utils/modifier.cpp
/openbmc/phosphor-fan-presence/control/json/utils/modifier.hpp
/openbmc/phosphor-fan-presence/control/json/utils/pcie_card_metadata.cpp
/openbmc/phosphor-fan-presence/control/json/utils/pcie_card_metadata.hpp
/openbmc/phosphor-fan-presence/control/json/zone.cpp
/openbmc/phosphor-fan-presence/control/json/zone.hpp
/openbmc/phosphor-fan-presence/control/main.cpp
/openbmc/phosphor-fan-presence/control/manager.cpp
/openbmc/phosphor-fan-presence/control/manager.hpp
/openbmc/phosphor-fan-presence/control/meson.build
/openbmc/phosphor-fan-presence/control/service_files/json/phosphor-fan-control@.service
/openbmc/phosphor-fan-presence/control/service_files/yaml/phosphor-fan-control-init@.service
/openbmc/phosphor-fan-presence/control/service_files/yaml/phosphor-fan-control@.service
/openbmc/phosphor-fan-presence/control/templates/fan_zone_defs.mako.cpp
/openbmc/phosphor-fan-presence/control/triggers.cpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
/openbmc/phosphor-fan-presence/cooling-type/cooling_type.hpp
/openbmc/phosphor-fan-presence/cooling-type/main.cpp
/openbmc/phosphor-fan-presence/cooling-type/meson.build
/openbmc/phosphor-fan-presence/dbus_paths.hpp
/openbmc/phosphor-fan-presence/docs/control/README.md
/openbmc/phosphor-fan-presence/docs/control/debug.md
/openbmc/phosphor-fan-presence/docs/control/events.md
/openbmc/phosphor-fan-presence/docs/control/fanctl/README.md
/openbmc/phosphor-fan-presence/docs/control/fans.md
/openbmc/phosphor-fan-presence/docs/control/groups.md
/openbmc/phosphor-fan-presence/docs/control/zones.md
/openbmc/phosphor-fan-presence/docs/monitor/README.md
/openbmc/phosphor-fan-presence/docs/monitor/class.md
/openbmc/phosphor-fan-presence/docs/monitor/deviation.md
/openbmc/phosphor-fan-presence/docs/monitor/fan_missing_error_delay.md
/openbmc/phosphor-fan-presence/docs/monitor/group.md
/openbmc/phosphor-fan-presence/docs/monitor/inventory.md
/openbmc/phosphor-fan-presence/docs/monitor/method.md
/openbmc/phosphor-fan-presence/docs/monitor/monitor_start_delay.md
/openbmc/phosphor-fan-presence/docs/monitor/nonfunc_rotor_error_delay.md
/openbmc/phosphor-fan-presence/docs/monitor/num_nonfunc_rotors_before_error.md
/openbmc/phosphor-fan-presence/docs/monitor/num_sensors_nonfunc_for_fan_nonfunc.md
/openbmc/phosphor-fan-presence/docs/monitor/power_off_config.md
/openbmc/phosphor-fan-presence/docs/monitor/sensors.md
/openbmc/phosphor-fan-presence/docs/monitor/set_func_on_present.md
/openbmc/phosphor-fan-presence/docs/presence/README.md
/openbmc/phosphor-fan-presence/docs/presence/eeprom.md
/openbmc/phosphor-fan-presence/docs/presence/methods.md
/openbmc/phosphor-fan-presence/docs/presence/name.md
/openbmc/phosphor-fan-presence/docs/presence/path.md
/openbmc/phosphor-fan-presence/docs/presence/rpolicy.md
/openbmc/phosphor-fan-presence/docs/sensor-monitor/README.md
/openbmc/phosphor-fan-presence/hwmon_ffdc.cpp
/openbmc/phosphor-fan-presence/hwmon_ffdc.hpp
/openbmc/phosphor-fan-presence/json_config.hpp
/openbmc/phosphor-fan-presence/meson.build
/openbmc/phosphor-fan-presence/meson_options.txt
/openbmc/phosphor-fan-presence/monitor/conditions.cpp
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,bonnell/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,everest/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-1s4u/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-2u/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-4u/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/witherspoon/config.json
/openbmc/phosphor-fan-presence/monitor/example/config.json
/openbmc/phosphor-fan-presence/monitor/example/monitor.yaml
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/fan.hpp
/openbmc/phosphor-fan-presence/monitor/fan_error.cpp
/openbmc/phosphor-fan-presence/monitor/fan_error.hpp
/openbmc/phosphor-fan-presence/monitor/gen-fan-monitor-defs.py
/openbmc/phosphor-fan-presence/monitor/json_parser.cpp
/openbmc/phosphor-fan-presence/monitor/json_parser.hpp
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/meson.build
/openbmc/phosphor-fan-presence/monitor/power_interface.cpp
/openbmc/phosphor-fan-presence/monitor/power_interface.hpp
/openbmc/phosphor-fan-presence/monitor/power_off_action.hpp
/openbmc/phosphor-fan-presence/monitor/service_files/json/phosphor-fan-monitor@.service
/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor-init@.service
/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor@.service
/openbmc/phosphor-fan-presence/monitor/system.cpp
/openbmc/phosphor-fan-presence/monitor/system.hpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/openbmc/phosphor-fan-presence/monitor/test/meson.build
/openbmc/phosphor-fan-presence/monitor/types.hpp
/openbmc/phosphor-fan-presence/power_state.hpp
/openbmc/phosphor-fan-presence/presence/anyof.cpp
/openbmc/phosphor-fan-presence/presence/anyof.hpp
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,bonnell/config.json
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,everest/config.json
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-1s4u/config.json
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-2u/config.json
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-4u/config.json
/openbmc/phosphor-fan-presence/presence/config_files/witherspoon/config.json
/openbmc/phosphor-fan-presence/presence/eeprom_device.hpp
/openbmc/phosphor-fan-presence/presence/error_reporter.cpp
/openbmc/phosphor-fan-presence/presence/error_reporter.hpp
config.json
example.yaml
/openbmc/phosphor-fan-presence/presence/fallback.cpp
/openbmc/phosphor-fan-presence/presence/fallback.hpp
/openbmc/phosphor-fan-presence/presence/fan.cpp
/openbmc/phosphor-fan-presence/presence/fan.hpp
/openbmc/phosphor-fan-presence/presence/get_power_state.cpp
/openbmc/phosphor-fan-presence/presence/get_power_state.hpp
/openbmc/phosphor-fan-presence/presence/gpio.cpp
/openbmc/phosphor-fan-presence/presence/gpio.hpp
/openbmc/phosphor-fan-presence/presence/json_parser.cpp
/openbmc/phosphor-fan-presence/presence/json_parser.hpp
/openbmc/phosphor-fan-presence/presence/meson.build
/openbmc/phosphor-fan-presence/presence/pfpgen.py
/openbmc/phosphor-fan-presence/presence/psensor.hpp
/openbmc/phosphor-fan-presence/presence/rpolicy.hpp
/openbmc/phosphor-fan-presence/presence/service_files/json/phosphor-fan-presence-tach@.service
/openbmc/phosphor-fan-presence/presence/service_files/yaml/phosphor-fan-presence-tach@.service
/openbmc/phosphor-fan-presence/presence/tach.cpp
/openbmc/phosphor-fan-presence/presence/tach.hpp
/openbmc/phosphor-fan-presence/presence/tach_detect.cpp
/openbmc/phosphor-fan-presence/presence/test/fallbacktest.cpp
/openbmc/phosphor-fan-presence/presence/test/meson.build
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/sdeventplus.hpp
/openbmc/phosphor-fan-presence/sensor-monitor/alarm_timestamps.hpp
/openbmc/phosphor-fan-presence/sensor-monitor/main.cpp
/openbmc/phosphor-fan-presence/sensor-monitor/meson.build
/openbmc/phosphor-fan-presence/sensor-monitor/service_files/sensor-monitor.service
/openbmc/phosphor-fan-presence/sensor-monitor/shutdown_alarm_monitor.cpp
/openbmc/phosphor-fan-presence/sensor-monitor/shutdown_alarm_monitor.hpp
/openbmc/phosphor-fan-presence/sensor-monitor/threshold_alarm_logger.cpp
/openbmc/phosphor-fan-presence/sensor-monitor/threshold_alarm_logger.hpp
/openbmc/phosphor-fan-presence/subprojects/cli11.wrap
/openbmc/phosphor-fan-presence/subprojects/evdev.wrap
/openbmc/phosphor-fan-presence/subprojects/fmt.wrap
/openbmc/phosphor-fan-presence/subprojects/nlohmann_json.wrap
/openbmc/phosphor-fan-presence/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-fan-presence/subprojects/phosphor-logging.wrap
/openbmc/phosphor-fan-presence/subprojects/sdbusplus.wrap
/openbmc/phosphor-fan-presence/subprojects/sdeventplus.wrap
/openbmc/phosphor-fan-presence/test/meson.build
/openbmc/phosphor-fan-presence/utility.hpp
8bd6308715-Feb-2021 Matthew Barth <msbarth@us.ibm.com>

presence: Format example JSON configuration

Update the formatting of the example JSON configuration file to align
with how fan monitor's example JSON config file is formatted.

Signed-off-by: Matthe

presence: Format example JSON configuration

Update the formatting of the example JSON configuration file to align
with how fan monitor's example JSON config file is formatted.

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: I0fe78bb54b2ebfd6f5d106620a9260877fde70e4

show more ...

0b49fe7809-Feb-2021 Matthew Barth <msbarth@us.ibm.com>

docs: Initial config details for each fan app

Created initial README.md files for each fan app to outline the details
and the framework of their configuration file(s). This was placed in a
`docs` di

docs: Initial config details for each fan app

Created initial README.md files for each fan app to outline the details
and the framework of their configuration file(s). This was placed in a
`docs` directory instead of each app's directory as the intention is to
have a `src` directory containing all the apps in the future. Additional
details to these READMEs will be added as each fan app solidifies on its
JSON configuration structure and usage.

*Note: A future commit will add all the details to fan presence's README
as the majority of its JSON configuration framework is complete.

*Note: A follow-on commit to this will create a fan monitor JSON
configuration example.

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: If80a7567fb7a121e8e7dfee3eb0842a6931ecb6b

show more ...


/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/Makefile.am
/openbmc/phosphor-fan-presence/README.md
/openbmc/phosphor-fan-presence/configure.ac
/openbmc/phosphor-fan-presence/control/Makefile.am
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/handlers.hpp
/openbmc/phosphor-fan-presence/control/json/Makefile.am
/openbmc/phosphor-fan-presence/control/json/config_base.hpp
/openbmc/phosphor-fan-presence/control/json/event.cpp
/openbmc/phosphor-fan-presence/control/json/event.hpp
/openbmc/phosphor-fan-presence/control/json/fan.cpp
/openbmc/phosphor-fan-presence/control/json/fan.hpp
/openbmc/phosphor-fan-presence/control/json/group.cpp
/openbmc/phosphor-fan-presence/control/json/group.hpp
/openbmc/phosphor-fan-presence/control/json/manager.cpp
/openbmc/phosphor-fan-presence/control/json/manager.hpp
/openbmc/phosphor-fan-presence/control/json/profile.cpp
/openbmc/phosphor-fan-presence/control/json/profile.hpp
/openbmc/phosphor-fan-presence/control/json/zone.cpp
/openbmc/phosphor-fan-presence/control/json/zone.hpp
/openbmc/phosphor-fan-presence/control/json_parser.cpp
/openbmc/phosphor-fan-presence/control/json_parser.hpp
/openbmc/phosphor-fan-presence/control/manager.cpp
/openbmc/phosphor-fan-presence/control/manager.hpp
/openbmc/phosphor-fan-presence/cooling-type/Makefile.am
/openbmc/phosphor-fan-presence/cooling-type/cooling_type.cpp
/openbmc/phosphor-fan-presence/cooling-type/main.cpp
/openbmc/phosphor-fan-presence/docs/control/README.md
/openbmc/phosphor-fan-presence/docs/monitor/README.md
/openbmc/phosphor-fan-presence/docs/presence/README.md
/openbmc/phosphor-fan-presence/json_config.hpp
/openbmc/phosphor-fan-presence/logger.hpp
/openbmc/phosphor-fan-presence/monitor/Makefile.am
/openbmc/phosphor-fan-presence/monitor/README.md
/openbmc/phosphor-fan-presence/monitor/example/monitor.yaml
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/fan.hpp
/openbmc/phosphor-fan-presence/monitor/fan_error.cpp
/openbmc/phosphor-fan-presence/monitor/fan_error.hpp
/openbmc/phosphor-fan-presence/monitor/gen-fan-monitor-defs.py
/openbmc/phosphor-fan-presence/monitor/json.md
/openbmc/phosphor-fan-presence/monitor/json_parser.cpp
/openbmc/phosphor-fan-presence/monitor/json_parser.hpp
/openbmc/phosphor-fan-presence/monitor/logging.cpp
/openbmc/phosphor-fan-presence/monitor/logging.hpp
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/power_interface.cpp
/openbmc/phosphor-fan-presence/monitor/power_interface.hpp
/openbmc/phosphor-fan-presence/monitor/power_off_action.hpp
/openbmc/phosphor-fan-presence/monitor/power_off_cause.hpp
/openbmc/phosphor-fan-presence/monitor/power_off_rule.hpp
/openbmc/phosphor-fan-presence/monitor/service_files/json/phosphor-fan-monitor@.service.in
/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor-init@.service.in
/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor@.service.in
/openbmc/phosphor-fan-presence/monitor/system.cpp
/openbmc/phosphor-fan-presence/monitor/system.hpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/openbmc/phosphor-fan-presence/monitor/test/Makefile.am
/openbmc/phosphor-fan-presence/monitor/test/mock_power_interface.hpp
/openbmc/phosphor-fan-presence/monitor/test/power_off_cause_test.cpp
/openbmc/phosphor-fan-presence/monitor/test/power_off_rule_test.cpp
/openbmc/phosphor-fan-presence/monitor/trust_group.hpp
/openbmc/phosphor-fan-presence/monitor/trust_manager.hpp
/openbmc/phosphor-fan-presence/monitor/types.hpp
/openbmc/phosphor-fan-presence/presence/Makefile.am
/openbmc/phosphor-fan-presence/presence/error_reporter.cpp
config.json
/openbmc/phosphor-fan-presence/presence/fallback.cpp
/openbmc/phosphor-fan-presence/presence/json_parser.cpp
/openbmc/phosphor-fan-presence/presence/json_parser.hpp
/openbmc/phosphor-fan-presence/presence/service_files/json/phosphor-fan-presence-tach@.service.in
/openbmc/phosphor-fan-presence/presence/service_files/yaml/phosphor-fan-presence-tach@.service.in
/openbmc/phosphor-fan-presence/presence/tach.cpp
/openbmc/phosphor-fan-presence/presence/tach_detect.cpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/sensor-monitor/Makefile.am
/openbmc/phosphor-fan-presence/sensor-monitor/README.md
/openbmc/phosphor-fan-presence/sensor-monitor/alarm_timestamps.hpp
/openbmc/phosphor-fan-presence/sensor-monitor/main.cpp
/openbmc/phosphor-fan-presence/sensor-monitor/service_files/sensor-monitor.service.in
/openbmc/phosphor-fan-presence/sensor-monitor/shutdown_alarm_monitor.cpp
/openbmc/phosphor-fan-presence/sensor-monitor/shutdown_alarm_monitor.hpp
/openbmc/phosphor-fan-presence/sensor-monitor/types.hpp
/openbmc/phosphor-fan-presence/test/logger_test.cpp
/openbmc/phosphor-fan-presence/utility.hpp
9e9f599c30-Sep-2020 Matt Spinler <spinler@us.ibm.com>

presence: Make error time be per fan

Previously there was a global value for the amount of time a fan needed
to be missing before an event log was created. This commit changes it
so that instead th

presence: Make error time be per fan

Previously there was a global value for the amount of time a fan needed
to be missing before an event log was created. This commit changes it
so that instead the value is specified per fan in the JSON.

This way, the times can be different or left off completely on a fan to
fan basis. The ErrorReporter object will only be created if there is at
least one fan with a time value.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I53bb91c88ec1b0352df11b2e988064c2ec02af45

show more ...

e812239024-Sep-2020 Matt Spinler <spinler@us.ibm.com>

presence: Create ErrorReporter class

This class will, eventually, create event logs for missing fans.

This first commit will just create a stubbed out class if there is a
'reporting' section in the

presence: Create ErrorReporter class

This class will, eventually, create event logs for missing fans.

This first commit will just create a stubbed out class if there is a
'reporting' section in the configuration JSON. From the JSON, the class
will pull out the value for the number of seconds to wait between first
detecting a fan is missing and creating the event log for it.

This requires a slight change to the existing JSON format, however the
JsonConfig class was updated to support both the old and new formats.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I991ea7cf0457448411e65f4c8e274bb2584d15f4

show more ...


/openbmc/phosphor-fan-presence/.clang-format
/openbmc/phosphor-fan-presence/Makefile.am
/openbmc/phosphor-fan-presence/README.md
/openbmc/phosphor-fan-presence/argument.hpp
/openbmc/phosphor-fan-presence/bootstrap.sh
/openbmc/phosphor-fan-presence/configure.ac
/openbmc/phosphor-fan-presence/control/Makefile.am
/openbmc/phosphor-fan-presence/control/actions.cpp
/openbmc/phosphor-fan-presence/control/actions.hpp
/openbmc/phosphor-fan-presence/control/argument.cpp
/openbmc/phosphor-fan-presence/control/fan.cpp
/openbmc/phosphor-fan-presence/control/fan.hpp
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py
/openbmc/phosphor-fan-presence/control/handlers.hpp
/openbmc/phosphor-fan-presence/control/main.cpp
/openbmc/phosphor-fan-presence/control/manager.cpp
/openbmc/phosphor-fan-presence/control/manager.hpp
/openbmc/phosphor-fan-presence/control/matches.hpp
/openbmc/phosphor-fan-presence/control/preconditions.cpp
/openbmc/phosphor-fan-presence/control/preconditions.hpp
/openbmc/phosphor-fan-presence/control/triggers.cpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/utility.cpp
/openbmc/phosphor-fan-presence/control/utility.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
/openbmc/phosphor-fan-presence/cooling-type/argument.cpp
/openbmc/phosphor-fan-presence/cooling-type/cooling_type.cpp
/openbmc/phosphor-fan-presence/cooling-type/cooling_type.hpp
/openbmc/phosphor-fan-presence/cooling-type/main.cpp
/openbmc/phosphor-fan-presence/evdevpp/evdev.hpp
/openbmc/phosphor-fan-presence/evdevpp/test/evmon.cpp
/openbmc/phosphor-fan-presence/json_config.hpp
/openbmc/phosphor-fan-presence/monitor/Makefile.am
/openbmc/phosphor-fan-presence/monitor/argument.cpp
/openbmc/phosphor-fan-presence/monitor/conditions.cpp
/openbmc/phosphor-fan-presence/monitor/conditions.hpp
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/fan.hpp
/openbmc/phosphor-fan-presence/monitor/fan_defs.hpp
/openbmc/phosphor-fan-presence/monitor/gen-fan-monitor-defs.py
/openbmc/phosphor-fan-presence/monitor/json_parser.cpp
/openbmc/phosphor-fan-presence/monitor/json_parser.hpp
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/nonzero_speed_trust.hpp
/openbmc/phosphor-fan-presence/monitor/system.cpp
/openbmc/phosphor-fan-presence/monitor/system.hpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/openbmc/phosphor-fan-presence/monitor/trust_group.hpp
/openbmc/phosphor-fan-presence/monitor/trust_manager.hpp
/openbmc/phosphor-fan-presence/monitor/types.hpp
/openbmc/phosphor-fan-presence/presence/Makefile.am
/openbmc/phosphor-fan-presence/presence/anyof.cpp
/openbmc/phosphor-fan-presence/presence/anyof.hpp
/openbmc/phosphor-fan-presence/presence/error_reporter.cpp
/openbmc/phosphor-fan-presence/presence/error_reporter.hpp
example.json
/openbmc/phosphor-fan-presence/presence/fallback.cpp
/openbmc/phosphor-fan-presence/presence/fallback.hpp
/openbmc/phosphor-fan-presence/presence/fan.cpp
/openbmc/phosphor-fan-presence/presence/gpio.cpp
/openbmc/phosphor-fan-presence/presence/gpio.hpp
/openbmc/phosphor-fan-presence/presence/json_parser.cpp
/openbmc/phosphor-fan-presence/presence/json_parser.hpp
/openbmc/phosphor-fan-presence/presence/pfpgen.py
/openbmc/phosphor-fan-presence/presence/psensor.hpp
/openbmc/phosphor-fan-presence/presence/rpolicy.hpp
/openbmc/phosphor-fan-presence/presence/tach.cpp
/openbmc/phosphor-fan-presence/presence/tach.hpp
/openbmc/phosphor-fan-presence/presence/tach_detect.cpp
/openbmc/phosphor-fan-presence/presence/test/fallbacktest.cpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/utility.hpp
c83457ab15-Jan-2020 Matthew Barth <msbarth@us.ibm.com>

presence: Correct supported policy types in example YAML

Change-Id: I2125b779c48429874639baa8b5cf4b4aefe86e90
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

21b46e2409-Jan-2020 Matthew Barth <msbarth@us.ibm.com>

presence: Example JSON configuration & README updates

Converted YAML example to JSON.

Added details on how to enable the use of JSON at configure time to the
README.

Change-Id: I63ecb0552dfdcb622d

presence: Example JSON configuration & README updates

Converted YAML example to JSON.

Added details on how to enable the use of JSON at configure time to the
README.

Change-Id: I63ecb0552dfdcb622d640635dd8fd1b1353eb243
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...


/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/MAINTAINERS
/openbmc/phosphor-fan-presence/Makefile.am
/openbmc/phosphor-fan-presence/README.md
/openbmc/phosphor-fan-presence/configure.ac
/openbmc/phosphor-fan-presence/control/Makefile.am
/openbmc/phosphor-fan-presence/control/actions.cpp
/openbmc/phosphor-fan-presence/control/actions.hpp
/openbmc/phosphor-fan-presence/control/argument.cpp
/openbmc/phosphor-fan-presence/control/example/events.yaml
/openbmc/phosphor-fan-presence/control/example/fans.yaml
/openbmc/phosphor-fan-presence/control/fan.cpp
/openbmc/phosphor-fan-presence/control/fan.hpp
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py
/openbmc/phosphor-fan-presence/control/handlers.hpp
/openbmc/phosphor-fan-presence/control/main.cpp
/openbmc/phosphor-fan-presence/control/manager.cpp
/openbmc/phosphor-fan-presence/control/manager.hpp
/openbmc/phosphor-fan-presence/control/matches.hpp
/openbmc/phosphor-fan-presence/control/preconditions.cpp
/openbmc/phosphor-fan-presence/control/preconditions.hpp
/openbmc/phosphor-fan-presence/control/templates/defs.mako
/openbmc/phosphor-fan-presence/control/templates/fan_zone_defs.mako.cpp
/openbmc/phosphor-fan-presence/control/triggers.cpp
/openbmc/phosphor-fan-presence/control/triggers.hpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/utility.cpp
/openbmc/phosphor-fan-presence/control/utility.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
/openbmc/phosphor-fan-presence/cooling-type/Makefile.am
/openbmc/phosphor-fan-presence/cooling-type/argument.cpp
/openbmc/phosphor-fan-presence/cooling-type/cooling_type.cpp
/openbmc/phosphor-fan-presence/cooling-type/cooling_type.hpp
/openbmc/phosphor-fan-presence/cooling-type/main.cpp
/openbmc/phosphor-fan-presence/evdevpp/evdev.hpp
/openbmc/phosphor-fan-presence/evdevpp/test/evmon.cpp
/openbmc/phosphor-fan-presence/monitor/Makefile.am
/openbmc/phosphor-fan-presence/monitor/argument.cpp
/openbmc/phosphor-fan-presence/monitor/conditions.cpp
/openbmc/phosphor-fan-presence/monitor/conditions.hpp
/openbmc/phosphor-fan-presence/monitor/example/monitor.yaml
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/fan.hpp
/openbmc/phosphor-fan-presence/monitor/fan_defs.hpp
/openbmc/phosphor-fan-presence/monitor/gen-fan-monitor-defs.py
/openbmc/phosphor-fan-presence/monitor/groups.hpp
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/nonzero_speed_trust.hpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/openbmc/phosphor-fan-presence/monitor/trust_group.hpp
/openbmc/phosphor-fan-presence/monitor/trust_manager.hpp
/openbmc/phosphor-fan-presence/monitor/types.hpp
/openbmc/phosphor-fan-presence/presence/Makefile.am
example.json
/openbmc/phosphor-fan-presence/presence/fallback.cpp
/openbmc/phosphor-fan-presence/presence/fan.cpp
/openbmc/phosphor-fan-presence/presence/gpio.cpp
/openbmc/phosphor-fan-presence/presence/gpio.hpp
/openbmc/phosphor-fan-presence/presence/json_config.cpp
/openbmc/phosphor-fan-presence/presence/json_config.hpp
/openbmc/phosphor-fan-presence/presence/pfpgen.py
/openbmc/phosphor-fan-presence/presence/tach.cpp
/openbmc/phosphor-fan-presence/presence/tach_detect.cpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/sdevent/event.hpp
/openbmc/phosphor-fan-presence/sdevent/io.hpp
/openbmc/phosphor-fan-presence/sdevent/source.hpp
/openbmc/phosphor-fan-presence/utility.hpp
2e9788d728-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Un-hardcode input device path

Allow a device path to be configured.

Change-Id: I2eabd71747b124eae96738d1332f58b96ece6dc9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

fcbedca025-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add parser support for any of

Add support for the anyof yaml keyword.

Change-Id: Ib28ca8ef9959cec29cb2d15a0bf758668375895f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

372b22c312-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Switch to new framework

Switch the main application logic to the output produced by
the new parser previously.
Remove unused code.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Switch to new framework

Switch the main application logic to the output produced by
the new parser previously.
Remove unused code.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: If8b262bd80fd0f0135aeea55e578fb3c7f44339a

show more ...

5593560b13-Jun-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: New parser

Adopt an easy on the tongue acronym similar to other projects.
Add a robust parser with support for sensors and policies.
Sensors: gpio, tach
Policies: fallback
Add an examp

presence: New parser

Adopt an easy on the tongue acronym similar to other projects.
Add a robust parser with support for sensors and policies.
Sensors: gpio, tach
Policies: fallback
Add an example yaml file.

Change-Id: I9158a0ce2a08ef6b7bb3f5d659ea0e0433af5b96
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/Makefile.am
/openbmc/phosphor-fan-presence/README.md
/openbmc/phosphor-fan-presence/argument.hpp
/openbmc/phosphor-fan-presence/configure.ac
/openbmc/phosphor-fan-presence/control/Makefile.am
/openbmc/phosphor-fan-presence/control/actions.hpp
/openbmc/phosphor-fan-presence/control/argument.cpp
/openbmc/phosphor-fan-presence/control/example/events.yaml
/openbmc/phosphor-fan-presence/control/example/fans.yaml
/openbmc/phosphor-fan-presence/control/example/zone_conditions.yaml
/openbmc/phosphor-fan-presence/control/example/zones.yaml
/openbmc/phosphor-fan-presence/control/fan.cpp
/openbmc/phosphor-fan-presence/control/fan.hpp
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py
/openbmc/phosphor-fan-presence/control/handlers.hpp
/openbmc/phosphor-fan-presence/control/main.cpp
/openbmc/phosphor-fan-presence/control/manager.cpp
/openbmc/phosphor-fan-presence/control/manager.hpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
/openbmc/phosphor-fan-presence/cooling-type/Makefile.am
/openbmc/phosphor-fan-presence/cooling-type/argument.cpp
/openbmc/phosphor-fan-presence/cooling-type/cooling_type.cpp
/openbmc/phosphor-fan-presence/cooling-type/cooling_type.hpp
/openbmc/phosphor-fan-presence/cooling-type/main.cpp
/openbmc/phosphor-fan-presence/evdevpp/evdev.hpp
/openbmc/phosphor-fan-presence/evdevpp/test/.gitignore
/openbmc/phosphor-fan-presence/evdevpp/test/Makefile.am
/openbmc/phosphor-fan-presence/evdevpp/test/evmon.cpp
/openbmc/phosphor-fan-presence/event.hpp
/openbmc/phosphor-fan-presence/monitor/Makefile.am
/openbmc/phosphor-fan-presence/monitor/example/monitor.yaml
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/fan.hpp
/openbmc/phosphor-fan-presence/monitor/fan_defs.hpp
/openbmc/phosphor-fan-presence/monitor/gen-fan-monitor-defs.py
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/openbmc/phosphor-fan-presence/monitor/types.hpp
/openbmc/phosphor-fan-presence/presence/Makefile.am
example.yaml
/openbmc/phosphor-fan-presence/presence/fallback.cpp
/openbmc/phosphor-fan-presence/presence/fallback.hpp
/openbmc/phosphor-fan-presence/presence/fan.cpp
/openbmc/phosphor-fan-presence/presence/fan.hpp
/openbmc/phosphor-fan-presence/presence/fan_enclosure.cpp
/openbmc/phosphor-fan-presence/presence/fan_enclosure.hpp
/openbmc/phosphor-fan-presence/presence/gen-fan-detect-defs.py
/openbmc/phosphor-fan-presence/presence/gpio.cpp
/openbmc/phosphor-fan-presence/presence/gpio.hpp
/openbmc/phosphor-fan-presence/presence/pfpgen.py
/openbmc/phosphor-fan-presence/presence/psensor.hpp
/openbmc/phosphor-fan-presence/presence/rpolicy.hpp
/openbmc/phosphor-fan-presence/presence/tach.cpp
/openbmc/phosphor-fan-presence/presence/tach.hpp
/openbmc/phosphor-fan-presence/presence/tach_detect.cpp
/openbmc/phosphor-fan-presence/presence/tach_sensor.cpp
/openbmc/phosphor-fan-presence/presence/tach_sensor.hpp
/openbmc/phosphor-fan-presence/presence/templates/fallback.mako.hpp
/openbmc/phosphor-fan-presence/presence/templates/generated.mako.hpp
/openbmc/phosphor-fan-presence/presence/templates/gpio.mako.hpp
/openbmc/phosphor-fan-presence/presence/templates/tach.mako.hpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/sdevent.hpp
/openbmc/phosphor-fan-presence/sdevent/event.hpp
/openbmc/phosphor-fan-presence/sdevent/io.hpp
/openbmc/phosphor-fan-presence/sdevent/source.hpp
/openbmc/phosphor-fan-presence/sdevent/test/.gitignore
/openbmc/phosphor-fan-presence/sdevent/test/Makefile.am
/openbmc/phosphor-fan-presence/sdevent/test/iotest.cpp
/openbmc/phosphor-fan-presence/test/.gitignore
/openbmc/phosphor-fan-presence/test/Makefile.am
/openbmc/phosphor-fan-presence/test/timertest.cpp
/openbmc/phosphor-fan-presence/timer.cpp
/openbmc/phosphor-fan-presence/timer.hpp
/openbmc/phosphor-fan-presence/utility.cpp
/openbmc/phosphor-fan-presence/utility.hpp
9df0e16e22-Apr-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: Move presence to a subdirectory

Change-Id: I33b28922107b9b041de3699e4a6eebd3d05ebdef
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>