commit | 7c33bff30f113fa8da7829322f6bb18d33bda46f | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Fri Jun 02 12:29:41 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Jun 26 01:57:59 2017 +0000 |
tree | 3b072935312874c6c79c3b69b125779fa8395144 | |
parent | 2430197500a63e6384070959dd8f6a741d11d342 [diff] |
Add class to monitor for unit failures This class has an analyze() method that will check the state of a unit, and then stop or start a target unit if the state is failed. The units and the action are passed in via the constructor. Change-Id: Ibc8e54b8371d2261eb55cce5825c5cee6d214bab Signed-off-by: Matt Spinler <spinler@us.ibm.com>