summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lamprecht <t.lamprecht@proxmox.com>2025-03-06 09:54:21 +0100
committerThomas Lamprecht <t.lamprecht@proxmox.com>2025-03-06 10:00:21 +0100
commit35b9c672a0f49fc544c18499d90479e55652ba9d (patch)
tree2c312005aaf9c7f83bf0d60025be3812adb60c00
parent7480495c0732e6c029450ca668ee682e6977df6b (diff)
fix missing use statements in core SDN module
Reported-by: Fiona Ebner <f.ebner@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
-rw-r--r--src/PVE/Network/SDN.pm12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/PVE/Network/SDN.pm b/src/PVE/Network/SDN.pm
index 8cd9ad8..cc5febe 100644
--- a/src/PVE/Network/SDN.pm
+++ b/src/PVE/Network/SDN.pm
@@ -3,11 +3,17 @@ package PVE::Network::SDN;
use strict;
use warnings;
+use HTTP::Request;
use IO::Socket::SSL; # important for SSL_verify_callback
-use JSON;
+use JSON qw(decode_json from_json to_json);
+use LWP::UserAgent;
use Net::SSLeay;
+use PVE::Cluster qw(cfs_read_file cfs_write_file cfs_lock_file);
use PVE::INotify;
+use PVE::RESTEnvironment qw(log_warn);
+use PVE::RPCEnvironment;
+use PVE::Tools qw(extract_param dir_glob_regex run_command);
use PVE::Network::SDN::Vnets;
use PVE::Network::SDN::Zones;
@@ -15,10 +21,6 @@ use PVE::Network::SDN::Controllers;
use PVE::Network::SDN::Subnets;
use PVE::Network::SDN::Dhcp;
-use PVE::Tools qw(extract_param dir_glob_regex run_command);
-use PVE::Cluster qw(cfs_read_file cfs_write_file cfs_lock_file);
-use PVE::RESTEnvironment qw(log_warn);
-
my $running_cfg = "sdn/.running-config";
my $parse_running_cfg = sub {