Commit fa2e6cfc authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add 'static-ddijk' to routertypes slot in nodes and virt_nodes.

parent 39a8533d
...@@ -911,7 +911,7 @@ CREATE TABLE nodes ( ...@@ -911,7 +911,7 @@ CREATE TABLE nodes (
status enum('up','possibly down','down','unpingable') default NULL, status enum('up','possibly down','down','unpingable') default NULL,
status_timestamp datetime default NULL, status_timestamp datetime default NULL,
failureaction enum('fatal','nonfatal','ignore') NOT NULL default 'fatal', failureaction enum('fatal','nonfatal','ignore') NOT NULL default 'fatal',
routertype enum('none','ospf','static','manual') NOT NULL default 'none', routertype enum('none','ospf','static','manual','static-ddijk') NOT NULL default 'none',
next_pxe_boot_path text, next_pxe_boot_path text,
bios_version varchar(64) default NULL, bios_version varchar(64) default NULL,
eventstate varchar(20) default NULL, eventstate varchar(20) default NULL,
...@@ -1697,7 +1697,7 @@ CREATE TABLE virt_nodes ( ...@@ -1697,7 +1697,7 @@ CREATE TABLE virt_nodes (
vname varchar(32) NOT NULL default '', vname varchar(32) NOT NULL default '',
type varchar(12) default NULL, type varchar(12) default NULL,
failureaction enum('fatal','nonfatal','ignore') NOT NULL default 'fatal', failureaction enum('fatal','nonfatal','ignore') NOT NULL default 'fatal',
routertype enum('none','ospf','static','manual') NOT NULL default 'none', routertype enum('none','ospf','static','manual','static-ddijk') NOT NULL default 'none',
fixed text NOT NULL, fixed text NOT NULL,
KEY pid (pid,eid,vname) KEY pid (pid,eid,vname)
) TYPE=MyISAM; ) TYPE=MyISAM;
......
...@@ -1537,3 +1537,13 @@ last_net_act,last_cpu_act,last_ext_act); ...@@ -1537,3 +1537,13 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiments change use_ipassign \ alter table experiments change use_ipassign \
use_ipassign tinyint(4) NOT NULL default '0'; use_ipassign tinyint(4) NOT NULL default '0';
1.246: Change routertype slots to include new type of route stuff.
alter table nodes change routertype routertype \
enum('none','ospf','static','manual','static-ddijk') \
NOT NULL default 'none';
alter table virt_nodes change routertype routertype \
enum('none','ospf','static','manual','static-ddijk') \
NOT NULL default 'none',
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