systemd: Host errors for start, stop, and reboot
These errors will be logged when the corresponding systemd
targets have an error status upon completion
Change-Id: I162d067fb11e1bf7fc43ecba6f955e1244e4aa58
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/xyz/openbmc_project/State/Host.metadata.yaml b/xyz/openbmc_project/State/Host.metadata.yaml
index 69e31b8..c52c5c8 100644
--- a/xyz/openbmc_project/State/Host.metadata.yaml
+++ b/xyz/openbmc_project/State/Host.metadata.yaml
@@ -1,3 +1,18 @@
- name: SoftOffTimeout
inherits:
- xyz.openbmc_project.Common.Timeout
+- name: HostStartFailure
+ inherits:
+ - xyz.openbmc_project.State.SystemdTarget.Failure
+- name: HostMinStartFailure
+ inherits:
+ - xyz.openbmc_project.State.SystemdTarget.Failure
+- name: HostShutdownFailure
+ inherits:
+ - xyz.openbmc_project.State.SystemdTarget.Failure
+- name: HostStopFailure
+ inherits:
+ - xyz.openbmc_project.State.SystemdTarget.Failure
+- name: HostRebootFailure
+ inherits:
+ - xyz.openbmc_project.State.SystemdTarget.Failure