Commit 8452cef9 authored by Robert Ricci's avatar Robert Ricci

Two new tables, new_nodes and new_interfaces, for nodes that have

been auto-discovered, but are waiting for the testbed admins to
'approve' them. They don't need nearly as much information as the
real nodes and interfaces tables.
parent b20ae26a
......@@ -2,7 +2,7 @@
--
-- Host: localhost Database: tbdb
---------------------------------------------------------
-- Server version 3.23.54-log
-- Server version 3.23.52-log
--
-- Table structure for table 'cdroms'
......@@ -481,6 +481,30 @@ CREATE TABLE mode_transitions (
KEY op_mode2 (op_mode2,state2)
) TYPE=MyISAM;
--
-- Table structure for table 'new_interfaces'
--
CREATE TABLE new_interfaces (
node_id varchar(10) NOT NULL default '',
iface varchar(10) NOT NULL default '',
mac varchar(12) NOT NULL default '',
interface_type varchar(15) default NULL,
PRIMARY KEY (node_id,iface)
) TYPE=MyISAM;
--
-- Table structure for table 'new_nodes'
--
CREATE TABLE new_nodes (
node_id varchar(10) NOT NULL default '',
type varchar(30) default NULL,
IP varchar(15) default NULL,
dmesg text,
PRIMARY KEY (node_id)
) TYPE=MyISAM;
--
-- Table structure for table 'newdelays'
--
......
......@@ -204,3 +204,24 @@ last_net_act,last_cpu_act,last_ext_act);
alter table users add widearearoot tinyint(4) default '0';
alter table users add wideareajailroot tinyint(4) default '0';
1.131: Add two new tables, new_nodes and new_interfaces, for nodes
that will automatically report in when they are first booted
up. The testbed admins will then be notified, so that they can
move these into the real nodes and interfaces tables with the
newnode script.
CREATE TABLE new_interfaces (
node_id varchar(10) NOT NULL default '',
iface varchar(10) NOT NULL default '',
mac varchar(12) NOT NULL default '',
interface_type varchar(15) default NULL,
PRIMARY KEY (node_id,iface)
) TYPE=MyISAM;
CREATE TABLE new_nodes (
node_id varchar(10) NOT NULL default '',
type varchar(30) default NULL,
IP varchar(15) default NULL,
dmesg text,
PRIMARY KEY (node_id)
) TYPE=MyISAM;
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