Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
use PVE::INotify;
use PVE::JSONSchema qw(get_standard_option);
use PVE::Tools qw(run_command file_set_contents file_get_contents);
+use PVE::RESTEnvironment qw(log_warn);
use PVE::Network::SDN::Controllers::Plugin;
use PVE::Network::SDN::Zones::Plugin;
my $bin_path = "/usr/lib/frr/frr-reload.py";
if (!-e $bin_path) {
- warn "missing $bin_path. Please install frr-pythontools package";
+ log_warn("missing $bin_path. Please install frr-pythontools package");
return;
}