History log of /openbmc/phosphor-state-manager/data/ (Results 1 – 6 of 6)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1b83babf08-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: Id3397e8757554401055d3a5c921ce9d3eee3ee82
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

0688132a08-Nov-2022 DelphineCCChiu <Delphine_CC_Chiu@wiwynn.com>

Support chassis power cycle

A new system is being designed which will utilize phosphor-state-manager
and it requires the chassis system power cycle feature.

Test plan:
Change property "RequestedPow

Support chassis power cycle

A new system is being designed which will utilize phosphor-state-manager
and it requires the chassis system power cycle feature.

Test plan:
Change property "RequestedPowerTransition" to trigger
chassis power cycle target.

Change-Id: I30b0efd7c0fc72a9fb378f48e47c4c1af2b22ad6
Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com>

show more ...


/openbmc/phosphor-state-manager/.clang-format
/openbmc/phosphor-state-manager/OWNERS
/openbmc/phosphor-state-manager/README.md
/openbmc/phosphor-state-manager/bmc_state_manager.cpp
/openbmc/phosphor-state-manager/bmc_state_manager.hpp
/openbmc/phosphor-state-manager/bmc_state_manager_main.cpp
/openbmc/phosphor-state-manager/chassis_state_manager.cpp
/openbmc/phosphor-state-manager/chassis_state_manager.hpp
/openbmc/phosphor-state-manager/chassis_state_manager_main.cpp
phosphor-target-monitor-default.json
/openbmc/phosphor-state-manager/discover_system_state.cpp
/openbmc/phosphor-state-manager/host_check.cpp
/openbmc/phosphor-state-manager/host_condition_gpio/host_condition.hpp
/openbmc/phosphor-state-manager/host_condition_gpio/host_condition_main.cpp
/openbmc/phosphor-state-manager/host_reset_recovery.cpp
/openbmc/phosphor-state-manager/host_state_manager.cpp
/openbmc/phosphor-state-manager/host_state_manager.hpp
/openbmc/phosphor-state-manager/host_state_manager_main.cpp
/openbmc/phosphor-state-manager/hypervisor_state_manager.cpp
/openbmc/phosphor-state-manager/hypervisor_state_manager.hpp
/openbmc/phosphor-state-manager/hypervisor_state_manager_main.cpp
/openbmc/phosphor-state-manager/meson.build
/openbmc/phosphor-state-manager/meson_options.txt
/openbmc/phosphor-state-manager/obmcutil
/openbmc/phosphor-state-manager/scheduled_host_transition.cpp
/openbmc/phosphor-state-manager/scheduled_host_transition.hpp
/openbmc/phosphor-state-manager/scheduled_host_transition_main.cpp
/openbmc/phosphor-state-manager/scripts/host-reboot
/openbmc/phosphor-state-manager/secure_boot_check.cpp
/openbmc/phosphor-state-manager/service_files/meson.build
/openbmc/phosphor-state-manager/service_files/obmc-power-start@.service
/openbmc/phosphor-state-manager/service_files/obmc-power-stop@.service
/openbmc/phosphor-state-manager/service_files/obmc-powered-off@.service
/openbmc/phosphor-state-manager/service_files/phosphor-bmc-security-check.service
/openbmc/phosphor-state-manager/service_files/phosphor-reboot-host@.service
/openbmc/phosphor-state-manager/service_files/phosphor-reset-chassis-on@.service
/openbmc/phosphor-state-manager/service_files/phosphor-reset-chassis-running@.service
/openbmc/phosphor-state-manager/service_files/phosphor-reset-sensor-states@.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.BMC.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.Host@.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.ScheduledHostTransition@.service
/openbmc/phosphor-state-manager/settings.cpp
/openbmc/phosphor-state-manager/settings.hpp
/openbmc/phosphor-state-manager/systemd_target_signal.cpp
/openbmc/phosphor-state-manager/systemd_target_signal.hpp
/openbmc/phosphor-state-manager/target_files/meson.build
/openbmc/phosphor-state-manager/target_files/obmc-chassis-blackout@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-powercycle@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-graceful-quiesce@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-quiesce@.target
/openbmc/phosphor-state-manager/test/systemd_signal.cpp
/openbmc/phosphor-state-manager/test/test_scheduled_host_transition.cpp
/openbmc/phosphor-state-manager/utils.cpp
/openbmc/phosphor-state-manager/utils.hpp
c1c53bef07-Apr-2022 Patrick Williams <patrick@stwcx.xyz>

crit-service: update defaults for templated Host/Chassis

