<div dir="ltr">If you wanted one compatible with both you could have a line like this.<div><br></div><div>session = ctx.session if isinstance(ctx, neutron.context.Context) else ctx</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 3, 2017 at 2:52 PM, Ian Wells <span dir="ltr"><<a href="mailto:ijw.ubuntu@cack.org.uk" target="_blank">ijw.ubuntu@cack.org.uk</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"><div>I see this changes a function's argument types without changing the function's name - for instance, in the proposed networking-cisco change, <a href="https://review.openstack.org/#/c/409045/" target="_blank">https://review.openstack.org/#<wbr>/c/409045/</a> .  This makes it hard to detect that there's been a change and react accordingly.  What's the recommended way to write a mechanism driver that is compatible with both pre- and post-change Neutron versions?<span class="HOEnZb"><font color="#888888"><br>-- <br></font></span></div><span class="HOEnZb"><font color="#888888">Ian.<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 27 December 2016 at 02:29, Anna Taraday <span dir="ltr"><<a href="mailto:akamyshnikova@mirantis.com" target="_blank">akamyshnikova@mirantis.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">Hello everyone!<br><br>Please, note that all changes to Neutron merged.<br><br>Changes that needs to be merged for external repos:<br>segments db refactor - <a href="https://review.openstack.org/#/q/status:open+branch:master+topic:segmentsdb" target="_blank">https://review.openstack.org/#<wbr>/q/status:open+branch:master+t<wbr>opic:segmentsdb</a><br>ml2 db refactor - <a href="https://review.openstack.org/#/q/status:open+branch:master+topic:refactor_ml2db" target="_blank">https://review.openstack.org<wbr>/#/q/status:open+branch:master<wbr>+topic:refactor_ml2db</a><br><br>Happy holidays for everyone!<br><br></div><br><div class="gmail_quote"><div><div class="m_-789918246701684489h5"><div dir="ltr">On Thu, Dec 22, 2016 at 7:36 AM Russell Bryant <<a href="mailto:rbryant@redhat.com" target="_blank">rbryant@redhat.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-789918246701684489h5"><div dir="ltr" class="m_-789918246701684489m_-7142914554262449514gmail_msg"><div class="gmail_extra m_-789918246701684489m_-7142914554262449514gmail_msg"><br class="m_-789918246701684489m_-7142914554262449514gmail_msg"><div class="gmail_quote m_-789918246701684489m_-7142914554262449514gmail_msg">On Wed, Dec 21, 2016 at 10:50 AM, Anna Taraday <span dir="ltr" class="m_-789918246701684489m_-7142914554262449514gmail_msg"><<a href="mailto:akamyshnikova@mirantis.com" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">akamyshnikova@mirantis.com</a>></span> wrote:<br class="m_-789918246701684489m_-7142914554262449514gmail_msg"><blockquote class="gmail_quote m_-789918246701684489m_-7142914554262449514gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_-789918246701684489m_-7142914554262449514gmail_msg">Hello everyone!<br class="m_-789918246701684489m_-7142914554262449514gmail_msg"><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">I've got two changes with refactor of TypeDriver [1] and segments db [2] which is needed for implementation new engine facade [3]. <br class="m_-789918246701684489m_-7142914554262449514gmail_msg"><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">Reviewers of networking-cisco, networkin<wbr>g-arista, <a class="m_-789918246701684489m_-7142914554262449514m_3260451586978794000m_6832109040982225263inbox-inbox-gwt-InlineHyperlink m_-789918246701684489m_-7142914554262449514gmail_msg" href="https://review.openstack.org/#/projects/openstack/networking-nec,dashboards/default" style="text-decoration:none;background-color:rgb(245,245,255);color:rgb(34,34,34);background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial" target="_blank">networking-nec</a>, <a class="m_-789918246701684489m_-7142914554262449514m_3260451586978794000m_6832109040982225263inbox-inbox-gwt-InlineHyperlink m_-789918246701684489m_-7142914554262449514gmail_msg" href="https://review.openstack.org/#/projects/openstack/networking-midonet,dashboards/default" style="text-decoration:none;color:rgb(34,34,34);background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial" target="_blank">netw<wbr>orking-midonet</a>, networking-<wbr>edge-vpn, networking-bagpipe, <wbr>tricircle, group-based-policy <wbr>- pay attention for [4].<br class="m_-789918246701684489m_-7142914554262449514gmail_msg"><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">Also recently merged refactor of ml2/db.py [5]. Fixes for networking-cisco, networki<wbr>ng-cisco, networking-cisco - are on review [6]<br class="m_-789918246701684489m_-7142914554262449514gmail_msg"><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">[1] - <a href="https://review.openstack.org/#/c/398873/" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">https://review.openstack.org<wbr>/#/c/398873/</a><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">[2] - <a href="https://review.openstack.org/#/c/406275/" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">https://review.openstack.org<wbr>/#/c/406275/</a><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">[3] - <a href="https://blueprints.launchpad.net/neutron/+spec/enginefacade-switch" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">https://blueprints.launchpad<wbr>.net/neutron/+spec/enginefacad<wbr>e-switch</a><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">[4] - <a href="https://review.openstack.org/#/q/topic:segmentsdb" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">https://review.openstack.org/#<wbr>/q/topic:segmentsdb</a><div class="m_-789918246701684489m_-7142914554262449514gmail_msg">[5] - <a href="https://review.openstack.org/#/c/404714/" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">https://review.openstack.org<wbr>/#/c/404714/</a><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">[6] - <a href="https://review.openstack.org/#/q/status:open++branch:master+topic:refactor_ml2db" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">https://review.openstack.org<wbr>/#/q/status:open++branch:maste<wbr>r+topic:refactor_ml2db</a></div></div></blockquote></div><div class="gmail_extra m_-789918246701684489m_-7142914554262449514gmail_msg"><br class="m_-789918246701684489m_-7142914554262449514gmail_msg"></div></div></div><div dir="ltr" class="m_-789918246701684489m_-7142914554262449514gmail_msg"><div class="gmail_extra m_-789918246701684489m_-7142914554262449514gmail_msg"><div class="gmail_default m_-789918246701684489m_-7142914554262449514gmail_msg" style="font-family:arial,helvetica,sans-serif">​Thanks a lot for looking out for the various networking-* projects when working on changes like this.  It's really great to see.</div><div class="m_-789918246701684489m_-7142914554262449514gmail_msg"><br class="m_-789918246701684489m_-7142914554262449514gmail_msg"></div>-- <br class="m_-789918246701684489m_-7142914554262449514gmail_msg"><div class="m_-789918246701684489m_-7142914554262449514m_3260451586978794000gmail_signature m_-789918246701684489m_-7142914554262449514gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="m_-789918246701684489m_-7142914554262449514gmail_msg"><div class="m_-789918246701684489m_-7142914554262449514gmail_msg"><div dir="ltr" class="m_-789918246701684489m_-7142914554262449514gmail_msg"><div class="m_-789918246701684489m_-7142914554262449514gmail_msg"><font class="m_-789918246701684489m_-7142914554262449514gmail_msg" face="arial, helvetica, sans-serif">Russell Bryant</font></div></div></div></div></div>
</div></div></div></div>
______________________________<wbr>______________________________<wbr>______________<br class="m_-789918246701684489m_-7142914554262449514gmail_msg">
OpenStack Development Mailing List (not for usage questions)<br class="m_-789918246701684489m_-7142914554262449514gmail_msg">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" class="m_-789918246701684489m_-7142914554262449514gmail_msg" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><span class="m_-789918246701684489HOEnZb"><font color="#888888"><br class="m_-789918246701684489m_-7142914554262449514gmail_msg">
</font></span></blockquote></div><span class="m_-789918246701684489HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Regards,<br>Ann Taraday</div></div>
</font></span><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.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
<br></blockquote></div><br></div>
</div></div><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>