Remove model_base deprecations

The model_base mixins were deprecated from neutron a long time ago.

NeutronLibImpact

Change-Id: I4b9a069d4e36472a74daa38053a64109c3985473
This commit is contained in:
Henry Gessau 2016-11-26 02:32:14 -05:00 committed by garyk
parent 09bc8a724e
commit 55bda46c47

View File

@ -20,20 +20,11 @@ from sqlalchemy import orm
from sqlalchemy import sql
from neutron.api.v2 import attributes as attr
from neutron.common import _deprecate
from neutron.db.network_dhcp_agent_binding import models as ndab_model
from neutron.db import rbac_db_models
from neutron.db import standard_attr
# NOTE(kevinbenton): these are here for external projects that expect them
# to be found in this module.
_deprecate._moved_global('HasTenant', new_name='HasProject',
new_module=model_base)
_deprecate._moved_global('HasId', new_module=model_base)
_deprecate._moved_global('HasStatusDescription', new_module=model_base)
class IPAllocationPool(model_base.BASEV2, model_base.HasId):
"""Representation of an allocation pool in a Neutron subnet."""
@ -258,6 +249,3 @@ class Network(standard_attr.HasStandardAttributes, model_base.BASEV2,
'Agent', lazy='joined', viewonly=True,
secondary=ndab_model.NetworkDhcpAgentBinding.__table__)
api_collections = [attr.NETWORKS]
_deprecate._MovedGlobals()