Commit ff4bf2d6 authored by Leigh B Stoller's avatar Leigh B Stoller

Fix up console url POA to use standard urn arguments.

parent c1cfb7f9
......@@ -1159,11 +1159,13 @@ sub PerformOperationalAction
return GeniCMV2::UnShareLan($args);
}
elsif ($action eq 'geni_console_url') {
if (!exists($options->{"geni_console_sliver"})) {
if (!exists($args->{'sliver_urns'})) {
return GeniResponse->MalformedArgsResponse("No sliver provided!");
}
my ($sliver_urn) = @{$args->{'sliver_urns'}};
$args->{'slice_urn'} = $slice->urn();
$args->{'sliver_urn'} = $options->{"geni_console_sliver"};
$args->{'sliver_urn'} = $sliver_urn;
return GeniCMV2::ConsoleURL($args);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment