Commit e233fa01 authored by Robert Ricci's avatar Robert Ricci

Add cable and len columns to the new_interfaces table, so that when

we're adding a small number of nodes by hand, we can set these.
parent 0dc661b1
...@@ -606,6 +606,8 @@ CREATE TABLE new_interfaces ( ...@@ -606,6 +606,8 @@ CREATE TABLE new_interfaces (
switch_id varchar(10) default NULL, switch_id varchar(10) default NULL,
switch_card tinyint(3) default NULL, switch_card tinyint(3) default NULL,
switch_port tinyint(3) default NULL, switch_port tinyint(3) default NULL,
cable smallint(6) default NULL,
len tinyint(4) default NULL,
PRIMARY KEY (new_node_id,card) PRIMARY KEY (new_node_id,card)
) TYPE=MyISAM; ) TYPE=MyISAM;
......
...@@ -1306,3 +1306,9 @@ last_net_act,last_cpu_act,last_ext_act); ...@@ -1306,3 +1306,9 @@ last_net_act,last_cpu_act,last_ext_act);
not null default 0; not null default 0;
alter table experiments add column ipassign_args varchar(255) \ alter table experiments add column ipassign_args varchar(255) \
default NULL; default NULL;
1.127: Add cable and len columns to the new_interfaces table, so that when
we're adding a small number of nodes by hand, we can set these:
alter table new_interfaces add cable smallint;
alter table new_interfaces add len tinyint;
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