Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
2e3339ca
Commit
2e3339ca
authored
Dec 13, 2004
by
Mike Hibler
Browse files
Argh! Forgot a table_regex entry for my last change.
parent
bb3eec4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-fill.sql
View file @
2e3339ca
...
...
@@ -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
);
...
...
sql/database-migrate.txt
View file @
2e3339ca
...
...
@@ -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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment