Commit 83b11339 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add entrypoints for ApproveDataset() and CancelReservation().

parent 756fbbc0
......@@ -188,6 +188,7 @@ $V2_METHODS = {
"DeleteDataset" => \&GeniCMV2::DeleteDataset,
"DescribeDataset" => \&GeniCMV2::DescribeDataset,
"ModifyDataset" => \&GeniCMV2::ModifyDataset,
"ApproveDataset" => \&GeniCMV2::ApproveDataset,
"GetDatasetCredential" => \&GeniCMV2::GetDatasetCredential,
"SecureImageDownload" => \&GeniCMV2::SecureImageDownload,
"Lockdown" => \&GeniCMV2::Lockdown,
......@@ -282,6 +283,7 @@ ProtoGeniDefs::AddModule("cluster",
"DeleteReservation" => \&GeniCluster::DeleteReservation,
"ReservationSystemInfo"=> \&GeniCluster::ReservationSystemInfo,
"ReservationPrediction"=> \&GeniCluster::ReservationPrediction,
"CancelReservation" => \&GeniCluster::CancelReservation,
}},
});
......
......@@ -58,6 +58,7 @@ $GENI_METHODS = {
"DeleteReservation" => \&GeniCluster::DeleteReservation,
"ReservationSystemInfo"=> \&GeniCluster::ReservationSystemInfo,
"ReservationPrediction"=> \&GeniCluster::ReservationPrediction,
"CancelReservation" => \&GeniCluster::CancelReservation,
};
1;
......
#!/usr/bin/perl -w
#
# Copyright (c) 2008-2016 University of Utah and the Flux Group.
# Copyright (c) 2008-2017 University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
......@@ -113,6 +113,7 @@ elsif ($GENI_VERSION eq "2.0") {
"DeleteDataset" => \&GeniCMV2::DeleteDataset,
"DescribeDataset" => \&GeniCMV2::DescribeDataset,
"ModifyDataset" => \&GeniCMV2::ModifyDataset,
"ApproveDataset" => \&GeniCMV2::ApproveDataset,
"GetDatasetCredential" => \&GeniCMV2::GetDatasetCredential,
# This will not work in the fcgid world without more work.
"SecureImageDownload" => \&GeniCMV2::SecureImageDownload,
......
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