Commit 96d8af79 authored by Mac Newbold's avatar Mac Newbold

Add some plab stuff of Austin's.

parent 2ab61584
......@@ -2,7 +2,7 @@
--
-- Host: localhost Database: tbdb
---------------------------------------------------------
-- Server version 3.23.52-log
-- Server version 3.23.54-log
--
-- Table structure for table 'cdroms'
......@@ -717,6 +717,7 @@ CREATE TABLE node_types (
isvirtnode tinyint(4) NOT NULL default '0',
isremotenode tinyint(4) NOT NULL default '0',
issubnode tinyint(4) NOT NULL default '0',
isplabdslice tinyint(4) NOT NULL default '0',
PRIMARY KEY (type)
) TYPE=MyISAM;
......@@ -924,6 +925,34 @@ CREATE TABLE partitions (
PRIMARY KEY (node_id,partition)
) TYPE=MyISAM;
--
-- Table structure for table 'plab_slice_nodes'
--
CREATE TABLE plab_slice_nodes (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
slicename varchar(64) NOT NULL default '',
node_id varchar(10) NOT NULL default '',
ticketdata text,
leasedata text,
leaseend datetime default NULL,
PRIMARY KEY (node_id)
) TYPE=MyISAM;
--
-- Table structure for table 'plab_slices'
--
CREATE TABLE plab_slices (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
slicename varchar(64) NOT NULL default '',
privkey text,
pubkey text,
PRIMARY KEY (pid,eid)
) TYPE=MyISAM;
--
-- Table structure for table 'port_counters'
--
......
......@@ -847,3 +847,28 @@ last_net_act,last_cpu_act,last_ext_act);
alter table node_types add issubnode tinyint(4) NOT NULL default '0' \
after isremotenode;
1.172: Add plab stuff:
alter table node_types add isplabdslice tinyint(4) NOT NULL
default '0' after issubnode;
CREATE TABLE plab_slice_nodes (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
slicename varchar(64) NOT NULL default '',
node_id varchar(10) NOT NULL default '',
ticketdata text,
leasedata text,
leaseend datetime default NULL,
PRIMARY KEY (node_id)
) TYPE=MyISAM;
CREATE TABLE plab_slices (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
slicename varchar(64) NOT NULL default '',
privkey text,
pubkey text,
PRIMARY KEY (pid,eid)
) 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