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-requ...@lists.openstack.org?subject:unsubscribe > > (mailto:openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe > (mailto:openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev