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-devel
Commits
960cf669
Commit
960cf669
authored
Jun 10, 2003
by
Mac Newbold
Browse files
Add the PCVM state machine.
parent
37d3853f
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/database-fill.sql
View file @
960cf669
...
...
@@ -293,6 +293,10 @@ REPLACE INTO state_timeouts VALUES ('TBCOMMAND','REBOOT',15,'CMDRETRY');
REPLACE
INTO
state_timeouts
VALUES
(
'TBCOMMAND'
,
'POWEROFF'
,
0
,
'CMDRETRY'
);
REPLACE
INTO
state_timeouts
VALUES
(
'TBCOMMAND'
,
'POWERON'
,
0
,
'CMDRETRY'
);
REPLACE
INTO
state_timeouts
VALUES
(
'TBCOMMAND'
,
'POWERCYCLE'
,
0
,
'CMDRETRY'
);
REPLACE
INTO
state_timeouts
VALUES
(
'PCVM'
,
'BOOTING'
,
180
,
'NOTIFY'
);
REPLACE
INTO
state_timeouts
VALUES
(
'PCVM'
,
'SHUTDOWN'
,
0
,
''
);
REPLACE
INTO
state_timeouts
VALUES
(
'PCVM'
,
'ISUP'
,
0
,
''
);
REPLACE
INTO
state_timeouts
VALUES
(
'PCVM'
,
'TBSETUP'
,
600
,
'NOTIFY'
);
--
-- Dumping data for table 'state_transitions'
...
...
@@ -358,6 +362,12 @@ REPLACE INTO state_transitions VALUES ('NORMALv1','SHUTDOWN','BOOTING');
REPLACE
INTO
state_transitions
VALUES
(
'NORMALv1'
,
'SHUTDOWN'
,
'SHUTDOWN'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMALv1'
,
'TBSETUP'
,
'ISUP'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMALv1'
,
'TBSETUP'
,
'SHUTDOWN'
);
REPLACE
INTO
state_transitions
VALUES
(
'PCVM'
,
'BOOTING'
,
'SHUTDOWN'
);
REPLACE
INTO
state_transitions
VALUES
(
'PCVM'
,
'BOOTING'
,
'TBSETUP'
);
REPLACE
INTO
state_transitions
VALUES
(
'PCVM'
,
'ISUP'
,
'SHUTDOWN'
);
REPLACE
INTO
state_transitions
VALUES
(
'PCVM'
,
'SHUTDOWN'
,
'BOOTING'
);
REPLACE
INTO
state_transitions
VALUES
(
'PCVM'
,
'TBSETUP'
,
'ISUP'
);
REPLACE
INTO
state_transitions
VALUES
(
'PCVM'
,
'TBSETUP'
,
'SHUTDOWN'
);
REPLACE
INTO
state_transitions
VALUES
(
'RELOAD'
,
'BOOTING'
,
'BOOTING'
);
REPLACE
INTO
state_transitions
VALUES
(
'RELOAD'
,
'BOOTING'
,
'RELOADSETUP'
);
REPLACE
INTO
state_transitions
VALUES
(
'RELOAD'
,
'BOOTING'
,
'SHUTDOWN'
);
...
...
@@ -398,6 +408,7 @@ REPLACE INTO state_triggers VALUES ('*','NORMALv1','ISUP','RESET');
REPLACE
INTO
state_triggers
VALUES
(
'*'
,
'MINIMAL'
,
'ISUP'
,
'RESET'
);
REPLACE
INTO
state_triggers
VALUES
(
'*'
,
'RELOAD'
,
'RELOADDONE'
,
'RESET, RELOADDONE'
);
REPLACE
INTO
state_triggers
VALUES
(
'*'
,
'ALWAYSUP'
,
'SHUTDOWN'
,
'ISUP'
);
REPLACE
INTO
state_triggers
VALUES
(
'*'
,
'PCVM'
,
'ISUP'
,
'RESET'
);
--
-- Dumping data for table 'testsuite_preentables'
...
...
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