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
3536b5d6
Commit
3536b5d6
authored
Jul 06, 2010
by
Jonathon Duerig
Browse files
BUG FIX: Conflated "stopped" and "new" states when actually booting.
parent
7a34c981
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniAggregate.pm.in
View file @
3536b5d6
...
...
@@ -794,7 +794,7 @@ sub Start($$$)
# Look to see if local physical node was stopped (powered off).
#
if (!$node->isremotenode() &&
$sliver->state() eq "stopped") {
(
$sliver->state() eq "stopped"
|| $sliver->state() eq "new")
) {
$poweron{$node->node_id} = $node;
}
else {
...
...
@@ -1018,7 +1018,8 @@ sub Stop($$)
# in the stopped state. Skip those.
#
next
if ($sliver->state() eq "stopped");
if ($sliver->state() eq "stopped"
|| $sliver->state() eq "new");
if ($node->isvirtnode()) {
$vnodes{$node->node_id} = $node;
...
...
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