The Host and Chassis services are now templated to support multi-host
designs. Update the default json file to reflect as such.

Signed-off-

crit-service: update defaults for templated Host/Chassis

The Host and Chassis services are now templated to support multi-host
designs. Update the default json file to reflect as such.

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

show more ...


/openbmc/phosphor-state-manager/.gitignore
/openbmc/phosphor-state-manager/bmc_state_manager.cpp
/openbmc/phosphor-state-manager/bmc_state_manager.hpp
/openbmc/phosphor-state-manager/chassis_state_manager.cpp
/openbmc/phosphor-state-manager/chassis_state_manager.hpp
/openbmc/phosphor-state-manager/chassis_state_manager_main.cpp
phosphor-service-monitor-default.json
/openbmc/phosphor-state-manager/discover_system_state.cpp
/openbmc/phosphor-state-manager/host_check.cpp
/openbmc/phosphor-state-manager/host_check.hpp
/openbmc/phosphor-state-manager/host_state_manager.cpp
/openbmc/phosphor-state-manager/host_state_manager.hpp
/openbmc/phosphor-state-manager/host_state_manager_main.cpp
/openbmc/phosphor-state-manager/hypervisor_state_manager.hpp
/openbmc/phosphor-state-manager/meson.build
/openbmc/phosphor-state-manager/obmcutil
/openbmc/phosphor-state-manager/scheduled_host_transition.hpp
/openbmc/phosphor-state-manager/service_files/meson.build
/openbmc/phosphor-state-manager/service_files/phosphor-discover-system-state@.service
/openbmc/phosphor-state-manager/service_files/phosphor-systemd-target-monitor.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.BMC.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.Chassis@.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.Host@.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.ScheduledHostTransition.service
/openbmc/phosphor-state-manager/settings.cpp
/openbmc/phosphor-state-manager/settings.hpp
/openbmc/phosphor-state-manager/subprojects/CLI11.wrap
/openbmc/phosphor-state-manager/subprojects/cereal.wrap
/openbmc/phosphor-state-manager/subprojects/libgpiod.wrap
/openbmc/phosphor-state-manager/subprojects/nlohmann-json.wrap
/openbmc/phosphor-state-manager/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-state-manager/subprojects/phosphor-logging.wrap
/openbmc/phosphor-state-manager/subprojects/sdbusplus.wrap
/openbmc/phosphor-state-manager/subprojects/sdeventplus.wrap
/openbmc/phosphor-state-manager/systemd_target_signal.cpp
/openbmc/phosphor-state-manager/target_files/obmc-chassis-hard-poweroff@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-powered-off@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-poweroff@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-poweron@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-powerreset@.target
/openbmc/phosphor-state-manager/target_files/obmc-fan-control-ready@.target
/openbmc/phosphor-state-manager/target_files/obmc-fan-control.target
/openbmc/phosphor-state-manager/target_files/obmc-fans-ready.target
/openbmc/phosphor-state-manager/target_files/obmc-host-crash@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-diagnostic-mode@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-force-warm-reboot@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-quiesce@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-reboot@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-reset-running@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-reset@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-shutdown@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-start-pre@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-start@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-started@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-starting@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-startmin@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-stop-pre@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-stop@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-stopped@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-stopping@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-timeout@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-warm-reboot@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-off@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-on@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-reset-on@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-start-pre@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-start@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-stop-pre@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-stop@.target
15cee5bd18-Feb-2022 Andrew Geissler <geissonator@yahoo.com>

crit-service: enable monitoring of critical services

The final commit in this series to officially enable the monitoring of
the critical services.

Tested:
- Built a full flash image with the needed

crit-service: enable monitoring of critical services

The final commit in this series to officially enable the monitoring of
the critical services.

Tested:
- Built a full flash image with the needed recipe change to bring in the
new json file and bmc quiesce target. Verified that when a critical
service went into its final failure state, it was detected, error was
logged, dump was created, and BMC state correctly showed Quiesced.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ia67fce32e1c002c7d3b78b2c83fa32c960c41a9c

show more ...

9e3afdf010-Feb-2022 Andrew Geissler <geissonator@yahoo.com>

crit-service: initial service and parsing

This is an initial commit in a series of commits that will introduce a
service monitoring feature within the current target monitoring
function.

This new f

crit-service: initial service and parsing

This is an initial commit in a series of commits that will introduce a
service monitoring feature within the current target monitoring
function.

This new feature will allow a user to pass in a json file with systemd
service names that they wish this function to monitor. If a monitored
services goes into an error state (exhausted all retries and service has
been stopped) then the monitor service will create an error and collect
appropriate debug data.

