<div dir="ltr"><br>> Maybe I missed something, but what's the solution?<div><br><div>There isn't one yet. That's why it's going to be discussed at the summit.<br><div><br></div><div>> I think we should release a workable version.</div><div><br></div><div>Definitely. But that doesn't have anything to do with it living in the same repository. By putting it in a different repo, it provides smaller code bases to learn for new contributors wanting to become a core developer in addition to a clear separation between plugins and core code.</div><div><br></div><div>> Besides of user experience, the open source drivers are also used for developing and verifying new features, even small-scale case.</div></div></div><div><br></div><div>Sure, but this also isn't affected by the code being in a separate repo. </div><div><br></div><div>> The community should and just need focus on the Neutron core and provide framework for vendors' devices.</div><div><br></div><div>I agree, but without the open source drivers being separated as well, it's very difficult for the framework for external drivers to be stable enough to be useful.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 7:24 PM, Germy Lure <span dir="ltr"><<a href="mailto:germy.lure@gmail.com" target="_blank">germy.lure@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font color="#38761d">Some comments inline.</font><div><font color="#38761d"><br></font><div><div><font color="#38761d">BR,</font></div><div><font color="#38761d">Germy</font></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Sep 11, 2014 at 5:47 PM, Kevin Benton <span dir="ltr"><<a href="mailto:blak111@gmail.com" target="_blank">blak111@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">This has been brought up several times already and I believe is going to be discussed at the Kilo summit. </div></blockquote></span><div><font color="#38761d">Maybe I missed something, but what's the solution?</font></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div>I agree that reviewing third party patches eats community time. However, claiming that the community pays 46% of it's energy to maintain vendor-specific code doesn't make any sense. LOC in the repo has very little to do with ongoing required maintenance. Assuming the APIs for the plugins stay consistent, there should be few 'maintenance' changes required to a plugin once it's in the tree. If there are that many changes to plugins just to keep them operational, that means Neutron is far too unstable to support drivers living outside of the tree anyway. </div></div></blockquote></span><div><font color="#38761d">Yes, you are right. "Neutron is far too unstable to support drivers living outside of the tree anyway". So I think this is really our important point.</font></div><div><font color="#38761d">The community should focus on </font><span style="color:rgb(56,118,29)">standardizing NB&SB API, introducing and improving new features NOT wasting energy to introduce and maintain vendor-specific codes.</span></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>On a related note, if we are going to pull plugins/drivers out of Neutron, I think all of them should be removed, including the OVS and LinuxBridge ones. There is no reason for them to be there if Neutron has stable enough internal APIs to eject the 3rd party plugins from the repo. They should be able to live in a separate neutron-opensource-drivers repo or something along those lines. This will free up significant amounts of developer/reviewer cycles for neutron to work on the API refactor, task based workflows, performance improvements for the DB operations, etc.</div></div></blockquote></span><div><font color="#38761d">I think we should release a workable version. User can experience the functions powered by built-in components. And they can replace them with</font></div><div><font color="#38761d">the release of those vendors who cooperate with them. The community should not work for vendor's codes.</font></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>If the open source drivers stay in the tree and the others are removed, there is little incentive to keep the internal APIs stable and 3rd party drivers sitting outside of the tree will break on every refactor or data structure change. If that's the way we want to treat external driver developers, let's be explicit about it and just post warnings that 3rd party drivers can break at any point and that the onus is on the external developers to learn what changed an react to it. At some point they will stop bothering with Neutron completely in their deployments and mimic its public API.</div></div></blockquote></span><div><font color="#38761d">Besides of user experience, the open source drivers are also used for developing and verifying new features, even small-scale case.</font></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>A clear separation of the open source drivers/plugins and core Neutron would give a much better model for 3rd party driver developers to follow and would enforce a stable internal API in the Neutron core.</div></div></blockquote></span><div><span style="color:rgb(56,118,29)">The community should and just need focus on the Neutron core and provide framework for vendors' devices</span><font color="#38761d">. Vendors just need adapt Neutron API and focus on their codes' quality. If not, I think the architecture is not proper. Everyone should only carry their own monkey.</font></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Sep 11, 2014 at 1:54 AM, Germy Lure <span dir="ltr"><<a href="mailto:germy.lure@gmail.com" target="_blank">germy.lure@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr">Hi stackers,<div><br></div><div>According to my statistics(J2), the LOC of vendors' plugin and driver is about 102K, while the whole under neutron is 220K.</div><div>That is to say the community has paid and is paying over 46% energy to maintain vendors' code. If we take mails, bugs,</div><div>BPs  and so on into consideration, this percentage will be more.</div><div><div><br></div><div>Most of these codes are just plugins and drivers implementing almost  the same functions. Every vendor submits a plugin,</div><div>and the community only do the same thing, repeat and repeat. Meaningless.I think it's time to move them out. </div><div>Let's focus on improving those exist but still weak features, on introducing important and interesting new features.</div><div><br></div></div><div>My suggestions now:</div><div>1.monopolized plugins</div><div>  1)The community only standards NB API and keeps built-ins, such as ML2, OVS and Linux bridge plugins.</div><div>  2)Vendors maintain their plugins locally.</div><div>  3)Users get neutron from community and plugin from some vendor on demand.</div><div>2.service plugins</div><div>  1)The community standards SB API and keeps open source driver(iptables, openSwan and etc.) as built-in.</div><div>  2)Vendors only provide drivers not plugin. And those drivers also need not deliver to community.</div><div>  3)Like above, Users can get code on demand from vendors or just use open source.</div><div>3.ML2 plugin</div><div>  1)Like service and monopolized plugin, the community just keep open source implementations as built-in.</div><div>  2)L2-population should be kept.</div><div><br></div><div>I am very happy to discuss this further.</div><div><br></div><div>vendors' code stat. table(excluding built-in plugins and drivers)</div><div>------------------------------------------------------------</div><div><div>Path<span style="white-space:pre-wrap">       </span>                                                    Size</div><div>neutron-master\neutron\plugins\<span style="white-space:pre-wrap">        </span>    63170</div><div>neutron-master\neutron\services\<span style="white-space:pre-wrap">      </span>    4052</div><div>neutron-master\neutron\tests\<span style="white-space:pre-wrap">  </span>            35756</div></div><div><br></div><div>BR,</div><div>Germy</div></div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Kevin Benton</div>
</font></span></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div></div></div><br></div></div></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Kevin Benton</div>
</div>