[Openstack] Question about Flat DHCP networking

hitesh wadekar hitesh.wadekar at gmail.com
Tue Aug 21 05:21:50 UTC 2012


May be this article will help.

http://www.mirantis.com/blog/openstack-networking-flatmanager-and-flatdhcpmanager/


Thanks,
Hitesh

On Tue, Aug 21, 2012 at 3:16 AM, Eugene Kirpichov <ekirpichov at gmail.com>wrote:

> Hi,
>
> I found the code. It's a dnsmasq dhcp-script called by dnsmasq for
> various events, it resides in nova/bin/nova-dhcpbridge and it, among
> other things, calls release_fixed_ip when the lease expires.
>
> On Sat, Aug 18, 2012 at 1:01 AM, Aaron Rosen <arosen at nicira.com> wrote:
> > Hi Eugene,
> >
> > I'm not sure I have not looked at the code (I'm guessing that it probably
> > keeps the lease around since it knows the VM is still active instead of
> > recycling the ip address). Though this is just a guess. You should look
> at
> > the implementation details if you are curious.
> >
> > Aaron
> >
> >
> > On Sat, Aug 18, 2012 at 3:48 AM, Eugene Kirpichov <ekirpichov at gmail.com>
> > wrote:
> >>
> >> Thanks. And how will n-net react?
> >>
> >>
> >>
> >> 18.08.2012, в 0:43, Aaron Rosen <arosen at nicira.com> написал(а):
> >>
> >> Hi Eugene,
> >>
> >> This means that if a VM stops it's DHCP client that nova-network will be
> >> aware of this since the VM will not attempt to renew it's DHCP lease.
> >>
> >> Aaron
> >>
> >> On Fri, Aug 17, 2012 at 5:58 PM, Eugene Kirpichov <ekirpichov at gmail.com
> >
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> The documentation
> >>>
> >>>
> http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-flat-dhcp-networking.html
> >>> has the passage: "The nova-network service will track leases and
> >>> releases in the database so it knows if a VM instance has stopped
> >>> properly configuring via DHCP"
> >>>
> >>> Can someone briefly explain me what this means, if possible with rough
> >>> pointers to code?
> >>> I don't recall nova noticing when my VM actually stopped properly
> >>> configuring via DHCP.
> >>>
> >>> --
> >>> Eugene Kirpichov
> >>> http://www.linkedin.com/in/eugenekirpichov
> >>>
> >>> _______________________________________________
> >>> Mailing list: https://launchpad.net/~openstack
> >>> Post to     : openstack at lists.launchpad.net
> >>> Unsubscribe : https://launchpad.net/~openstack
> >>> More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >
>
>
>
> --
> Eugene Kirpichov
> http://www.linkedin.com/in/eugenekirpichov
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120821/07b3e5f7/attachment.html>


More information about the Openstack mailing list