This commit focuses on defining the new json service file and adapting
the existing target monitor to take this file as input. Future commits
in this series will build on this.

Tested:
- Verified new service json could be input to application and it was
parsed correctly

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ifcc512b8fc868e2a1004a184fa50e4d4c826e8ee

show more ...


/openbmc/phosphor-state-manager/.clang-format
/openbmc/phosphor-state-manager/.gitignore
/openbmc/phosphor-state-manager/.shellcheck
/openbmc/phosphor-state-manager/MAINTAINERS
/openbmc/phosphor-state-manager/OWNERS
/openbmc/phosphor-state-manager/README.md
/openbmc/phosphor-state-manager/bmc_state_manager.cpp
/openbmc/phosphor-state-manager/bmc_state_manager.hpp
/openbmc/phosphor-state-manager/bmc_state_manager_main.cpp
/openbmc/phosphor-state-manager/chassis_check_power_status.cpp
/openbmc/phosphor-state-manager/chassis_state_manager.cpp
/openbmc/phosphor-state-manager/chassis_state_manager.hpp
/openbmc/phosphor-state-manager/chassis_state_manager_main.cpp
phosphor-service-monitor-default.json
/openbmc/phosphor-state-manager/discover_system_state.cpp
/openbmc/phosphor-state-manager/host_check.cpp
/openbmc/phosphor-state-manager/host_check.hpp
/openbmc/phosphor-state-manager/host_condition_gpio/host_condition.cpp
/openbmc/phosphor-state-manager/host_condition_gpio/host_condition.hpp
/openbmc/phosphor-state-manager/host_condition_gpio/host_condition_main.cpp
/openbmc/phosphor-state-manager/host_condition_gpio/meson.build
/openbmc/phosphor-state-manager/host_condition_gpio/phosphor-host-condition-gpio@.service
/openbmc/phosphor-state-manager/host_reset_recovery.cpp
/openbmc/phosphor-state-manager/host_state_manager.cpp
/openbmc/phosphor-state-manager/host_state_manager.hpp
/openbmc/phosphor-state-manager/host_state_manager_main.cpp
/openbmc/phosphor-state-manager/hypervisor_state_manager.cpp
/openbmc/phosphor-state-manager/hypervisor_state_manager.hpp
/openbmc/phosphor-state-manager/hypervisor_state_manager_main.cpp
/openbmc/phosphor-state-manager/meson.build
/openbmc/phosphor-state-manager/meson_options.txt
/openbmc/phosphor-state-manager/obmcutil
/openbmc/phosphor-state-manager/scheduled_host_transition.cpp
/openbmc/phosphor-state-manager/scheduled_host_transition.hpp
/openbmc/phosphor-state-manager/scheduled_host_transition_main.cpp
/openbmc/phosphor-state-manager/service_files/meson.build
/openbmc/phosphor-state-manager/service_files/phosphor-chassis-check-power-status@.service
/openbmc/phosphor-state-manager/service_files/phosphor-clear-one-time@.service
/openbmc/phosphor-state-manager/service_files/phosphor-discover-system-state@.service
/openbmc/phosphor-state-manager/service_files/phosphor-reboot-host@.service
/openbmc/phosphor-state-manager/service_files/phosphor-reset-host-reboot-attempts@.service
/openbmc/phosphor-state-manager/service_files/phosphor-reset-host-recovery@.service
/openbmc/phosphor-state-manager/service_files/phosphor-reset-host-running@.service
/openbmc/phosphor-state-manager/service_files/phosphor-reset-sensor-states@.service
/openbmc/phosphor-state-manager/service_files/phosphor-set-host-transition-to-off@.service
/openbmc/phosphor-state-manager/service_files/phosphor-set-host-transition-to-running@.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.BMC.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.Chassis.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.Host.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.Hypervisor.service
/openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.ScheduledHostTransition.service
/openbmc/phosphor-state-manager/settings.cpp
/openbmc/phosphor-state-manager/settings.hpp
/openbmc/phosphor-state-manager/systemd_service_parser.cpp
/openbmc/phosphor-state-manager/systemd_service_parser.hpp
/openbmc/phosphor-state-manager/systemd_target_monitor.cpp
/openbmc/phosphor-state-manager/systemd_target_parser.cpp
/openbmc/phosphor-state-manager/systemd_target_parser.hpp
/openbmc/phosphor-state-manager/systemd_target_signal.cpp
/openbmc/phosphor-state-manager/systemd_target_signal.hpp
/openbmc/phosphor-state-manager/target_files/meson.build
/openbmc/phosphor-state-manager/target_files/obmc-chassis-hard-poweroff@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-powered-off@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-poweroff@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-poweron@.target
/openbmc/phosphor-state-manager/target_files/obmc-chassis-powerreset@.target
/openbmc/phosphor-state-manager/target_files/obmc-fan-control-ready@.target
/openbmc/phosphor-state-manager/target_files/obmc-fan-control.target
/openbmc/phosphor-state-manager/target_files/obmc-fan-watchdog-takeover.target
/openbmc/phosphor-state-manager/target_files/obmc-fans-ready.target
/openbmc/phosphor-state-manager/target_files/obmc-host-crash@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-diagnostic-mode@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-force-warm-reboot@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-quiesce@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-reboot@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-reset-running@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-reset@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-shutdown@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-start-pre@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-start@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-started@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-starting@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-startmin@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-stop-pre@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-stop@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-stopped@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-stopping@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-timeout@.target
/openbmc/phosphor-state-manager/target_files/obmc-host-warm-reboot@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-off@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-on@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-reset-on@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-start-pre@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-start@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-stop-pre@.target
/openbmc/phosphor-state-manager/target_files/obmc-power-stop@.target
/openbmc/phosphor-state-manager/test/hypervisor_state.cpp
/openbmc/phosphor-state-manager/test/systemd_parser.cpp
/openbmc/phosphor-state-manager/test/systemd_signal.cpp
/openbmc/phosphor-state-manager/test/test_scheduled_host_transition.cpp
/openbmc/phosphor-state-manager/utils.cpp
/openbmc/phosphor-state-manager/utils.hpp
efef970010-Dec-2019 Andrew Geissler <geissonator@yahoo.com>

meson: add json file into meson

A later commit will delete the current .json file in favor of the new
one located in the data dir

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I

meson: add json file into meson

A later commit will delete the current .json file in favor of the new
one located in the data dir

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I236bffd1bfac40c588d6ff5ba9b977e0479e5b58

show more ...


/openbmc/phosphor-state-manager/.clang-format
/openbmc/phosphor-state-manager/.clang-tidy
/openbmc/phosphor-state-manager/.gitignore
/openbmc/phosphor-state-manager/LICENSE
/openbmc/phosphor-state-manager/MAINTAINERS
/openbmc/phosphor-state-manager/Makefile.am
/openbmc/phosphor-state-manager/README.md
/openbmc/phosphor-state-manager/bmc_state_manager.cpp
/openbmc/phosphor-state-manager/bmc_state_manager.hpp
/openbmc/phosphor-state-manager/bmc_state_manager_main.cpp
/openbmc/phosphor-state-manager/bootstrap.sh
/openbmc/phosphor-state-manager/chassis_state_manager.cpp
/openbmc/phosphor-state-manager/chassis_state_manager.hpp
/openbmc/phosphor-state-manager/chassis_state_manager_main.cpp
/openbmc/phosphor-state-manager/configure.ac
meson.build
phosphor-target-monitor-default.json
/openbmc/phosphor-state-manager/discover_system_state.cpp
/openbmc/phosphor-state-manager/host_check_main.cpp
/openbmc/phosphor-state-manager/host_state_manager.cpp
/openbmc/phosphor-state-manager/host_state_manager.hpp
/openbmc/phosphor-state-manager/host_state_manager_main.cpp
/openbmc/phosphor-state-manager/meson.build
/openbmc/phosphor-state-manager/meson_options.txt
/openbmc/phosphor-state-manager/obmcutil
/openbmc/phosphor-state-manager/phosphor-target-monitor-default.json
/openbmc/phosphor-state-manager/service_files/meson.build
/openbmc/phosphor-state-manager/service_files/phosphor-systemd-target-monitor.service
/openbmc/phosphor-state-manager/service_files/phosphor-systemd-target-monitor.service.in
/openbmc/phosphor-state-manager/settings.cpp
/openbmc/phosphor-state-manager/settings.hpp
/openbmc/phosphor-state-manager/systemd_target_monitor.cpp
/openbmc/phosphor-state-manager/systemd_target_parser.cpp
/openbmc/phosphor-state-manager/systemd_target_parser.hpp
/openbmc/phosphor-state-manager/systemd_target_signal.cpp
/openbmc/phosphor-state-manager/systemd_target_signal.hpp
/openbmc/phosphor-state-manager/test/Makefile.am.include
/openbmc/phosphor-state-manager/test/systemd_parser.cpp
/openbmc/phosphor-state-manager/test/systemd_signal.cpp