From 00a4f63f373af0b87c9c4ba8671720bb8324c80a Mon Sep 17 00:00:00 2001 From: Yong Sheng Gong Date: Thu, 14 Jun 2012 19:42:24 +0800 Subject: [PATCH] Remove wrong base class for l2network_models after v2.0 API Bug 1012557 Change-Id: I2a43d5c9334525152e5307278020bad16bf64eb3 --- quantum/plugins/linuxbridge/db/l2network_models.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quantum/plugins/linuxbridge/db/l2network_models.py b/quantum/plugins/linuxbridge/db/l2network_models.py index 7eb0091d0..540c93fb4 100644 --- a/quantum/plugins/linuxbridge/db/l2network_models.py +++ b/quantum/plugins/linuxbridge/db/l2network_models.py @@ -18,10 +18,9 @@ from sqlalchemy import Column, Integer, String, Boolean from quantum.db.models import BASE -from quantum.db.models import QuantumBase -class VlanID(BASE, QuantumBase): +class VlanID(BASE): """Represents a vlan_id usage""" __tablename__ = 'vlan_ids' @@ -36,7 +35,7 @@ class VlanID(BASE, QuantumBase): return "" % (self.vlan_id, self.vlan_used) -class VlanBinding(BASE, QuantumBase): +class VlanBinding(BASE): """Represents a binding of vlan_id to network_id""" __tablename__ = 'vlan_bindings' -- 2.45.2