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
1a3c6c94
Commit
1a3c6c94
authored
Feb 05, 2016
by
Leigh B Stoller
Browse files
Add emulab node status (up,down,etc) to sliver status blob.
parent
4dc91148
Changes
1
Show whitespace changes
Inline
Side-by-side
protogeni/lib/GeniSliver.pm.in
View file @
1a3c6c94
...
...
@@ -1515,6 +1515,7 @@ sub GenerateStatusBlob($)
print STDERR "Could not map node $resource_id to its object\n";
return -1;
}
my $nodestatus = $node->GetStatus() || "unknown";
# New is the same as stopped. Separate state is handy.
$state = "stopped"
...
...
@@ -1528,6 +1529,7 @@ sub GenerateStatusBlob($)
# We do not put this unless its for SliverStatus. Too big.
"error" => "",
"rawstate" => $node->eventstate(),
"nodestatus" => $nodestatus,
"utc" => time(),
};
...
...
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