[libvirt] [libvirt PATCHv6 1/1] add DHCP snooping

Stefan Berger stefanb at us.ibm.com
Thu Mar 22 19:22:21 UTC 2012


David Stevens/Beaverton/IBM at IBMUS wrote on 03/22/2012 01:27:10 PM:


> 
> This patch adds DHCP snooping support to libvirt. The learning method 
for
> IP addresses is specified by setting the "ip_learning" variable to one 
of
> "any" [default] (existing IP learning code), "none" (static only 
addresses)
> or "dhcp" (DHCP snooping).
> 
> Active leases are saved in a lease file and reloaded on restart or HUP.
> 
> Changes since v5:
> - use VMUUID+MAC to identify interfaces for leases
> - use direct pthread_cancel to kill snooper threads to avoid races with
>   re-used host interfaces

I tried it. It doesn't apply more than one IP address. The code also 
doesn't apply cleanly to the tip.

   Stefan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120322/7c82d781/attachment-0001.htm>


More information about the libvir-list mailing list