File 0001-Fix-agent-model.patch of Package openstack-neutron-vsphere

commit 9204497e67b76ccc90f9536fd4cd65f0c3ea8be5
Author: Stefan Nica <snica@suse.com>
Date:   Thu Jun 7 11:06:36 2018 +0200

    Update to use Agent model from neutron.db.models
    
    The Agent model has been moved to neutron.db.models.agent from
    neutron.db.agents_db. This patch makes necessary updates.
    
    Change-Id: Iac0b3e02ecfc9b03d15f7f6ef614f3074811ffac
    Closes-Bug: 1744272
    (cherry picked from commit 04d16afda5f2d52b6249a4aafde69c9b0ed67e33)

diff --git a/networking_vsphere/utils/db.py b/networking_vsphere/utils/db.py
index 2885fba..db4ea46 100644
--- a/networking_vsphere/utils/db.py
+++ b/networking_vsphere/utils/db.py
@@ -13,8 +13,8 @@
 #    License for the specific language governing permissions and limitations
 #    under the License.
 
-from neutron.db import agents_db
 from neutron.db import api as db_api
+from neutron.db.models import agent as agents_db
 
 from networking_vsphere.common import constants
 
openSUSE Build Service is sponsored by