Commit 905b8569 authored by Mac Newbold's avatar Mac Newbold

Add new constants for TBCOMMAND events.

parent 12a6a5f4
...@@ -76,6 +76,7 @@ use Exporter; ...@@ -76,6 +76,7 @@ use Exporter;
TB_ASSIGN_TOOFEWNODES TB_OPSPID TB_ASSIGN_TOOFEWNODES TB_OPSPID
TBDB_TBEVENT_NODESTATE TBDB_TBEVENT_NODEOPMODE TBDB_TBEVENT_CONTROL TBDB_TBEVENT_NODESTATE TBDB_TBEVENT_NODEOPMODE TBDB_TBEVENT_CONTROL
TBDB_TBEVENT_COMMAND
TBDB_NODESTATE_ISUP TBDB_NODESTATE_REBOOTING TBDB_NODESTATE_REBOOTED TBDB_NODESTATE_ISUP TBDB_NODESTATE_REBOOTING TBDB_NODESTATE_REBOOTED
TBDB_NODESTATE_SHUTDOWN TBDB_NODESTATE_BOOTING TBDB_NODESTATE_TBSETUP TBDB_NODESTATE_SHUTDOWN TBDB_NODESTATE_BOOTING TBDB_NODESTATE_TBSETUP
...@@ -90,6 +91,9 @@ use Exporter; ...@@ -90,6 +91,9 @@ use Exporter;
TBDB_NODEOPMODE_ANY TBDB_NODEOPMODE_ANY
TBDB_NODEOPMODE_UNKNOWN TBDB_NODEOPMODE_UNKNOWN
TBDB_COMMAND_REBOOT
TBDB_COMMAND_POWEROFF TBDB_COMMAND_POWERON TBDB_COMMAND_POWERCYCLE
TBDB_ALLOCSTATE_FREE_CLEAN TBDB_ALLOCSTATE_FREE_DIRTY TBDB_ALLOCSTATE_FREE_CLEAN TBDB_ALLOCSTATE_FREE_DIRTY
TBDB_ALLOCSTATE_DOWN TBDB_ALLOCSTATE_RELOAD_TO_FREE TBDB_ALLOCSTATE_DOWN TBDB_ALLOCSTATE_RELOAD_TO_FREE
TBDB_ALLOCSTATE_RELOAD_PENDING TBDB_ALLOCSTATE_RES_RELOAD TBDB_ALLOCSTATE_RELOAD_PENDING TBDB_ALLOCSTATE_RES_RELOAD
...@@ -382,6 +386,7 @@ sub TB_OPSPID() { $TBOPSPID; } ...@@ -382,6 +386,7 @@ sub TB_OPSPID() { $TBOPSPID; }
sub TBDB_TBEVENT_NODESTATE { "TBNODESTATE"; } sub TBDB_TBEVENT_NODESTATE { "TBNODESTATE"; }
sub TBDB_TBEVENT_NODEOPMODE { "TBNODEOPMODE"; } sub TBDB_TBEVENT_NODEOPMODE { "TBNODEOPMODE"; }
sub TBDB_TBEVENT_CONTROL { "TBCONTROL"; } sub TBDB_TBEVENT_CONTROL { "TBCONTROL"; }
sub TBDB_TBEVENT_COMMAND { "TBCOMMAND"; }
# #
# For nodes, we use this set of events. # For nodes, we use this set of events.
...@@ -409,6 +414,11 @@ sub TBDB_NODEOPMODE_DELAY { "DELAY"; } ...@@ -409,6 +414,11 @@ sub TBDB_NODEOPMODE_DELAY { "DELAY"; }
sub TBDB_NODEOPMODE_BOOTWHAT { "_BOOTWHAT_"; } # A redirection opmode sub TBDB_NODEOPMODE_BOOTWHAT { "_BOOTWHAT_"; } # A redirection opmode
sub TBDB_NODEOPMODE_UNKNOWN { "UNKNOWN"; } sub TBDB_NODEOPMODE_UNKNOWN { "UNKNOWN"; }
sub TBDB_COMMAND_REBOOT { "REBOOT"; }
sub TBDB_COMMAND_POWEROFF { "POWEROFF"; }
sub TBDB_COMMAND_POWERON { "POWERON"; }
sub TBDB_COMMAND_POWERCYCLE { "POWERCYCLE"; }
sub TBDB_ALLOCSTATE_FREE_CLEAN() { "FREE_CLEAN"; } sub TBDB_ALLOCSTATE_FREE_CLEAN() { "FREE_CLEAN"; }
sub TBDB_ALLOCSTATE_FREE_DIRTY() { "FREE_DIRTY"; } sub TBDB_ALLOCSTATE_FREE_DIRTY() { "FREE_DIRTY"; }
sub TBDB_ALLOCSTATE_DOWN() { "DOWN"; } sub TBDB_ALLOCSTATE_DOWN() { "DOWN"; }
......
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