Commit e511b738 authored by Mike Hibler's avatar Mike Hibler

More values for interfaces.current_speed

parent 9ac3ddf6
......@@ -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,
......
......@@ -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';
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