]> git.proxmox.com Git - pve-network.git/blobdiff - PVE/Network/SDN/Ipams.pm
controllers: evpn : use frr restart if reload fail
[pve-network.git] / PVE / Network / SDN / Ipams.pm
index a979d4626aae73da9440f369cb6cd72c453d4598..e8a4b0bdd7ada3ebfeef9e7b0b774848af7b5684 100644 (file)
@@ -3,7 +3,6 @@ package PVE::Network::SDN::Ipams;
 use strict;
 use warnings;
 
-use Data::Dumper;
 use JSON;
 
 use PVE::Tools qw(extract_param dir_glob_regex run_command);
@@ -34,6 +33,8 @@ sub sdn_ipams_config {
 
 sub config {
     my $config = cfs_read_file("sdn/ipams.cfg");
+    #add default internal pve
+    $config->{ids}->{pve}->{type} = 'pve';
     return $config;
 }