Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
10cef776
Commit
10cef776
authored
Apr 07, 2004
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add linktest_level to experiments table. Value is 0-4, where 0 means
not to run linktest.
parent
0b923e23
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
sql/database-create.sql
sql/database-create.sql
+1
-0
sql/database-fill.sql
sql/database-fill.sql
+1
-0
sql/database-migrate.txt
sql/database-migrate.txt
+5
-0
No files found.
sql/database-create.sql
View file @
10cef776
...
...
@@ -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
)
...
...
sql/database-fill.sql
View file @
10cef776
...
...
@@ -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
);
...
...
sql/database-migrate.txt
View file @
10cef776
...
...
@@ -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;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment