[openstack-dev] [neutron] replace external ip monitor

Miguel Ángel Ajo majopela at redhat.com
Mon May 4 13:25:38 UTC 2015


Does the library require root privileges to work
for the operations you’re planning to do?

That would be a stopper, since all the agents run unprivileged, and all the
operations are filtered by the oslo root wrap daemon or cmdline tool.

Best,
Miguel Ángel.


Miguel Ángel Ajo


On Monday, 4 de May de 2015 at 14:58, Assaf Muller wrote:

> .
>  
> ----- Original Message -----
> > …
> >  
> > Hello.
> >  
> > I would like to discuss the possibility to replace external ip monitor
> > in the neutron code [1] with an internal native Python code [2]
> >  
> > The issues of the current implementation:
> > * an external process management
> > * text output parsing (possibly buffered)
> >  
> > The proposed library:
> > * pure Python code
> > * threadless (by default) socket-like objects to work with netlink
> > * optional eventlet optimization
> > * netlink messages as native python objects
> > * compatible license
> >  
>  
>  
> How's packaging looking on all supported platforms?
>  
> On a related note, ip_monitor.py is 87 lines of code, I'd be wary of getting
> rid of it and using a full blown library instead. Then again, using pyroute2,
> we might want to replace other pieces of code (Such as parts of ip_lib).
>  
> > If it's ok, I would prepare a patchset this week.
> >  
> > [1] neutron/agent/linux/ip_monitor.py
> > [2] https://github.com/svinota/pyroute2
> >  
> > --
> > Peter V. Saveliev
> >  
> > __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe (mailto:OpenStack-dev-request at lists.openstack.org?subject:unsubscribe)
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >  
>  
>  
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe (mailto:OpenStack-dev-request at lists.openstack.org?subject:unsubscribe)
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150504/2ddddabe/attachment.html>


More information about the OpenStack-dev mailing list