From: Yong Sheng Gong Date: Thu, 14 Jun 2012 11:42:24 +0000 (+0800) Subject: Remove wrong base class for l2network_models after v2.0 API X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=00a4f63f373af0b87c9c4ba8671720bb8324c80a;p=openstack-build%2Fneutron-build.git Remove wrong base class for l2network_models after v2.0 API Bug 1012557 Change-Id: I2a43d5c9334525152e5307278020bad16bf64eb3 --- 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'