Commit 64af9119 authored by Kevin Atkinson's avatar Kevin Atkinson

Add backfill values to the database so that I can test the dummynet

changes in my devel tree.
parent 4364805f
......@@ -305,6 +305,7 @@ CREATE TABLE `delays` (
`pipe0` smallint(5) unsigned NOT NULL default '0',
`delay0` float(10,2) NOT NULL default '0.00',
`bandwidth0` int(10) unsigned NOT NULL default '100',
`backfill0` int(10) unsigned NOT NULL default '0',
`lossrate0` float(10,3) NOT NULL default '0.000',
`q0_limit` int(11) default '0',
`q0_maxthresh` int(11) default '0',
......@@ -322,6 +323,7 @@ CREATE TABLE `delays` (
`pipe1` smallint(5) unsigned NOT NULL default '0',
`delay1` float(10,2) NOT NULL default '0.00',
`bandwidth1` int(10) unsigned NOT NULL default '100',
`backfill1` int(10) unsigned NOT NULL default '0',
`lossrate1` float(10,3) NOT NULL default '0.000',
`q1_limit` int(11) default '0',
`q1_maxthresh` int(11) default '0',
......@@ -3585,6 +3587,7 @@ CREATE TABLE `virt_lans` (
`delay` float(10,2) default '0.00',
`bandwidth` int(10) unsigned default NULL,
`est_bandwidth` int(10) unsigned default NULL,
`backfill` int(10) unsigned default NULL,
`lossrate` float(10,5) default NULL,
`q_limit` int(11) default '0',
`q_maxthresh` int(11) default '0',
......@@ -3604,6 +3607,7 @@ CREATE TABLE `virt_lans` (
`rdelay` float(10,2) default NULL,
`rbandwidth` int(10) unsigned default NULL,
`rest_bandwidth` int(10) unsigned default NULL,
`rbackfill` int(10) unsigned default NULL,
`rlossrate` float(10,5) default NULL,
`cost` float NOT NULL default '1',
`widearea` tinyint(4) default '0',
......
......@@ -774,6 +774,8 @@ REPLACE INTO table_regex VALUES ('virt_lan_member_settings','capkey','text','red
REPLACE INTO table_regex VALUES ('virt_lan_member_settings','capval','text','redirect','virt_lan_settings:capval',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_lans','est_bandwidth','int','redirect','default:int',0,2147483647,NULL);
REPLACE INTO table_regex VALUES ('virt_lans','rest_bandwidth','int','redirect','default:int',0,2147483647,NULL);
REPLACE INTO table_regex VALUES ('virt_lans','backfill','int','redirect','default:int',0,2147483647,NULL);
REPLACE INTO table_regex VALUES ('virt_lans','rbackfill','int','redirect','default:int',0,2147483647,NULL);
REPLACE INTO table_regex VALUES ('location_info','floor','text','regex','^[-\\w]+$',1,32,NULL);
REPLACE INTO table_regex VALUES ('location_info','building','text','regex','^[-\\w]+$',1,32,NULL);
REPLACE INTO table_regex VALUES ('location_info','loc_x','int','redirect','default:int',0,2048,NULL);
......
......@@ -4631,3 +4631,23 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiments add
`geniflags` int(11) NOT NULL default '0';
4.166: Add backfill values to the database to be used in a future
commit:
alter table virt_lans add backfill int(10) unsigned
default NULL after bandwidth;
alter table virt_lans add rbackfill int(10) unsigned
default NULL after rbandwidth;
alter table delays add backfill0 int(10) unsigned
NOT NULL default '0' after bandwidth0;
alter table delays add backfill1 int(10) unsigned
NOT NULL default '0' after bandwidth1;
replace into table_regex VALUES
('virt_lans','backfill','int','redirect','default:int',
0,2147483647,NULL);
replace into table_regex VALUES
('virt_lans','rbackfill','int','redirect','default:int',
0,2147483647,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