[pve-devel] [PATCH 2/7] vmconfig_hotplug_pending : add update_net

Dietmar Maurer dietmar at proxmox.com
Wed Nov 19 11:57:23 CET 2014


 Oh, I can see it now. Thanks.

> >>what if firewall flag changed?
> 
> It's managed later with bridge && vlan
> 
>                 if(&$safe_string_ne($oldnet->{bridge}, $newnet->{bridge}) ||
>                    &$safe_num_ne($oldnet->{tag}, $newnet->{tag}) ||
>                    &$safe_num_ne($oldnet->{firewall}, $newnet->{firewall})){
>                     PVE::Network::tap_unplug($iface);
>                     PVE::Network::tap_plug($iface, $newnet->{bridge}, $newnet->{tag},
> $newnet->{firewall});
>                 }


More information about the pve-devel mailing list