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
7e2f7b68
Commit
7e2f7b68
authored
Jun 03, 2014
by
Leigh B Stoller
Browse files
Add POA to get the console URL.
parent
eaebe4d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniAM.pm.in
View file @
7e2f7b68
...
...
@@ -1158,6 +1158,15 @@ sub PerformOperationalAction
return GeniCMV2::UnShareLan($args);
}
elsif ($action eq '
geni_console_url
') {
if (!exists($options->{"geni_console_sliver"})) {
return GeniResponse->MalformedArgsResponse("No sliver provided!");
}
$args->{'
slice_urn
'} = $slice->urn();
$args->{'
sliver_urn
'} = $options->{"geni_console_sliver"};
return GeniCMV2::ConsoleURL($args);
}
return GeniResponse->Create(GENIRESPONSE_REFUSED, undef,
"Invalid operational action");
}
...
...
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