Commit 8eaa19b6 authored by Leigh Stoller's avatar Leigh Stoller

Add failuremode constants to match enum in nodes/virt_nodes table.

parent f22ad423
...@@ -32,6 +32,8 @@ use Exporter; ...@@ -32,6 +32,8 @@ use Exporter;
TB_NODEACCESS_POWERCYCLE TB_NODEACCESS_MODIFYVLANS TB_NODEACCESS_POWERCYCLE TB_NODEACCESS_MODIFYVLANS
TB_NODEACCESS_MIN TB_NODEACCESS_MAX TB_NODEACCESS_MIN TB_NODEACCESS_MAX
NODEFAILMODE_FATAL NODEFAILMODE_NONFATAL NODEFAILMODE_IGNORE
TB_USERINFO_READINFO TB_USERINFO_MODIFYINFO TB_USERINFO_READINFO TB_USERINFO_MODIFYINFO
TB_USERINFO_MIN TB_USERINFO_MAX TB_USERINFO_MIN TB_USERINFO_MAX
...@@ -273,6 +275,10 @@ sub NODEBOOTSTATUS_FAILED() { "failed"; } ...@@ -273,6 +275,10 @@ sub NODEBOOTSTATUS_FAILED() { "failed"; }
sub NODEBOOTSTATUS_UNKNOWN() { "unknown"; } sub NODEBOOTSTATUS_UNKNOWN() { "unknown"; }
sub NODESTARTSTATUS_NOSTATUS() { "none"; } sub NODESTARTSTATUS_NOSTATUS() { "none"; }
sub NODEFAILMODE_FATAL() { "fatal"; }
sub NODEFAILMODE_NONFATAL() { "nonfatal"; }
sub NODEFAILMODE_IGNORE() { "ignore"; }
sub EXPTSTATE_NEW() { "new"; } sub EXPTSTATE_NEW() { "new"; }
sub EXPTSTATE_PRERUN() { "prerunning"; } sub EXPTSTATE_PRERUN() { "prerunning"; }
sub EXPTSTATE_SWAPPED() { "swapped"; } sub EXPTSTATE_SWAPPED() { "swapped"; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment