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
a588ecd4
Commit
a588ecd4
authored
Dec 10, 2004
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 'rebootable' bit to node_types
parent
1c0efe2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
sql/database-create.sql
sql/database-create.sql
+3
-2
sql/database-migrate.txt
sql/database-migrate.txt
+8
-0
No files found.
sql/database-create.sql
View file @
a588ecd4
...
...
@@ -283,9 +283,9 @@ CREATE TABLE experiment_stats (
idle_swaps
smallint
(
5
)
unsigned
default
'0'
,
swapin_duration
int
(
10
)
unsigned
default
'0'
,
batch
tinyint
(
3
)
unsigned
default
'0'
,
elabinelab
tinyint
(
1
)
unsigned
default
'0'
,
elabinelab
tinyint
(
1
)
NOT
NULL
default
'0'
,
elabinelab_exptidx
int
(
10
)
unsigned
default
NULL
,
security_level
tinyint
(
1
)
NOT
NULL
default
'0'
,
security_level
tinyint
(
1
)
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
eid
,
pid
,
exptidx
),
KEY
exptidx
(
exptidx
),
KEY
rsrcidx
(
rsrcidx
)
...
...
@@ -982,6 +982,7 @@ CREATE TABLE node_types (
issimnode
tinyint
(
4
)
NOT
NULL
default
'0'
,
simnode_capacity
smallint
(
5
)
unsigned
NOT
NULL
default
'0'
,
trivlink_maxspeed
int
(
11
)
unsigned
NOT
NULL
default
'0'
,
isrebootable
tinyint
(
1
)
default
'1'
,
PRIMARY
KEY
(
type
)
)
TYPE
=
MyISAM
;
...
...
sql/database-migrate.txt
View file @
a588ecd4
...
...
@@ -2164,3 +2164,11 @@ last_net_act,last_cpu_act,last_ext_act);
alter table reserved add \
inner_elab_role enum('boss','ops','node') default NULL \
after cnet_vlan;
1.287: Add a 'rebootable' bit to the node_types table to indicate that a
given type should not be attempted to be rebooted. This should be
temporary, and will go away when we have node_capabilities:
alter table node_types add (isrebootable tinyint(1) default '1');
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