Reported-by: Fiona Ebner <f.eb...@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com> ---
and group and sort correctly while at it. src/PVE/Network/SDN.pm | 12 +++++++----- 1 file 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 { -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel