Commit 0780b407 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add plab_site_mapping table for plab nodes, for use with the datapository.

parent 97b52ae1
......@@ -1626,6 +1626,18 @@ CREATE TABLE plab_mapping (
PRIMARY KEY (node_id)
) TYPE=MyISAM;
--
-- Table structure for table `plab_site_mapping`
--
CREATE TABLE plab_site_mapping (
site_name varchar(255) NOT NULL default '',
site_idx smallint(5) unsigned NOT NULL auto_increment,
node_id varchar(32) NOT NULL default '',
node_idx tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (site_name,site_idx,node_idx)
) TYPE=MyISAM;
--
-- Table structure for table `plab_slice_nodes`
--
......
......@@ -3137,3 +3137,15 @@ last_net_act,last_cpu_act,last_ext_act);
boot_cmd_line text,
PRIMARY KEY (OS,version,role)
) TYPE=MyISAM;
4.35: Add plab_site_mapping table for plab nodes, for use with the
datapository.
CREATE TABLE plab_site_mapping (
site_name varchar(255) NOT NULL default '',
site_idx smallint(5) unsigned NOT NULL auto_increment,
node_id varchar(32) NOT NULL default '',
node_idx tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (site_name,site_idx,node_idx)
) TYPE=MyISAM;
Supports Markdown
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