Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
cdd903cc
Commit
cdd903cc
authored
Oct 02, 2003
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a new role 'gw' for 'gateway' interfaces
parent
67bdd2e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
sql/database-create.sql
sql/database-create.sql
+1
-1
sql/database-migrate.txt
sql/database-migrate.txt
+5
-0
No files found.
sql/database-create.sql
View file @
cdd903cc
...
...
@@ -456,7 +456,7 @@ CREATE TABLE interfaces (
mask
varchar
(
15
)
default
NULL
,
interface_type
varchar
(
30
)
default
NULL
,
iface
text
NOT
NULL
,
role
enum
(
'ctrl'
,
'expt'
,
'jail'
,
'fake'
,
'other'
)
NOT
NULL
default
'other'
,
role
enum
(
'ctrl'
,
'expt'
,
'jail'
,
'fake'
,
'other'
,
'gw'
)
default
NULL
,
current_speed
enum
(
'100'
,
'10'
,
'1000'
)
NOT
NULL
default
'100'
,
duplex
enum
(
'full'
,
'half'
)
NOT
NULL
default
'full'
,
PRIMARY
KEY
(
node_id
,
card
,
port
),
...
...
sql/database-migrate.txt
View file @
cdd903cc
...
...
@@ -1002,3 +1002,8 @@ last_net_act,last_cpu_act,last_ext_act);
1.190: Add an index...
alter table testbed_stats add key (exptidx);
1.191: Add a new role 'gw' for 'gateway' interfaces:
alter table interfaces modify role enum('ctrl','expt','jail','fake', \
'other','gw');
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