Commit bdbd7c77 authored by Weibin Sun's avatar Weibin Sun

sql/database-create.sql and database-fill.sql: add OF columns into virt_lans,...

sql/database-create.sql and database-fill.sql: add OF columns into virt_lans, add their descriptions into table_regex.
parent 0ba696ef
......@@ -3763,6 +3763,8 @@ CREATE TABLE `virt_lans` (
`trace_endnode` tinyint(1) NOT NULL default '0',
`trace_db` tinyint(1) NOT NULL default '0',
`fixed_iface` varchar(128) default '',
`ofenabled` tinyint(1) default '0',
`ofcontroller` tinytext,
PRIMARY KEY (`exptidx`,`vname`,`vnode`,`vport`),
UNIQUE KEY `vport` (`pid`,`eid`,`vname`,`vnode`,`vport`),
KEY `pid` (`pid`,`eid`,`vname`),
......
......@@ -680,6 +680,8 @@ REPLACE INTO table_regex VALUES ('virt_lans','trace_db','int','redirect','defaul
REPLACE INTO table_regex VALUES ('virt_lans','fixed_iface','text','redirect','default:tinytext',0,128,NULL);
REPLACE INTO table_regex VALUES ('virt_lans','modbase','int','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_lans','compat','int','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_lans','ofenabled','int','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_lans','ofcontroller','text','redirect','default:tinytext',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_node_desires','pid','text','redirect','projects:pid',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_node_desires','eid','text','redirect','experiments:eid',0,0,NULL);
......
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