Shared filesystem management project for OpenStack.
Go to file
Valeriy Ponomaryov 8e5da48361 Migrate to oslo.messaging instead of commom/rpc
Manila uses oslo-incubator/rpc as an RPC library.
During Havana, oslo/rpc was cleaned up and moved into
oslo.messaging with a more stable and well-defined API.

oslo-incubator/rpc considered as deprecated and should be
replaced with oslo.messaging in Manila.

Sum changes:

* New dependency oslo.messaging>=1.3.0 is required

* The new rpc module has init() and cleanup() methods which manage the
global oslo.messaging transport state. The TRANSPORT and NOTIFIER
globals are conceptually similar to the current RPCIMPL global,
except we're free to create and use alternate Transport objects.

* The rpc.get_{client,server,notifier}() methods are just helpers
which wrap the global messaging state, specifiy serializers and
specify the use of the eventlet executor.

* In oslo.messaging, a request context is expected to be a dict, so
RequestContextSerializer was added which can serialize to and from
dicts using RequestContext.{to,from}_dict()

* The allowed_rpc_exception_modules configuration option is replaced
by an allowed_remote_exmods get_transport() parameter. This is not
something that users ever need to configure, but it is something
each project using oslo.messaging needs to be able to customize.

* We maintain a global NOTIFIER object and create specializations of
it with specific publisher IDs in order to avoid notification driver
loading overhead.

* rpc.py contains transport aliases for backwards compatibility
purposes. setup.cfg also contains notification driver aliases for
backwards compat.

* messaging.ConfFixture is used in tests to override oslo.messaging
config options, rather than making assumptions about the options
registered by the library.

Partially-implements bp oslo-messaging

Change-Id: I42cd582f3e1ff96c8f6e8957122b8e9176b1771d
2014-07-03 18:59:33 +03:00
bin Migrate to oslo.messaging instead of commom/rpc 2014-07-03 18:59:33 +03:00
contrib Add CLI tests for share-server-list API 2014-06-29 10:11:31 +03:00
doc Update manila's docs 2014-06-23 19:19:28 +03:00
etc/manila Added force-delete action to admin actions 2014-06-06 10:52:42 +03:00
manila Migrate to oslo.messaging instead of commom/rpc 2014-07-03 18:59:33 +03:00
tools Fix venv installation for run_tests.sh 2014-03-25 12:21:29 +02:00
.gitignore Added service_instance_locks directory to .gitignore 2014-06-06 13:38:24 +03:00
.gitreview Add .gitreview file. 2013-09-24 12:10:01 +00:00
CONTRIBUTING.md docs 2013-09-17 10:57:47 +03:00
HACKING.rst docs 2013-09-17 10:57:47 +03:00
LICENSE Initialize from cinder 2013-08-08 10:34:06 -04:00
MANIFEST.in Initialize from cinder 2013-08-08 10:34:06 -04:00
README.md Initial commit 2013-08-08 07:30:20 -07:00
README.rst Fix some cosmetic issues in README.rst 2014-06-02 10:17:47 +00:00
babel.cfg Initialize from cinder 2013-08-08 10:34:06 -04:00
openstack-common.conf Migrate to oslo.messaging instead of commom/rpc 2014-07-03 18:59:33 +03:00
pylintrc docs 2013-09-17 10:57:47 +03:00
requirements.txt Migrate to oslo.messaging instead of commom/rpc 2014-07-03 18:59:33 +03:00
run_tests.sh docs 2013-09-17 10:57:47 +03:00
setup.cfg Migrate to oslo.messaging instead of commom/rpc 2014-07-03 18:59:33 +03:00
setup.py Updated from global requirements 2014-02-04 19:24:42 +02:00
test-requirements.txt Migrate to oslo.messaging instead of commom/rpc 2014-07-03 18:59:33 +03:00
tox.ini Switch to Hacking 0.8.x 2014-05-23 00:36:45 +02:00

README.md

manila

Openstack Shared Filesystem Service