Skip to content
GitLab
Menu
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
d1323de7
Commit
d1323de7
authored
Oct 26, 2004
by
Mike Hibler
Browse files
More changes for vlan enforced firewall
parent
55c48cdf
Changes
2
Show whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
d1323de7
...
...
@@ -399,7 +399,8 @@ CREATE TABLE firewalls (
type
enum
(
'ipfw'
,
'ipfw2'
,
'ipchains'
,
'ipfw2-vlan'
)
NOT
NULL
default
'ipfw'
,
style
enum
(
'open'
,
'closed'
,
'basic'
)
NOT
NULL
default
'basic'
,
vlan
int
(
11
)
default
NULL
,
PRIMARY
KEY
(
pid
,
eid
,
fwname
)
PRIMARY
KEY
(
pid
,
eid
,
fwname
),
KEY
vlan
(
vlan
)
)
TYPE
=
MyISAM
;
--
...
...
@@ -1052,6 +1053,7 @@ CREATE TABLE nodes (
stated_tag
varchar
(
32
)
default
NULL
,
rtabid
smallint
(
5
)
unsigned
NOT
NULL
default
'0'
,
cd_version
varchar
(
32
)
default
NULL
,
cnet_vlan
int
(
11
)
default
NULL
,
PRIMARY
KEY
(
node_id
),
KEY
phys_nodeid
(
phys_nodeid
),
KEY
node_id
(
node_id
,
phys_nodeid
),
...
...
sql/database-migrate.txt
View file @
d1323de7
...
...
@@ -2084,3 +2084,9 @@ last_net_act,last_cpu_act,last_ext_act);
'emulab-ops-FBSD410-IPFW2','root',NULL, \
'FreeBSD 4.10 with IPFW2','FreeBSD','4.10',NULL,NULL,'', \
'ping,ssh,ipod,isup,veths,mlinks',1,1,1,'NORMALv2',NULL,NULL,0);
1.279: Still more VLAN-enforced firewall changes.
alter table nodes add cnet_vlan int(11) default NULL;
alter table firewalls add index(vlan);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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