/openbmc/google-ipmi-sys/test/ |
H A D | psu_unittest.cpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
H A D | handler_mock.hpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
/openbmc/google-ipmi-sys/ |
H A D | psu.hpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
H A D | psu.cpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
H A D | commands.hpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
H A D | ipmi.cpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
H A D | handler_impl.hpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
H A D | handler.hpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
H A D | handler.cpp | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|
H A D | README.md | ac4a16f7 Tue Feb 02 13:11:44 CST 2021 Shounak Mitra <shounak@google.com> Add sys command for powercycle on host shutdown. The new command will trigger a power cycle the next time the host shuts down. This can exist in parallel with the existing mechanism to trigger a power cycle after a specified time interval. The implementation of host state detection and power cycling is platfrom specific; the new command will just add a temporary file that marks the system ready to powercycle on the next shutdown. Usually, a systemd unit would be enabled by the presence of this file to handle the power cycling process. Signed-off-by: Shounak Mitra <shounak@google.com> Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683
|