Commit b5e97adc authored by Dietmar Maurer's avatar Dietmar Maurer

move code to Ceph.pm, create API for ceph

parent 22415a0c
This diff is collapsed.
include ../../defines.mk
PERLSOURCE = \
Ceph.pm \
APT.pm \
Subscription.pm \
VZDump.pm \
......
......@@ -30,6 +30,7 @@ use PVE::API2::Qemu;
use PVE::API2::OpenVZ;
use PVE::API2::VZDump;
use PVE::API2::APT;
use PVE::API2::Ceph;
use JSON;
use base qw(PVE::RESTHandler);
......@@ -39,6 +40,11 @@ __PACKAGE__->register_method ({
path => 'qemu',
});
__PACKAGE__->register_method ({
subclass => "PVE::API2::Ceph",
path => 'ceph',
});
__PACKAGE__->register_method ({
subclass => "PVE::API2::OpenVZ",
path => 'openvz',
......@@ -108,6 +114,7 @@ __PACKAGE__->register_method ({
my ($param) = @_;
my $result = [
{ name => 'ceph' },
{ name => 'apt' },
{ name => 'version' },
{ name => 'syslog' },
......
This diff is collapsed.
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