diff options
author | Tung Nguyen <tungnguyen@os.amperecomputing.com> | 2020-12-16 08:52:18 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2021-02-01 16:44:46 +0300 |
commit | 8f221bfb0979fa018f6c16b5af153c1549448e7d (patch) | |
tree | 9b3baba9fd63d76b769e7a1aacbe652625cda90b /meta-ampere/meta-common/recipes-ac01/host/ampere-hostctrl/ampere-host-reset-ack.service | |
parent | dd68b8bdc0cedd29bffa97b7dc6d0bce3a0ffb1e (diff) | |
download | openbmc-8f221bfb0979fa018f6c16b5af153c1549448e7d.tar.xz |
meta-ampere: Support Ampere power control
Implement the Ampere power control requirements for Altra system.
Tested:
- Check the ipmi commands: ipmi power on/off/soft/reset/cycle
- Check the redfish commands: On, Off, ForceOn, ForceOff,
GracefulShutdown, GracefulRestart, ForceRestart, PowerCycle
Signed-off-by: Tung Nguyen <tungnguyen@os.amperecomputing.com>
Change-Id: Id0c64c1284a6338ce47ca720d0ef75e99d21aa3c
Diffstat (limited to 'meta-ampere/meta-common/recipes-ac01/host/ampere-hostctrl/ampere-host-reset-ack.service')
-rw-r--r-- | meta-ampere/meta-common/recipes-ac01/host/ampere-hostctrl/ampere-host-reset-ack.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-ampere/meta-common/recipes-ac01/host/ampere-hostctrl/ampere-host-reset-ack.service b/meta-ampere/meta-common/recipes-ac01/host/ampere-hostctrl/ampere-host-reset-ack.service new file mode 100644 index 000000000..504186ec6 --- /dev/null +++ b/meta-ampere/meta-common/recipes-ac01/host/ampere-hostctrl/ampere-host-reset-ack.service @@ -0,0 +1,10 @@ +[Unit] +Description=Ampere Computing LLC triggering reset ACK +Conflicts=obmc-host-start@0.target +OnFailure=obmc-chassis-powerreset@0.target + +[Service] +RemainAfterExit=no +Type=oneshot +ExecStart=/usr/bin/env ampere_power_util.sh mb force_reset +SyslogIdentifier=ampere_power_util.sh |