Remove wrong base class for l2network_models after v2.0 API
Bug 1012557 Change-Id: I2a43d5c9334525152e5307278020bad16bf64eb3
This commit is contained in:
parent
95b49fad57
commit
7d9556a0f3
@ -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 "<VlanID(%d,%s)>" % (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'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user