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
fa2e6cfc
Commit
fa2e6cfc
authored
May 25, 2004
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'static-ddijk' to routertypes slot in nodes and virt_nodes.
parent
39a8533d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
sql/database-create.sql
sql/database-create.sql
+2
-2
sql/database-migrate.txt
sql/database-migrate.txt
+10
-0
No files found.
sql/database-create.sql
View file @
fa2e6cfc
...
...
@@ -911,7 +911,7 @@ CREATE TABLE nodes (
status
enum
(
'up'
,
'possibly down'
,
'down'
,
'unpingable'
)
default
NULL
,
status_timestamp
datetime
default
NULL
,
failureaction
enum
(
'fatal'
,
'nonfatal'
,
'ignore'
)
NOT
NULL
default
'fatal'
,
routertype
enum
(
'none'
,
'ospf'
,
'static'
,
'manual'
)
NOT
NULL
default
'none'
,
routertype
enum
(
'none'
,
'ospf'
,
'static'
,
'manual'
,
'static-ddijk'
)
NOT
NULL
default
'none'
,
next_pxe_boot_path
text
,
bios_version
varchar
(
64
)
default
NULL
,
eventstate
varchar
(
20
)
default
NULL
,
...
...
@@ -1697,7 +1697,7 @@ CREATE TABLE virt_nodes (
vname
varchar
(
32
)
NOT
NULL
default
''
,
type
varchar
(
12
)
default
NULL
,
failureaction
enum
(
'fatal'
,
'nonfatal'
,
'ignore'
)
NOT
NULL
default
'fatal'
,
routertype
enum
(
'none'
,
'ospf'
,
'static'
,
'manual'
)
NOT
NULL
default
'none'
,
routertype
enum
(
'none'
,
'ospf'
,
'static'
,
'manual'
,
'static-ddijk'
)
NOT
NULL
default
'none'
,
fixed
text
NOT
NULL
,
KEY
pid
(
pid
,
eid
,
vname
)
)
TYPE
=
MyISAM
;
...
...
sql/database-migrate.txt
View file @
fa2e6cfc
...
...
@@ -1537,3 +1537,13 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiments change use_ipassign \
use_ipassign tinyint(4) NOT NULL default '0';
1.246: Change routertype slots to include new type of route stuff.
alter table nodes change routertype routertype \
enum('none','ospf','static','manual','static-ddijk') \
NOT NULL default 'none';
alter table virt_nodes change routertype routertype \
enum('none','ospf','static','manual','static-ddijk') \
NOT NULL default 'none',
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