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
9a2488d7
Commit
9a2488d7
authored
Jan 09, 2002
by
Leigh B. Stoller
Browse files
Make sure that portmap is cleared on a failed experiment!
parent
04ec11ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbswapin.in
View file @
9a2488d7
...
...
@@ -66,8 +66,9 @@ sub cleanup {
}
print
STDERR
"
Resetting DB.
\n
";
DBQueryWarn
("
DELETE from delays where pid='
$pid
' and eid='
$eid
'
");
DBQueryWarn
("
DELETE from vlans where pid='
$pid
' and eid='
$eid
'
");
DBQueryWarn
("
DELETE from delays where pid='
$pid
' and eid='
$eid
'
");
DBQueryWarn
("
DELETE from vlans where pid='
$pid
' and eid='
$eid
'
");
DBQueryWarn
("
DELETE from portmap where pid='
$pid
' and eid='
$eid
'
");
SetExpState
(
$pid
,
$eid
,
EXPTSTATE_SWAPPED
);
}
...
...
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