mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-21 18:03:56 +03:00
depend on pve-firewall, add firewall API for VMs
This commit is contained in:
parent
3cf90d7a40
commit
228a998ba3
@ -18,6 +18,7 @@ use PVE::RPCEnvironment;
|
||||
use PVE::AccessControl;
|
||||
use PVE::INotify;
|
||||
use PVE::Network;
|
||||
use PVE::API2::Firewall::VM;
|
||||
|
||||
use Data::Dumper; # fixme: remove
|
||||
|
||||
@ -495,11 +496,17 @@ __PACKAGE__->register_method({
|
||||
{ subdir => 'snapshot' },
|
||||
{ subdir => 'spiceproxy' },
|
||||
{ subdir => 'sendkey' },
|
||||
{ subdir => 'firewall' },
|
||||
];
|
||||
|
||||
return $res;
|
||||
}});
|
||||
|
||||
__PACKAGE__->register_method ({
|
||||
subclass => "PVE::API2::Firewall::VM",
|
||||
path => '{vmid}/firewall',
|
||||
});
|
||||
|
||||
__PACKAGE__->register_method({
|
||||
name => 'rrd',
|
||||
path => '{vmid}/rrd',
|
||||
|
@ -3,7 +3,7 @@ Version: @@VERSION@@-@@PKGRELEASE@@
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Architecture: @@ARCH@@
|
||||
Depends: libc6 (>= 2.7-18), perl (>= 5.10.0-19), libterm-readline-gnu-perl, pve-qemu-kvm (>= 1.7-1), netcat-traditional, libpve-access-control, libpve-storage-perl, pve-cluster, redhat-cluster-pve, libjson-perl, libjson-xs-perl, libio-multiplex-perl, libnet-ssleay-perl, socat
|
||||
Depends: libc6 (>= 2.7-18), perl (>= 5.10.0-19), libterm-readline-gnu-perl, pve-qemu-kvm (>= 1.7-1), netcat-traditional, libpve-access-control, libpve-storage-perl, pve-cluster, redhat-cluster-pve, libjson-perl, libjson-xs-perl, libio-multiplex-perl, libnet-ssleay-perl, socat, pve-firewall
|
||||
Conflicts: netcat-openbsd
|
||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||
Description: Qemu Server Tools
|
||||
|
Loading…
x
Reference in New Issue
Block a user