Commit 2e3339ca authored by Mike Hibler's avatar Mike Hibler
Browse files

Argh! Forgot a table_regex entry for my last change.

parent bb3eec4c
......@@ -661,7 +661,7 @@ REPLACE INTO table_regex VALUES ('firewalls','pid','text','redirect','projects:p
REPLACE INTO table_regex VALUES ('firewalls','eid','text','redirect','experimenets:eid',0,0,NULL);
REPLACE INTO table_regex VALUES ('firewalls','fwname','text','redirect','virt_nodes:vname',0,0,NULL);
REPLACE INTO table_regex VALUES ('firewalls','type','text','regex','^(ipfw|ipfw2|ipchains|ipfw2-vlan)$',0,0,NULL);
REPLACE INTO table_regex VALUES ('firewalls','style','text','regex','^(open|closed|basic)$',0,0,NULL);
REPLACE INTO table_regex VALUES ('firewalls','style','text','regex','^(open|closed|basic|emulab)$',0,0,NULL);
REPLACE INTO table_regex VALUES ('firewall_rules','pid','text','redirect','projects:pid',0,0,NULL);
REPLACE INTO table_regex VALUES ('firewall_rules','eid','text','redirect','experimenets:eid',0,0,NULL);
REPLACE INTO table_regex VALUES ('firewall_rules','fwname','text','redirect','virt_nodes:vname',0,0,NULL);
......
......@@ -2178,6 +2178,8 @@ last_net_act,last_cpu_act,last_ext_act);
enum('open','closed','basic','emulab') not NULL default 'basic';
ALTER table default_firewall_rules MODIFY style \
enum('open','closed','basic','emulab') not NULL default 'basic';
UPDATE table_regex SET check='^(open|closed|basic|emulab)$' WHERE \
table_name='firewalls' AND column_name='style';
and update the default rules:
......
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