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
15137f79
Commit
15137f79
authored
Oct 03, 2002
by
Mac Newbold
Browse files
Add state_triggers and its data.
parent
dd27f82a
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
15137f79
...
...
@@ -818,6 +818,17 @@ CREATE TABLE state_transitions (
PRIMARY
KEY
(
op_mode
,
state1
,
state2
)
)
TYPE
=
MyISAM
;
#
#
Table
structure
for
table
'state_triggers'
#
CREATE
TABLE
state_triggers
(
op_mode
varchar
(
20
)
NOT
NULL
default
''
,
state
varchar
(
20
)
NOT
NULL
default
''
,
trigger
tinytext
NOT
NULL
,
PRIMARY
KEY
(
op_mode
,
state
)
)
TYPE
=
MyISAM
;
#
#
Table
structure
for
table
'switch_paths'
#
...
...
sql/database-fill.sql
View file @
15137f79
...
...
@@ -240,12 +240,13 @@ REPLACE INTO state_transitions VALUES ('NODEALLOC','REBOOT','FREE_DIRTY');
REPLACE
INTO
state_transitions
VALUES
(
'NODEALLOC'
,
'RELOAD'
,
'FREE_CLEAN'
);
REPLACE
INTO
state_transitions
VALUES
(
'NODEALLOC'
,
'RESERVED'
,
'REBOOT'
);
REPLACE
INTO
state_transitions
VALUES
(
'NODEALLOC'
,
'RESERVED'
,
'RELOAD'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'BOOTING'
,
'REBOOTED'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'ISUP'
,
'ISUP'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'ISUP'
,
'REBOOTED'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'ISUP'
,
'REBOOTING'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'REBOOTED'
,
'BOOTING'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'REBOOTED'
,
'ISUP'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'REBOOTED'
,
'REBOOTED'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'REBOOTING'
,
'
ISUP
'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'REBOOTING'
,
'
BOOTING
'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'REBOOTING'
,
'REBOOTED'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMAL'
,
'REBOOTING'
,
'REBOOTING'
);
REPLACE
INTO
state_transitions
VALUES
(
'NORMALv1'
,
'BOOTING'
,
'TBSETUP'
);
...
...
@@ -266,13 +267,28 @@ REPLACE INTO state_transitions VALUES ('USERSTATUS','UNAPPROVED','ACTIVE');
#
Dumping
data
for
table
'mode_transitions'
#
REPLACE
INTO
mode_transitions
VALUES
(
'MINIMAL'
,
'SHUTDOWN'
,
'NORMAL'
,
'REBOOTING'
);
REPLACE
INTO
mode_transitions
VALUES
(
'MINIMAL'
,
'SHUTDOWN'
,
'NORMALv1'
,
'SHUTDOWN'
);
REPLACE
INTO
mode_transitions
VALUES
(
'MINIMAL'
,
'SHUTDOWN'
,
'RELOAD'
,
'SHUTDOWN'
);
REPLACE
INTO
mode_transitions
VALUES
(
'NORMAL'
,
'REBOOTING'
,
'MINIMAL'
,
'SHUTDOWN'
);
REPLACE
INTO
mode_transitions
VALUES
(
'NORMAL'
,
'REBOOTING'
,
'NORMALv1'
,
'SHUTDOWN'
);
REPLACE
INTO
mode_transitions
VALUES
(
'NORMAL'
,
'REBOOTING'
,
'RELOAD'
,
'SHUTDOWN'
);
REPLACE
INTO
mode_transitions
VALUES
(
'NORMALv1'
,
'SHUTDOWN'
,
'MINIMAL'
,
'SHUTDOWN'
);
REPLACE
INTO
mode_transitions
VALUES
(
'NORMALv1'
,
'SHUTDOWN'
,
'NORMAL'
,
'REBOOTING'
);
REPLACE
INTO
mode_transitions
VALUES
(
'NORMALv1'
,
'SHUTDOWN'
,
'RELOAD'
,
'SHUTDOWN'
);
REPLACE
INTO
mode_transitions
VALUES
(
'RELOAD'
,
'RELOADDONE'
,
'MINIMAL'
,
'SHUTDOWN'
);
REPLACE
INTO
mode_transitions
VALUES
(
'RELOAD'
,
'RELOADDONE'
,
'NORMAL'
,
'REBOOTING'
);
REPLACE
INTO
mode_transitions
VALUES
(
'RELOAD'
,
'RELOADDONE'
,
'NORMALv1'
,
'SHUTDOWN'
);
#
#
Dumping
data
for
table
'state_triggers'
#
REPLACE
INTO
state_triggers
VALUES
(
'NORMAL'
,
'ISUP'
,
'RESET'
);
REPLACE
INTO
state_triggers
VALUES
(
'NORMALv1'
,
'ISUP'
,
'RESET'
);
REPLACE
INTO
state_triggers
VALUES
(
'MINIMAL'
,
'ISUP'
,
'RESET'
);
REPLACE
INTO
state_triggers
VALUES
(
'RELOAD'
,
'RELOADDONE'
,
'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