<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, May 11, 2018 at 10:09 AM Andreas Scheuring <<a href="mailto:scheuran@linux.vnet.ibm.com">scheuran@linux.vnet.ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">So what you need to do first is to make a patch for networking-onos that does ONLY the following<div><br></div><div><br></div><div>replace all occurrences of </div><div><br></div><div>* neutron.callbacks  by neutron_lib.callbacks</div><div>* neutron.plugins.ml2.driver_api by neutron_lib.plugins.ml2.api</div></div></blockquote><div><br></div><div>FYI here's what networking-calico has for the second of these points:</div><div><br></div><div>try:</div><div>    from neutron_lib.plugins.ml2 import api</div><div>except ImportError:</div><div>    # Neutron code prior to a2c36d7e (10th November 2017).</div><div>    from neutron.plugins.ml2 import driver_api as api</div><div><br></div><div>(<a href="http://git.openstack.org/cgit/openstack/networking-calico/tree/networking_calico/plugins/ml2/drivers/calico/mech_calico.py#n49">http://git.openstack.org/cgit/openstack/networking-calico/tree/networking_calico/plugins/ml2/drivers/calico/mech_calico.py#n49</a>)</div><div><br></div><div>However, we do it like this because we want the master networking-calico code to work with many past Neutron releases, and I understand that that is not a common approach; so for networking-onos you may only want the "from neutron_lib.plugins.ml2 import api" line.</div><div><br></div><div>Regards - Neil</div><div><br></div></div></div>