Commit a76505f4 authored by Leigh Stoller's avatar Leigh Stoller

Add a slot to nodes table to be used for reserving a node for use in

the emulab-ops project only, so that we can more easily take nodes out
of the general pool, but still be able to use them.  This slot
actually takes a pid, so we could potentially use it more generally
for reserving nodes to particular projects, but I am not sure that is
the best approach yet.
parent d49911b5
......@@ -1276,6 +1276,7 @@ CREATE TABLE nodes (
destination_x float default NULL,
destination_y float default NULL,
destination_orientation float default NULL,
reserved_pid varchar(12) default NULL,
PRIMARY KEY (node_id),
KEY phys_nodeid (phys_nodeid),
KEY node_id (node_id,phys_nodeid),
......
......@@ -2910,3 +2910,12 @@ last_net_act,last_cpu_act,last_ext_act);
alter table virt_lans change lossrate lossrate float(10,5) default NULL;
alter table virt_lans change rlossrate rlossrate float(10,5) default NULL;
4.21: Add a slot to nodes table to be used for reserving a node for
use in the emulab-ops project only, so that we can more easily take
nodes out of the general pool, but still be able to use them.
This slot actually takes a pid, so we could potentially use it more
generally for reserving nodes to particular projects, but I am
not sure that is the best approach yet.
alter table nodes add reserved_pid varchar(12) default NULL \
after destination_orientation;
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