]> git.puffer.fish Git - mirror/pve-network.git/commitdiff
fix missing use statements in core SDN module
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 6 Mar 2025 08:54:21 +0000 (09:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 6 Mar 2025 09:00:21 +0000 (10:00 +0100)
Reported-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Network/SDN.pm

index 8cd9ad827aa9c6e561fba512d49b5db6ce6efb0a..cc5febec81f9030589da3046fa99edea6816994f 100644 (file)
@@ -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 {