For rtslib-fb versions 2.1.52 and newer its own namespace (rtslib_fb) is
recommended instead of the older one (rtslib).
On versions with this new namespace a deprecation warning will be
thrown: "'rtslib' package name for rtslib-fb is deprecated, please
instead import 'rtslib_fb'"
This patch uses this new namespace when possible and falls back to the
older namespace if not.
Reviewed: https:/ /review. openstack. org/190099 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=6532be7eda2 c7eec2984d51f06 f0c69311b7b572
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6532be7eda2c7ee c2984d51f06f0c6 9311b7b572
Author: Gorka Eguileor <email address hidden>
Date: Wed Jun 10 11:57:07 2015 +0200
Use correct rtslib namespace for newer versions
For rtslib-fb versions 2.1.52 and newer its own namespace (rtslib_fb) is
recommended instead of the older one (rtslib).
On versions with this new namespace a deprecation warning will be
thrown: "'rtslib' package name for rtslib-fb is deprecated, please
instead import 'rtslib_fb'"
This patch uses this new namespace when possible and falls back to the
older namespace if not.
Change-Id: I984105458da4d7 b8736bf7c83919c be5feb9c85a
Closes-Bug: #1460814