Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
cef98ecb
Commit
cef98ecb
authored
Nov 02, 2016
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a state transition that is now valid in the !BOOTINFO_EVENTS world.
parent
a0822540
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
sql/database-fill.sql
sql/database-fill.sql
+1
-0
sql/updates/4/542
sql/updates/4/542
+19
-0
No files found.
sql/database-fill.sql
View file @
cef98ecb
...
...
@@ -710,6 +710,7 @@ REPLACE INTO state_transitions VALUES ('RELOAD-UE','RELOADING','RELOADDONE','Rel
REPLACE
INTO
state_transitions
VALUES
(
'RELOAD-UE'
,
'SHUTDOWN'
,
'RELOADING'
,
'Booting'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMALv2'
,
'BOOTING'
,
'PXEWAIT'
,
'MoonshotPxeWait'
);
REPLACE
INTO
state_transitions
VALUES
(
'PXEKERNEL'
,
'PXEWAKEUP'
,
'SHUTDOWN'
,
'MoonshotBootDisk'
);
REPLACE
INTO
state_transitions
VALUES
(
'PXEKERNEL'
,
'PXEWAKEUP'
,
'BOOTING'
,
'PxeBootWakeup'
);
--
-- Dumping data for table `state_triggers`
...
...
sql/updates/4/542
0 → 100644
View file @
cef98ecb
#
# In !BOOTINFO_EVENTS, PXEWAKEUP will jump to BOOTING and not PXEBOOTING
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("REPLACE INTO state_transitions VALUES ".
"('PXEKERNEL','PXEWAKEUP','BOOTING','PxeBootWakeup')");
return 0;
}
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