<div dir="ltr"><span style="font-size:12.8px">Hi,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm not close to Neutron's discussions but do you think to have a look at pyroute2 [1]?</div><div style="font-size:12.8px">"Pyroute2 is a pure Python netlink and Linux network configuration library. It requires only Python stdlib, no 3rd party libraries."</div><div style="font-size:12.8px">Which permits to create bridge and adding interfaces easily [2] (but not only...).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">[1] <a href="https://github.com/svinota/pyroute2" target="_blank">https://github.com/svinota/pyroute2</a></div><div style="font-size:12.8px">[2] <a href="https://github.com/svinota/pyroute2/blob/a76d2efd8966ec5b6cc713dc5d909b5cd070a9a8/benchmark/ipdb.py#L16" target="_blank">https://github.com/svinota/pyroute2/blob/a76d2efd8966ec5b6cc713dc5d909b5cd070a9a8/benchmark/ipdb.py#L16</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 8, 2016 at 8:05 AM, Brandon Logan <span dir="ltr"><<a href="mailto:brandon.logan@rackspace.com" target="_blank">brandon.logan@rackspace.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">pybrctl repo is at: <a href="https://github.com/udragon/pybrctl" rel="noreferrer" target="_blank">https://github.com/udragon/pybrctl</a><br>
It is in pypi.<br>
<br>
Looks like a wrapper around the shell brctl commands.  I don't think it<br>
would buy us anything more than what moving neutron's current<br>
implementation of doing brctl commands to neutron-lib would do.  In<br>
fact, it might end up costing more.  That's just my very uninformed<br>
opinion though.<br>
<br>
Thanks,<br>
Brandon<br>
<div><div class="h5"><br>
On Thu, 2016-07-07 at 23:59 +0000, Bhatia, Manjeet S wrote:<br>
> Hi,<br>
>  <br>
> There is work in progress for pure python driven linux network<br>
> configuration. I think most<br>
> of work will be done with this patch <a href="https://review.openstack.org/#/c" rel="noreferrer" target="_blank">https://review.openstack.org/#/c</a><br>
> /155631/ . The only<br>
> thing left after this will be linux bridge configuration, Which I<br>
> would like to discuss with<br>
> community. There are two ways at the moment I can think to do that<br>
> implementation,<br>
> First, use pybrctl which may need some changes in library itself in<br>
> order for full support.<br>
> It will clean up the code from neutron. But looking pybrctl code<br>
> which is just executing<br>
> Shell commands, another solution which Brandon Logan discussed is<br>
> move the existing<br>
> Code for executing those commands to neutron-lib, which I think is<br>
> better solution. I would<br>
> like to have views of community, especially people working neutron-<br>
> lib about moving<br>
> python code for executing brctl commands to neutron-lib.<br>
>  <br>
>  <br>
> Thanks and Regards !<br>
> Manjeet Singh Bhatia<br>
</div></div>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>