Skip to content
GitLab
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
e1dd5c77
Commit
e1dd5c77
authored
Jan 03, 2017
by
Leigh B Stoller
Browse files
Include vhosts (internal nodes) in sliver actions (reboot, etc).
parent
2ad33398
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniAggregate.pm.in
View file @
e1dd5c77
...
...
@@ -2264,7 +2264,8 @@ sub BatchAction($$@)
foreach my $sliver (@slivers) {
next
if (ref($sliver) ne "GeniSliver::Node");
if (ref($sliver) ne "GeniSliver::Node" &&
ref($sliver) ne "GeniSliver::Vhost");
$states{"$sliver->idx()"} = $sliver->state();
my $node = Node->Lookup($sliver->resource_id());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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