mirror of
git://git.proxmox.com/git/pve-firewall.git
synced 2025-08-30 13:49:30 +03:00
helpers: re-introduce original call site for backward compat
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -24,6 +24,8 @@ use PVE::SafeSyslog;
|
|||||||
use PVE::Tools qw($IPV4RE $IPV6RE);
|
use PVE::Tools qw($IPV4RE $IPV6RE);
|
||||||
use PVE::Tools qw(run_command lock_file dir_glob_foreach);
|
use PVE::Tools qw(run_command lock_file dir_glob_foreach);
|
||||||
|
|
||||||
|
use PVE::Firewall::Helpers;
|
||||||
|
|
||||||
my $pvefw_conf_dir = "/etc/pve/firewall";
|
my $pvefw_conf_dir = "/etc/pve/firewall";
|
||||||
my $clusterfw_conf_filename = "$pvefw_conf_dir/cluster.fw";
|
my $clusterfw_conf_filename = "$pvefw_conf_dir/cluster.fw";
|
||||||
|
|
||||||
@ -3352,6 +3354,16 @@ sub save_vmfw_conf {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# FIXME: remove with 8.0 and break older qemu-server/pve-container
|
||||||
|
sub remove_vmfw_conf {
|
||||||
|
return PVE::Firewall::Helpers::remove_vmfw_conf(@_);
|
||||||
|
}
|
||||||
|
|
||||||
|
# FIXME: remove with 8.0 and break older qemu-server/pve-container
|
||||||
|
sub clone_vmfw_conf {
|
||||||
|
return PVE::Firewall::Helpers::clone_vmfw_conf(@_);
|
||||||
|
}
|
||||||
|
|
||||||
sub read_vm_firewall_configs {
|
sub read_vm_firewall_configs {
|
||||||
my ($cluster_conf, $vmdata, $dir) = @_;
|
my ($cluster_conf, $vmdata, $dir) = @_;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user