[openstack-dev] [neutron][ml2 plugin] unit test errors

Sangho Shin sangho at opennetworking.org
Mon May 14 03:08:39 UTC 2018

Andreas and Neil,

Thank you so much for your help.
I was able to fix the issues thanks to your help.


나의 iPhone에서 보냄

2018. 5. 11. 오후 7:19, Neil Jerram <neil at tigera.io> 작성:

>> On Fri, May 11, 2018 at 10:09 AM Andreas Scheuring <scheuran at linux.vnet.ibm.com> wrote:
>> So what you need to do first is to make a patch for networking-onos that does ONLY the following
>> replace all occurrences of 
>> * neutron.callbacks  by neutron_lib.callbacks
>> * neutron.plugins.ml2.driver_api by neutron_lib.plugins.ml2.api
> FYI here's what networking-calico has for the second of these points:
> try:
>     from neutron_lib.plugins.ml2 import api
> except ImportError:
>     # Neutron code prior to a2c36d7e (10th November 2017).
>     from neutron.plugins.ml2 import driver_api as api
> (http://git.openstack.org/cgit/openstack/networking-calico/tree/networking_calico/plugins/ml2/drivers/calico/mech_calico.py#n49)
> 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.
> Regards - Neil
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180514/a98336b4/attachment.html>

More information about the OpenStack-dev mailing list