Skip to content
Snippets Groups Projects
Commit 35208b1f authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add elabinelab_vlans table for mapping inner elab vlan ids to auto

assigned outer elab vlan ids.
parent 1607addc
No related branches found
No related tags found
No related merge requests found
...@@ -150,6 +150,18 @@ CREATE TABLE deltas ( ...@@ -150,6 +150,18 @@ CREATE TABLE deltas (
PRIMARY KEY (delta_id) PRIMARY KEY (delta_id)
) TYPE=MyISAM; ) TYPE=MyISAM;
--
-- Table structure for table `elabinelab_vlans`
--
CREATE TABLE elabinelab_vlans (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
inner_id int(11) unsigned NOT NULL default 0,
outer_id int(11) unsigned NOT NULL default 0,
PRIMARY KEY (pid,eid,inner_id)
) TYPE=MyISAM;
-- --
-- Table structure for table `emulab_indicies` -- Table structure for table `emulab_indicies`
-- --
......
...@@ -2106,3 +2106,17 @@ last_net_act,last_cpu_act,last_ext_act); ...@@ -2106,3 +2106,17 @@ last_net_act,last_cpu_act,last_ext_act);
enum('ctrl','expt','jail','fake','other','gw','outer_ctrl') \ enum('ctrl','expt','jail','fake','other','gw','outer_ctrl') \
default NULL; default NULL;
1.271: Add elabinelab_vlans table for mapping inner elab vlan ids to
auto assigned outer elab vlan ids.
CREATE TABLE elabinelab_vlans (
pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '',
inner_id int(11) unsigned NOT NULL default 0,
outer_id int(11) unsigned NOT NULL default 0,
PRIMARY KEY (pid,eid,inner_id)
) TYPE=MyISAM;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment