Commit 2ca7d25d authored by Robert Ricci's avatar Robert Ricci
Browse files

Added a new column to new_nodes, so we can tell the IP address that

the node was temporarily given while it's configuring.
parent 53c11ab6
...@@ -586,6 +586,7 @@ CREATE TABLE new_nodes ( ...@@ -586,6 +586,7 @@ CREATE TABLE new_nodes (
node_id varchar(10) NOT NULL default '', node_id varchar(10) NOT NULL default '',
type varchar(30) default NULL, type varchar(30) default NULL,
IP varchar(15) default NULL, IP varchar(15) default NULL,
temporary_IP varchar(15) default NULL,
dmesg text, dmesg text,
created timestamp(14) NOT NULL, created timestamp(14) NOT NULL,
PRIMARY KEY (new_node_id) PRIMARY KEY (new_node_id)
......
...@@ -779,3 +779,8 @@ last_net_act,last_cpu_act,last_ext_act); ...@@ -779,3 +779,8 @@ last_net_act,last_cpu_act,last_ext_act);
alter table new_interfaces add column card int not null after alter table new_interfaces add column card int not null after
new_node_id; new_node_id;
alter table new_interfaces add primary key (new_node_id,card); alter table new_interfaces add primary key (new_node_id,card);
1.164: Added a new column to new_nodes, so we can tell the IP address that
the node was temporarily given while it's configuring:
alter table new_nodes add column temporary_IP varchar(15) after IP;
Supports Markdown
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