No longer need openstack-common conf that pulls in the above
code.
In addition this this uses the translation imports from Neutron.
Change-Id: I475aa6936f126264d6de3ba9e25838d5dffddf3d
Use tooz distributed locking mechanism to synchronize concurrent execution
of neutron services over multiple nodes
DocImpact
Change-Id: Icbcec938c1c5ae7a528350f2f283388b81fa66b7
Plugin is used only for configuring DVS for development/testing purposes.
Following features aren't supported:
- security groups
- floating ips
- logical router
Change-Id: I34e0ef1473d3d7cf24dad11f11264a4ed60b11a7
neutron.openstack.common.lockutils have been removed by the following patch:
https://review.openstack.org/#/c/139717/
Change to oslo_concurrency instead.
Change-Id: I70515217f6a4c54a3d9777a51b3f3d2070550f0f
It should have been removed when migrating to oslo.utils when we dropped
timeutils module from our tree.
Change-Id: I4093a3c8faf3da5790ee31fdebec0b8ed70f84f3
That's just a matter of adding requirements.txt entry, fixing imports,
and dropping the corresponding oslo-incubator module from the tree.
While at it, made all imports to import the module into 'oslo_context' and
not just 'context', so that we don't override the module locally in
multiple methods that receive their context arguments with the same
name, making the library inaccessible from inside those methods.
Change-Id: Ie62af970b3b7f225de453e56c01abc4b12af8f5e
Closes-Bug: #1401054
Mostly trivial import changes.
- oslo.i18n no longer provide install() method to inject _() into
globals(), so removed all calls to it;
- removed Babel from dependencies (it will now be grabbed by oslo.i18n);
- updated tox.ini to ignore import violations for oslo.i18n.
Change-Id: I6623d551f512fb7fe9bf35ee734ed6d4c6cbc287
Synced middleware module from incubator instead of removing it
completely. This is needed for grenade and to keep backwards
compatibility with existing installations with old api-paste.ini.
'log' module is updated as a dependency for middleware module.
'versionutils' are added as a new dependency for middleware module.
Closes-Bug: #1371701
Change-Id: Ib1c3161ccc98642091134f2285fed7c90244e600
Co-Authored-By: Ihar Hrachyshka <ihrachys@redhat.com>
This is to avoid fileutils dependency on excutils that are now moved to
oslo.utils.
The following changes are included:
* neutron/openstack/common/__init__.py
6b048e7 Let oslotest manage the six.move setting for mox
* neutron/openstack/common/_i18n.py
9ce1d96 Fix i18n import
5d40e14 Remove code that moved to oslo.i18n
* neutron/openstack/common/fileutils.py
6ff6b4b Switch oslo-incubator to use oslo.utils and remove old modules
2b966f9 Fix deletion of cached file for policy enforcer
9c88dc3 file_open: fixed docstring to refer to open() instead of file()
6c7407b fileutils: port to Python 3
fcf517d Update oslo log messages with translation domains
* neutron/openstack/common/log.py
6c706c5 Delete graduated serialization files
5d40e14 Remove code that moved to oslo.i18n
6ff6b4b Switch oslo-incubator to use oslo.utils and remove old modules
aa74411 log: add missing space in error message
037dee0 Set stevedore log level to WARN by default
37c0091 Add unicode coercion of logged messages to ContextFormatter
6614413 Correct coercion of logged message to unicode
1188d88 Except socket.error if syslog isn't running
ac995be Fix E126 pep8 errors
631f880 Set keystonemiddleware and routes.middleware to log on WARN level
726d00a Adjust oslo logging to provide adapter is enabled for
433fa0b Make logging_context_format_string optional in log.set_defaults
ac92c06 Add default log level for websocket
5fd77eb Ability to customize default_log_levels for each project
4d9328c Python 3: enable tests/unit/test_log.py
cb5a804 Move `mask_password` to strutils
Note: cb5a804 is partially included; that's ok because we don't use the
moved function in Neutron.
Change-Id: I3bfcaff2620b368d807e9468bb7abc01d6471661
Since we've replaced oslo-incubator RPC layer with oslo.messaging, we
don't ship any code that uses kombu.
Change-Id: Ia8a74f1326ecd98c47cbe447f04d475bf61e19d3