<div dir="ltr">On 6 June 2014 10:17, henry hly <span dir="ltr"><<a href="mailto:henry4hly@gmail.com" target="_blank">henry4hly@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><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>ML2 mechanism drivers are becoming another kind of "plugins". Although they can be loaded together, but can not work with each other.<br></div><div></div></div></blockquote><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>Could we remove all device related adaption(rest/ssh/netconf/of... proxy) from these mechanism driver to the agent side, leaving only necessary code in the plugin?</div></div></blockquote><div><br></div>
<div>In the Snabb NFV mech driver [*] we are trying a design that you might find interesting.</div><div><br></div><div>We stripped the mech driver down to bare bones and declared that the agent has to access the Neutron configuration independently.</div>
<div><br></div><div>In practice this means that our out-of-tree agent is connecting to Neutron's MySQL database directly instead of being fed config changes by custom sync code in ML2. This means there are very little work for the mech driver to do (in our case check configuration and perform special port binding).</div>
<div><br></div><div>We are also trying to avoid running an OVS/LinuxBridge-style agent on the compute hosts in order to keep the code footprint small. I hope we will succeed -- I'd love to hear if somebody else is running "agent-less"? Currently we depend on a really ugly workaround to make VIF binding succeed and we are looking for a clean alternative: <a href="https://github.com/lukego/neutron/commit/31d6d0657aeae9fd97a63e4d53da34fb86be92f7">https://github.com/lukego/neutron/commit/31d6d0657aeae9fd97a63e4d53da34fb86be92f7</a></div>
<div><br></div>[*] Snabb NFV mech driver code: <a href="https://review.openstack.org/95711">https://review.openstack.org/95711</a></div><div class="gmail_quote"><br><div>Cheers,</div><div>-Luke</div><div><br></div><div><br>
</div></div></div></div>