The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: If8a132de65ba1e57ea93f98daac66816a3cefaa8
keystone = request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0
[filter:request_id]
-paste.filter_factory = oslo.middleware:RequestId.factory
+paste.filter_factory = oslo_middleware:RequestId.factory
[filter:catch_errors]
-paste.filter_factory = oslo.middleware:CatchErrors.factory
+paste.filter_factory = oslo_middleware:CatchErrors.factory
[filter:keystonecontext]
paste.filter_factory = neutron.auth:NeutronKeystoneContext.factory
import collections
-from oslo.utils import timeutils
+from oslo_utils import timeutils
from oslo_concurrency import lockutils
from neutron.openstack.common.cache import backends
# at the top of this file, lets import cfg
# here and assume that the caller of this
# function already took care of this dependency.
- from oslo.config import cfg
+ from oslo_config import cfg
return [
cfg.StrOpt('cache_url', default='memory://',
"""Compatibility shim for Kilo, while operators migrate to oslo.middleware."""
-from oslo.middleware import catch_errors
+from oslo_middleware import catch_errors
from neutron.openstack.common import versionutils
"""Compatibility shim for Kilo, while operators migrate to oslo.middleware."""
-from oslo.middleware import request_id
+from oslo_middleware import request_id
from neutron.openstack.common import versionutils