VirtualWatchdog: Add dump action

This commit is contained in:
Cole Robinson 2013-08-18 16:06:18 -04:00
parent 8aa3ba9b63
commit 8460af9a99
1 changed files with 3 additions and 1 deletions

View File

@ -35,10 +35,12 @@ class VirtualWatchdog(VirtualDevice):
ACTION_POWEROFF = "poweroff"
ACTION_PAUSE = "pause"
ACTION_NONE = "none"
ACTION_DUMP = "dump"
ACTION_DEFAULT = "default"
ACTIONS = [ACTION_RESET, ACTION_SHUTDOWN,
ACTION_POWEROFF, ACTION_PAUSE,
ACTION_NONE, ACTION_DEFAULT]
ACTION_NONE, ACTION_DUMP,
ACTION_DEFAULT]
@staticmethod
def get_action_desc(action):