keystone/keystone/common/ldap/models.py
Morgan Fainberg d5cca09bc1 Isolate common ldap code to the identity backend
Since the LDAP code is now isolated to identity only move the common
LDAP code to be part of the ldap backend. This consolidates the code
to a specific location with a 2 cycle deprecation stub in
``keystone.common.ldap``. This lays the ground work for simplifying
the once extremely complex LDAP code that was originally written
to handle Identity and Assignment contructs.

Change-Id: I897bf24ba806c413bd17b76ed62a6cf446dfb0b6
2016-05-21 20:57:09 -07:00

27 lines
985 B
Python

# Copyright (C) 2011 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_log import versionutils
versionutils.deprecated(
what='keystone.common.ldap.models',
as_of=versionutils.deprecated.NEWTON,
remove_in=+2,
in_favor_of='keystone.identity.backends.ldap.models')
# NOTE(notmorgan): This is maintained for compatibility in case outside
# developers are relying on this location.
from keystone.identity.backends.ldap.models import * # noqa