Commit a588ecd4 authored by Robert Ricci's avatar Robert Ricci

Added 'rebootable' bit to node_types

parent 1c0efe2c
......@@ -283,9 +283,9 @@ CREATE TABLE experiment_stats (
idle_swaps smallint(5) unsigned default '0',
swapin_duration int(10) unsigned default '0',
batch tinyint(3) unsigned default '0',
elabinelab tinyint(1) unsigned default '0',
elabinelab tinyint(1) NOT NULL default '0',
elabinelab_exptidx int(10) unsigned default NULL,
security_level tinyint(1) NOT NULL default '0',
security_level tinyint(1) NOT NULL default '0',
PRIMARY KEY (eid,pid,exptidx),
KEY exptidx (exptidx),
KEY rsrcidx (rsrcidx)
......@@ -982,6 +982,7 @@ CREATE TABLE node_types (
issimnode tinyint(4) NOT NULL default '0',
simnode_capacity smallint(5) unsigned NOT NULL default '0',
trivlink_maxspeed int(11) unsigned NOT NULL default '0',
isrebootable tinyint(1) default '1',
PRIMARY KEY (type)
) TYPE=MyISAM;
......
......@@ -2164,3 +2164,11 @@ last_net_act,last_cpu_act,last_ext_act);
alter table reserved add \
inner_elab_role enum('boss','ops','node') default NULL \
after cnet_vlan;
1.287: Add a 'rebootable' bit to the node_types table to indicate that a
given type should not be attempted to be rebooted. This should be
temporary, and will go away when we have node_capabilities:
alter table node_types add (isrebootable tinyint(1) default '1');
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