Oh..I see.<div><br></div><div>I look forward to see your code for it :)</div><div><br></div><div>Thanks,</div><div>Hitesh<br><br><div class="gmail_quote">On Tue, Aug 21, 2012 at 11:27 AM, Eugene Kirpichov <span dir="ltr"><<a href="mailto:ekirpichov@gmail.com" target="_blank">ekirpichov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Heh, that's an article by my colleague Piotr Siwczak, which I already<br>
read very thouroughly during the review process - but thanks ;)<br>
<br>
Actually I already found the answer to my question and added it to the<br>
documentation (when the codereview is completed) - it was related to<br>
nova-dhcpbridge script.<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Aug 20, 2012 at 10:21 PM, hitesh wadekar<br>
<<a href="mailto:hitesh.wadekar@gmail.com">hitesh.wadekar@gmail.com</a>> wrote:<br>
> May be this article will help.<br>
><br>
> <a href="http://www.mirantis.com/blog/openstack-networking-flatmanager-and-flatdhcpmanager/" target="_blank">http://www.mirantis.com/blog/openstack-networking-flatmanager-and-flatdhcpmanager/</a><br>
><br>
> Thanks,<br>
> Hitesh<br>
><br>
><br>
> On Tue, Aug 21, 2012 at 3:16 AM, Eugene Kirpichov <<a href="mailto:ekirpichov@gmail.com">ekirpichov@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I found the code. It's a dnsmasq dhcp-script called by dnsmasq for<br>
>> various events, it resides in nova/bin/nova-dhcpbridge and it, among<br>
>> other things, calls release_fixed_ip when the lease expires.<br>
>><br>
>> On Sat, Aug 18, 2012 at 1:01 AM, Aaron Rosen <<a href="mailto:arosen@nicira.com">arosen@nicira.com</a>> wrote:<br>
>> > Hi Eugene,<br>
>> ><br>
>> > I'm not sure I have not looked at the code (I'm guessing that it<br>
>> > probably<br>
>> > keeps the lease around since it knows the VM is still active instead of<br>
>> > recycling the ip address). Though this is just a guess. You should look<br>
>> > at<br>
>> > the implementation details if you are curious.<br>
>> ><br>
>> > Aaron<br>
>> ><br>
>> ><br>
>> > On Sat, Aug 18, 2012 at 3:48 AM, Eugene Kirpichov <<a href="mailto:ekirpichov@gmail.com">ekirpichov@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Thanks. And how will n-net react?<br>
>> >><br>
>> >><br>
>> >><br>
>> >> 18.08.2012, в 0:43, Aaron Rosen <<a href="mailto:arosen@nicira.com">arosen@nicira.com</a>> написал(а):<br>
>> >><br>
>> >> Hi Eugene,<br>
>> >><br>
>> >> This means that if a VM stops it's DHCP client that nova-network will<br>
>> >> be<br>
>> >> aware of this since the VM will not attempt to renew it's DHCP lease.<br>
>> >><br>
>> >> Aaron<br>
>> >><br>
>> >> On Fri, Aug 17, 2012 at 5:58 PM, Eugene Kirpichov<br>
>> >> <<a href="mailto:ekirpichov@gmail.com">ekirpichov@gmail.com</a>><br>
>> >> wrote:<br>
>> >>><br>
>> >>> Hi,<br>
>> >>><br>
>> >>> The documentation<br>
>> >>><br>
>> >>><br>
>> >>> <a href="http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-flat-dhcp-networking.html" target="_blank">http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-flat-dhcp-networking.html</a><br>

>> >>> has the passage: "The nova-network service will track leases and<br>
>> >>> releases in the database so it knows if a VM instance has stopped<br>
>> >>> properly configuring via DHCP"<br>
>> >>><br>
>> >>> Can someone briefly explain me what this means, if possible with rough<br>
>> >>> pointers to code?<br>
>> >>> I don't recall nova noticing when my VM actually stopped properly<br>
>> >>> configuring via DHCP.<br>
>> >>><br>
>> >>> --<br>
>> >>> Eugene Kirpichov<br>
>> >>> <a href="http://www.linkedin.com/in/eugenekirpichov" target="_blank">http://www.linkedin.com/in/eugenekirpichov</a><br>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> >>> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
>> >>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> >>> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
>> >><br>
>> >><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Eugene Kirpichov<br>
>> <a href="http://www.linkedin.com/in/eugenekirpichov" target="_blank">http://www.linkedin.com/in/eugenekirpichov</a><br>
>><br>
>> _______________________________________________<br>
>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Eugene Kirpichov<br>
<a href="http://www.linkedin.com/in/eugenekirpichov" target="_blank">http://www.linkedin.com/in/eugenekirpichov</a><br>
</div></div></blockquote></div><br></div>