Discussion: remove dependency on neutron.manager in neutron_ovn_db_sync_util

Bug #1688033 reported by Boden R
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Won't Fix
Undecided
Unassigned

Bug Description

This is a discussion bug in regards to the neutron-lib effort.
We want to break dependencies with neutron.manager and are specifically looking at uses of init().

Today neutron_ovn_db_sync_util uses manager.init() to get reference to a driver/plugin [1].

Is there a way we can refactor [1] to not use manager.init()? Perhaps directly create the reference?

Given some direction from the networking-ovn team, I'm happy to do the refactoring. Or someone from the team and drive it.

[1] http://git.openstack.org/cgit/openstack/networking-ovn/tree/networking_ovn/cmd/neutron_ovn_db_sync_util.py#n113

Revision history for this message
Numan Siddique (numansiddique) wrote :

Thanks for raising this bug and starting the discussion.
I will check and come back with my comments

Changed in networking-ovn:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.