Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
d1323de7
Commit
d1323de7
authored
Oct 26, 2004
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More changes for vlan enforced firewall
parent
55c48cdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
sql/database-create.sql
sql/database-create.sql
+3
-1
sql/database-migrate.txt
sql/database-migrate.txt
+6
-0
No files found.
sql/database-create.sql
View file @
d1323de7
...
@@ -399,7 +399,8 @@ CREATE TABLE firewalls (
...
@@ -399,7 +399,8 @@ CREATE TABLE firewalls (
type
enum
(
'ipfw'
,
'ipfw2'
,
'ipchains'
,
'ipfw2-vlan'
)
NOT
NULL
default
'ipfw'
,
type
enum
(
'ipfw'
,
'ipfw2'
,
'ipchains'
,
'ipfw2-vlan'
)
NOT
NULL
default
'ipfw'
,
style
enum
(
'open'
,
'closed'
,
'basic'
)
NOT
NULL
default
'basic'
,
style
enum
(
'open'
,
'closed'
,
'basic'
)
NOT
NULL
default
'basic'
,
vlan
int
(
11
)
default
NULL
,
vlan
int
(
11
)
default
NULL
,
PRIMARY
KEY
(
pid
,
eid
,
fwname
)
PRIMARY
KEY
(
pid
,
eid
,
fwname
),
KEY
vlan
(
vlan
)
)
TYPE
=
MyISAM
;
)
TYPE
=
MyISAM
;
--
--
...
@@ -1052,6 +1053,7 @@ CREATE TABLE nodes (
...
@@ -1052,6 +1053,7 @@ CREATE TABLE nodes (
stated_tag
varchar
(
32
)
default
NULL
,
stated_tag
varchar
(
32
)
default
NULL
,
rtabid
smallint
(
5
)
unsigned
NOT
NULL
default
'0'
,
rtabid
smallint
(
5
)
unsigned
NOT
NULL
default
'0'
,
cd_version
varchar
(
32
)
default
NULL
,
cd_version
varchar
(
32
)
default
NULL
,
cnet_vlan
int
(
11
)
default
NULL
,
PRIMARY
KEY
(
node_id
),
PRIMARY
KEY
(
node_id
),
KEY
phys_nodeid
(
phys_nodeid
),
KEY
phys_nodeid
(
phys_nodeid
),
KEY
node_id
(
node_id
,
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);
...
@@ -2084,3 +2084,9 @@ last_net_act,last_cpu_act,last_ext_act);
'emulab-ops-FBSD410-IPFW2','root',NULL, \
'emulab-ops-FBSD410-IPFW2','root',NULL, \
'FreeBSD 4.10 with IPFW2','FreeBSD','4.10',NULL,NULL,'', \
'FreeBSD 4.10 with IPFW2','FreeBSD','4.10',NULL,NULL,'', \
'ping,ssh,ipod,isup,veths,mlinks',1,1,1,'NORMALv2',NULL,NULL,0);
'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
Markdown
is supported
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