diff options
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-04-01 09:39:44 -0500 |
---|---|---|
committer | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-04-04 05:17:15 -0500 |
commit | 05e43071f0676fc4cea6fb1933cc9a3437cfbf55 (patch) | |
tree | f6ab21463c59be31b374bac2def0d04d8d3c0763 | |
parent | 085440a39236d38fa90281accc48906b2cb36792 (diff) | |
download | phosphor-dbus-interfaces-05e43071f0676fc4cea6fb1933cc9a3437cfbf55.tar.gz phosphor-dbus-interfaces-05e43071f0676fc4cea6fb1933cc9a3437cfbf55.zip |
Add PowerOnHours interface
PowerOnHours interface to tell how many hours the system has been
powered-on.
Partially Resolves openbmc/openbmc#2979
Change-Id: I61b149e38717a389f57c2d881ced7faf823d25a7
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
-rw-r--r-- | xyz/openbmc_project/State/PowerOnHours.interface.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/PowerOnHours.interface.yaml b/xyz/openbmc_project/State/PowerOnHours.interface.yaml new file mode 100644 index 0000000..1c68296 --- /dev/null +++ b/xyz/openbmc_project/State/PowerOnHours.interface.yaml @@ -0,0 +1,8 @@ +description: > + Implement to provide the POH(Power-On-Hours) counter. +properties: + - name: POHCounter + type: uint32 + description: > + This counter shows how many hours the system has been running. The value + is a cumulative one and includes all working hours since production. |