watchdog: Support setting an action

The IPMI spec defines actions which can be set at runtime that define
what action the watchdog will take when it expires. With this change our
watchdog daemon can be dynamically reconfigured to execute a target that
maps to the defined action.

The current list of actions maps directly from the IPMI spec. We don't
require that the list strictly adheres to the list in the spec, but this
is a good starting point since they are generic host actions. A commit
to phosphor-watchog will accompany this change in order to respect the
actions defined in this interface. This change defaults the action to
HardReset, which will ensure the behavior is consistent with previous
behavior regardless of updating the phosphor-host-ipmid.

Change-Id: I7b293394326652b292b4bd23950a7f947ece8306
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed
tree: 91d46be729f3095180129d0717388d69ca38229d
  1. xyz/
  2. .gitignore
  3. bootstrap.sh
  4. configure.ac
  5. generate_makefile.sh
  6. generate_yaml_makefile.sh
  7. LICENSE
  8. Makefile.am
  9. Makefile.interfaces.in
  10. Makefile.yaml.in
  11. phosphor-dbus-interfaces.pc.in
  12. README.md
README.md

phosphor-dbus-interfaces

YAML descriptors of standard dbus interfaces