Commit 7a1d8f67 authored by David Johnson's avatar David Johnson

New tables for motelog stuff.

parent 72da5af8
......@@ -1280,6 +1280,24 @@ CREATE TABLE mode_transitions (
KEY op_mode2 (op_mode2,state2)
) TYPE=MyISAM;
--
-- Table structure for table `motelogfiles`
--
CREATE TABLE motelogfiles (
logfileid varchar(45) NOT NULL default '',
pid varchar(12) NOT NULL default '',
gid varchar(12) default NULL,
creator varchar(8) NOT NULL default '',
created datetime NOT NULL default '0000-00-00 00:00:00',
updated datetime default NULL,
description tinytext NOT NULL,
classfilepath tinytext NOT NULL,
specfilepath tinytext,
mote_type varchar(30) default NULL,
PRIMARY KEY (logfileid,pid)
) TYPE=MyISAM;
--
-- Table structure for table `new_interfaces`
--
......@@ -2630,6 +2648,18 @@ CREATE TABLE virt_node_desires (
PRIMARY KEY (pid,eid,vname,desire)
) TYPE=MyISAM;
--
-- Table structure for table `virt_node_motelog`
--
CREATE TABLE virt_node_motelog (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
vname varchar(32) NOT NULL default '',
logfileid varchar(45) NOT NULL default '',
PRIMARY KEY (pid,eid,vname)
) TYPE=MyISAM;
--
-- Table structure for table `virt_node_startloc`
--
......
......@@ -3230,3 +3230,29 @@ last_net_act,last_cpu_act,last_ext_act);
mysql tbdb < templates.sql
4.42: Some new tables for motelog stuff. motelogfiles stores all info
about classfiles necessary for logging; virt_node_motelog stores any
experiment-specific motelog config.
CREATE TABLE motelogfiles (
logfileid varchar(45) NOT NULL default '',
pid varchar(12) NOT NULL default '',
gid varchar(12) default NULL,
creator varchar(8) NOT NULL default '',
created datetime NOT NULL default '0000-00-00 00:00:00',
updated datetime default NULL,
description tinytext NOT NULL,
classfilepath tinytext NOT NULL,
specfilepath tinytext,
mote_type varchar(30) default NULL,
PRIMARY KEY (logfileid,pid)
) TYPE=MyISAM;
CREATE TABLE virt_node_motelog (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
vname varchar(32) NOT NULL default '',
logfileid varchar(45) NOT NULL default '',
PRIMARY KEY (pid,eid,vname)
) 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