Commit 10cef776 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add linktest_level to experiments table. Value is 0-4, where 0 means

not to run linktest.
parent 0b923e23
......@@ -289,6 +289,7 @@ CREATE TABLE experiments (
delay_osname varchar(20) default NULL,
use_ipassign tinyint(1) NOT NULL default '0',
ipassign_args varchar(255) default NULL,
linktest_level tinyint(4) NOT NULL default '0',
PRIMARY KEY (eid,pid),
KEY idx (idx),
KEY batchmode (batchmode)
......
......@@ -595,6 +595,7 @@ REPLACE INTO table_regex VALUES ('experiments','allowfixnode','int','redirect','
REPLACE INTO table_regex VALUES ('experiments','jail_osname','text','redirect','os_info:osname',0,0,NULL);
REPLACE INTO table_regex VALUES ('experiments','delay_osname','text','redirect','os_info:osname',0,0,NULL);
REPLACE INTO table_regex VALUES ('experiments','use_ipassign','int','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('experiments','linktest_level','int','redirect','default:tinyint',0,4,NULL);
REPLACE INTO table_regex VALUES ('experiments','ipassign_args','text','regex','^[\\w\\s-]*$',0,255,NULL);
REPLACE INTO table_regex VALUES ('nodes','bios_version','text','regex','^[-\\w\\.+]+$',0,64,NULL);
REPLACE INTO table_regex VALUES ('os_info','osid','text','regex','^[-\\w\\.+]+$',2,35,NULL);
......
......@@ -1432,3 +1432,8 @@ last_net_act,last_cpu_act,last_ext_act);
insert into interface_capabilities (type, capkey, capval) \
select type,"ethernet_defspeed",max_speed from interface_types;
1.236: Add linktest_level to experiments table. Integer value 0-4
where 0 means not to run linktest.
alter table experiments add column linktest_level tinyint(4) \
not null default 0 after ipassign_args;
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