mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-29 15:24:32 +00: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::AccessControl;
|
||||||
use PVE::INotify;
|
use PVE::INotify;
|
||||||
use PVE::Network;
|
use PVE::Network;
|
||||||
|
use PVE::API2::Firewall::VM;
|
||||||
|
|
||||||
use Data::Dumper; # fixme: remove
|
use Data::Dumper; # fixme: remove
|
||||||
|
|
||||||
@ -495,11 +496,17 @@ __PACKAGE__->register_method({
|
|||||||
{ subdir => 'snapshot' },
|
{ subdir => 'snapshot' },
|
||||||
{ subdir => 'spiceproxy' },
|
{ subdir => 'spiceproxy' },
|
||||||
{ subdir => 'sendkey' },
|
{ subdir => 'sendkey' },
|
||||||
|
{ subdir => 'firewall' },
|
||||||
];
|
];
|
||||||
|
|
||||||
return $res;
|
return $res;
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
__PACKAGE__->register_method ({
|
||||||
|
subclass => "PVE::API2::Firewall::VM",
|
||||||
|
path => '{vmid}/firewall',
|
||||||
|
});
|
||||||
|
|
||||||
__PACKAGE__->register_method({
|
__PACKAGE__->register_method({
|
||||||
name => 'rrd',
|
name => 'rrd',
|
||||||
path => '{vmid}/rrd',
|
path => '{vmid}/rrd',
|
||||||
|
@ -3,7 +3,7 @@ Version: @@VERSION@@-@@PKGRELEASE@@
|
|||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Architecture: @@ARCH@@
|
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
|
Conflicts: netcat-openbsd
|
||||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||||
Description: Qemu Server Tools
|
Description: Qemu Server Tools
|
||||||
|
Loading…
Reference in New Issue
Block a user