}
$cfg->{ids}->{$networkid} = $opts;
-
- #improveme:
- #check local configuration of all nodes for conflict
+ $plugin->on_update_hook($networkid, $scfg);
PVE::Network::Network::write_config($cfg);
foreach my $k (%$opts) {
$scfg->{$k} = $opts->{$k};
}
- #improveme:
- #add vlan/vxlan check on existingvnets
- #check local configuration of all nodes for conflict
+
+ $plugin->on_update_hook($networkid, $scfg);
+
PVE::Network::Network::write_config($cfg);
}, "update network object failed");