Commit e618f653 authored by Leigh Stoller's avatar Leigh Stoller

Tweaks.

parent 40d47ca0
......@@ -274,22 +274,22 @@ sub TB_NODEACCESS_LOADIMAGE() { 3; }
sub TB_NODEACCESS_REBOOT() { 4; }
sub TB_NODEACCESS_POWERCYCLE() { 5; }
sub TB_NODEACCESS_MODIFYVLANS() { 6; }
sub TB_NODEACCESS_MIN() { TB_NODEACCESS_READINFO; }
sub TB_NODEACCESS_MAX() { TB_NODEACCESS_MODIFYVLANS; }
sub TB_NODEACCESS_MIN() { TB_NODEACCESS_READINFO(); }
sub TB_NODEACCESS_MAX() { TB_NODEACCESS_MODIFYVLANS(); }
# User Info (modinfo web page, etc).
sub TB_USERINFO_READINFO() { 1; }
sub TB_USERINFO_MODIFYINFO() { 2; }
sub TB_USERINFO_MIN() { TB_USERINFO_READINFO; }
sub TB_USERINFO_MAX() { TB_USERINFO_MODIFYINFO; }
sub TB_USERINFO_MIN() { TB_USERINFO_READINFO(); }
sub TB_USERINFO_MAX() { TB_USERINFO_MODIFYINFO(); }
# Experiments.
sub TB_EXPT_READINFO() { 1; }
sub TB_EXPT_MODIFY() { 2; }
sub TB_EXPT_DESTROY() { 3; }
sub TB_EXPT_UPDATE() { 4; }
sub TB_EXPT_MIN() { TB_EXPT_READINFO; }
sub TB_EXPT_MAX() { TB_EXPT_UPDATE; }
sub TB_EXPT_MIN() { TB_EXPT_READINFO(); }
sub TB_EXPT_MAX() { TB_EXPT_UPDATE(); }
# Projects.
sub TB_PROJECT_READINFO() { 1; }
......@@ -306,15 +306,15 @@ sub TB_PROJECT_DELOSID() { 11; }
sub TB_PROJECT_MAKEIMAGEID() { 12; }
sub TB_PROJECT_DELIMAGEID() { 13; }
sub TB_PROJECT_CREATEEXPT() { 14; }
sub TB_PROJECT_MIN() { TB_PROJECT_READINFO; }
sub TB_PROJECT_MAX() { TB_PROJECT_CREATEEXPT; }
sub TB_PROJECT_MIN() { TB_PROJECT_READINFO(); }
sub TB_PROJECT_MAX() { TB_PROJECT_CREATEEXPT(); }
# OSIDs
sub TB_OSID_READINFO() { 1; }
sub TB_OSID_CREATE() { 2; }
sub TB_OSID_DESTROY() { 3; }
sub TB_OSID_MIN() { TB_OSID_READINFO; }
sub TB_OSID_MAX() { TB_OSID_DESTROY; }
sub TB_OSID_MIN() { TB_OSID_READINFO(); }
sub TB_OSID_MAX() { TB_OSID_DESTROY(); }
sub TB_OSID_OSIDLEN() { 35; }
sub TB_OSID_OSNAMELEN() { 20; }
sub TB_OSID_VERSLEN() { 12; }
......@@ -337,15 +337,15 @@ sub TB_IMAGEID_MODIFYINFO() { 2; }
sub TB_IMAGEID_CREATE() { 3; }
sub TB_IMAGEID_DESTROY() { 4; }
sub TB_IMAGEID_ACCESS() { 5; }
sub TB_IMAGEID_MIN() { TB_IMAGEID_READINFO; }
sub TB_IMAGEID_MAX() { TB_IMAGEID_ACCESS; }
sub TB_IMAGEID_MIN() { TB_IMAGEID_READINFO(); }
sub TB_IMAGEID_MAX() { TB_IMAGEID_ACCESS(); }
sub TB_IMAGEID_IMAGEIDLEN() { 45; }
sub TB_IMAGEID_IMAGENAMELEN() { 30; }
# Node Log Types
sub TB_NODELOGTYPE_MISC { "misc"; }
sub TB_NODELOGTYPES() { ( TB_NODELOGTYPE_MISC ) ; }
sub TB_DEFAULT_NODELOGTYPE() { TB_NODELOGTYPE_MISC; }
sub TB_NODELOGTYPES() { ( TB_NODELOGTYPE_MISC() ) ; }
sub TB_DEFAULT_NODELOGTYPE() { TB_NODELOGTYPE_MISC(); }
# Node History Stuff.
sub TB_NODEHISTORY_OP_FREE { "free"; }
......@@ -355,7 +355,7 @@ sub TB_NODEHISTORY_OP_MOVE { "move"; }
# Reload Types.
sub TB_RELOADTYPE_NETDISK() { "netdisk"; }
sub TB_RELOADTYPE_FRISBEE() { "frisbee"; }
sub TB_DEFAULT_RELOADTYPE() { TB_RELOADTYPE_FRISBEE; }
sub TB_DEFAULT_RELOADTYPE() { TB_RELOADTYPE_FRISBEE(); }
# Experiment priorities.
sub TB_EXPTPRIORITY_LOW() { 0; }
......@@ -532,7 +532,7 @@ sub TBDB_SECLEVEL_ORANGE() { 3; }
sub TBDB_SECLEVEL_RED() { 4; }
# This is the level at which we get extremely cautious when swapping out
sub TBDB_SECLEVEL_ZAPDISK() { TBDB_SECLEVEL_YELLOW; }
sub TBDB_SECLEVEL_ZAPDISK() { TBDB_SECLEVEL_YELLOW(); }
#
# A hash of all tables that contain information about physical nodes - the
......
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