Commit 83ec1515 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Some stuff for prototyping widearea assignment of federated Emulabs.

parent 8204208e
......@@ -2178,7 +2178,7 @@ CREATE TABLE `nodes` (
`node_id` varchar(32) NOT NULL default '',
`type` varchar(30) NOT NULL default '',
`phys_nodeid` varchar(32) default NULL,
`role` enum('testnode','virtnode','ctrlnode','testswitch','ctrlswitch','powerctrl','unused') NOT NULL default 'unused',
`role` enum('testnode','virtnode','ctrlnode','testswitch','ctrlswitch','powerctrl','widearea_switch','unused') NOT NULL default 'unused',
`inception` datetime default NULL,
`def_boot_osid` int(8) unsigned default NULL,
`def_boot_path` text,
......@@ -4051,6 +4051,17 @@ CREATE TABLE `widearea_recent` (
PRIMARY KEY (`node_id1`,`iface1`,`node_id2`,`iface2`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `widearea_switches`
--
DROP TABLE IF EXISTS `widearea_switches`;
CREATE TABLE `widearea_switches` (
`hrn` varchar(255) default NULL,
`node_id` varchar(32) NOT NULL default '',
PRIMARY KEY (`hrn`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `widearea_updates`
--
......
......@@ -4579,4 +4579,17 @@ last_net_act,last_cpu_act,last_ext_act);
alter table reserved add `tmcd_redirect` tinytext;
4.162: Some stuff for prototyping widearea assignment of federated Emulabs.
alter table nodes change `role` `role`
enum('testnode','virtnode','ctrlnode','testswitch',
'ctrlswitch','powerctrl','widearea_switch','unused')
NOT NULL default 'unused';
CREATE TABLE `widearea_switches` (
`hrn` varchar(255) default NULL,
`node_id` varchar(32) NOT NULL default '',
PRIMARY KEY (`hrn`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
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