]> git.proxmox.com Git - pve-network.git/blobdiff - PVE/Network/SDN/Ipams/PVEPlugin.pm
ipams: add mac address
[pve-network.git] / PVE / Network / SDN / Ipams / PVEPlugin.pm
index 49252745230c08ce032a5b860a0c49abacaae0e2..c02b6dba74981132a5200a1a768bd4f0601058cc 100644 (file)
@@ -82,7 +82,7 @@ sub del_subnet {
 }
 
 sub add_ip {
-    my ($class, $plugin_config, $subnetid, $subnet, $ip, $hostname, $description, $is_gateway) = @_;
+    my ($class, $plugin_config, $subnetid, $subnet, $ip, $hostname, $mac, $description, $is_gateway) = @_;
 
     my $cidr = $subnet->{cidr};
     my $zone = $subnet->{zone};
@@ -106,7 +106,7 @@ sub add_ip {
 }
 
 sub add_next_freeip {
-    my ($class, $plugin_config, $subnetid, $subnet, $hostname, $description) = @_;
+    my ($class, $plugin_config, $subnetid, $subnet, $hostname, $mac, $description) = @_;
 
     my $cidr = $subnet->{cidr};
     my $network = $subnet->{network};