<div dir="ltr">Note that with the openvswitch and linuxbridge mechanism drivers, it will be safe to have both loaded on the Neutron server at the same time since each driver will only bind a port if it has an agent of that type running on the host.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 30, 2016 at 1:24 PM, Sławek Kapłoński <span dir="ltr"><<a href="mailto:slawek@kaplonski.pl" target="_blank">slawek@kaplonski.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I don't know what is hierarchical port binding but about mechanism<br>
drivers, You should use this mechanism driver which L2 agent You are<br>
using on compute/network nodes. If You have OVS L2 agent then You should<br>
have enabled openvswitch mechanism driver.<br>
In general both of those drivers are doing similar work on<br>
neutron-server side because they are checking if proper agent type is<br>
working on host and if other conditions required to bind port are valid.<br>
Mechanism drivers can have also some additional informations about<br>
backend driver, e.g. there is info about supported QoS rule types for<br>
each backend driver (OVS, Linuxbridge and SR-IOV).<br>
<br>
BTW. IMHO You should send such questions to <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<br>
--<br>
Best regards / Pozdrawiam<br>
Sławek Kapłoński<br>
<a href="mailto:slawek@kaplonski.pl">slawek@kaplonski.pl</a><br>
<div><div class="h5"><br>
On Fri, 30 Dec 2016, zhi wrote:<br>
<br>
> Hi, all<br>
><br>
> First of all. Happy New year for everyone!<br>
><br>
> I have a question about mechanism drivers when using ML2 driver.<br>
><br>
> When should I use openvswitch mechanism driver ?<br>
><br>
> When should I use linuxbridge mechanism driver ?<br>
><br>
> And, when should I use openvswitch and linuxbridge mechanism drivers ?<br>
><br>
> In my opinion, ML2 driver has supported hierarchical port binding. By using<br>
> hierarchical port binding,<br>
> neutron will know every binding info in network topology, isn't it? If yes,<br>
> where I can found the every binding info. And what the relationship between<br>
> hierarchical port binding and mechanism drivers?<br>
><br>
><br>
> Hope for your reply.<br>
><br>
> Thanks<br>
> Zhi Chang<br>
<br>
</div></div>> ______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br>
<br>______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div>