| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the uptime value to calculate the time of the last
BMC reboot when the LastRebootTime property is read.
Calculates it on the fly instead of once at startup so that
if someone changes the BMC time the value will still be
accurate.
Resolves openbmc/openbmc#3159
Tested: Verify the property returns the right value.
Change-Id: I4bc8d2cdf18c225b24c98d9567d053c3246b7506
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I232af39d8ded90fa3eb37b74d1435ddbf19fffb1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I02aca5f8c7e633c6de7608194a0bdb0874ef2090
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added the method discoverInitialState that will be
used to determine if the obmc-standby.target is
either active or inactive. This catches the race
condition that could happen if just our app was
restarted and the signal had already been given
and we had missed it.
Change-Id: Iadcdcbd2d1045fa62491e9af6e2402d4b17c4a60
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
We are currently subscribed to the systemd to get
a signal notifying us when the obmc-standby.target
is ready. Things may change in the future but this
is what we have decided to do for now.
Change-Id: I81ecdcb45123feb611cf88916c0f9caadcd82dfe
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
This commit should support the transition to
reboot a BMC using systemd. Later commits will
handle the remaining transition monitoring for
updating the current state.
Change-Id: I1fb14b8775de4d2cbc522aa3405c8917291bf3cc
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Added code for the implementation of the method
subscribeToSystemdSignals. The reason for this is
because we want to catch the obmc-standby.target
signal and be notified when it is done which means
the BMC is READY.
Change-Id: I824b83676db8cb211f5bee954f98a719a773a62b
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|
|
This is the starting code needing to
build the application. Still more to do,
this is just the layout for the additional
commits that will be done for the state
management.
Change-Id: Ief1dc96c84b34630e60ef40c99d4faf5b6f6e02e
Signed-off-by: Josh D. King <jdking@us.ibm.com>
|