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
64455c6e
Commit
64455c6e
authored
Dec 01, 2004
by
Mike Hibler
Browse files
1.285: More firewall state. Possibly temporary hack, store unique vlan
ID in firewalls table:
parent
cfdf5c00
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
64455c6e
...
@@ -411,6 +411,7 @@ CREATE TABLE firewalls (
...
@@ -411,6 +411,7 @@ 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
,
vlanid
int
(
11
)
default
NULL
,
PRIMARY
KEY
(
pid
,
eid
,
fwname
),
PRIMARY
KEY
(
pid
,
eid
,
fwname
),
KEY
vlan
(
vlan
)
KEY
vlan
(
vlan
)
)
TYPE
=
MyISAM
;
)
TYPE
=
MyISAM
;
...
...
sql/database-migrate.txt
View file @
64455c6e
...
@@ -2141,3 +2141,8 @@ last_net_act,last_cpu_act,last_ext_act);
...
@@ -2141,3 +2141,8 @@ last_net_act,last_cpu_act,last_ext_act);
appropriate place in reserved. Then do:
appropriate place in reserved. Then do:
alter table nodes drop column cnet_vlan;
alter table nodes drop column cnet_vlan;
1.285: More firewall state. Possibly temporary hack, store unique vlan
ID in firewalls table:
alter table firewalls add vlanid int(11) default NULL;
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