Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
e511b738
Commit
e511b738
authored
Aug 19, 2008
by
Mike Hibler
Browse files
More values for interfaces.current_speed
parent
9ac3ddf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
e511b738
...
...
@@ -1490,7 +1490,7 @@ CREATE TABLE `interfaces` (
`interface_type`
varchar
(
30
)
default
NULL
,
`iface`
text
NOT
NULL
,
`role`
enum
(
'ctrl'
,
'expt'
,
'jail'
,
'fake'
,
'other'
,
'gw'
,
'outer_ctrl'
)
default
NULL
,
`current_speed`
enum
(
'0'
,
'10'
,
'100'
,
'1000'
)
NOT
NULL
default
'0'
,
`current_speed`
enum
(
'0'
,
'10'
,
'100'
,
'1000'
,
'4000'
,
'10000'
,
'40000'
,
'100000'
)
NOT
NULL
default
'0'
,
`duplex`
enum
(
'full'
,
'half'
)
NOT
NULL
default
'full'
,
`rtabid`
smallint
(
5
)
unsigned
NOT
NULL
default
'0'
,
`vnode_id`
varchar
(
32
)
default
NULL
,
...
...
sql/database-migrate.txt
View file @
e511b738
...
...
@@ -4568,3 +4568,9 @@ last_net_act,last_cpu_act,last_ext_act);
alter table interface_types change manufacturuer
`manufacturer` varchar(30) default NULL;
4.160: Add current and near-future speed values for interfaces.
alter table interfaces modify current_speed \
enum('0','10','100','1000','4000','10000','40000','100000') \
NOT NULL default '0';
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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