use PVE::JSONSchema qw(get_standard_option);
use PVE::AccessControl;
use PVE::Storage;
+use PVE::Firewall;
use PVE::OpenVZ;
use PVE::APLInfo;
use PVE::QemuServer;
use PVE::API2::VZDump;
use PVE::API2::APT;
use PVE::API2::Ceph;
+use PVE::API2::Firewall::Host;
use JSON;
use base qw(PVE::RESTHandler);
path => 'apt',
});
+__PACKAGE__->register_method ({
+ subclass => "PVE::API2::Firewall::Host",
+ path => 'firewall',
+});
+
__PACKAGE__->register_method ({
name => 'index',
path => '',
{ name => 'startall' },
{ name => 'stopall' },
{ name => 'netstat' },
+ { name => 'firewall' },
];
return $result;