adb39e2d1c
This allows deployment tooling to easily switch from passing a binary path to passing a Python module path. We'll use it shortly. Change-Id: I5350dff6be0daf1d4e5e5dfa4aab745b765436f7 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
23 lines
566 B
YAML
23 lines
566 B
YAML
---
|
|
features:
|
|
- |
|
|
A new module, ``neutron.wsgi``, has been added as a place to gather WSGI
|
|
``application`` objects. This is intended to ease deployment by providing
|
|
a consistent location for these objects. For example, if using uWSGI then
|
|
instead of:
|
|
|
|
.. code-block:: ini
|
|
|
|
[uwsgi]
|
|
wsgi-file = /bin/neutron-api
|
|
|
|
You can now use:
|
|
|
|
.. code-block:: ini
|
|
|
|
[uwsgi]
|
|
module = neutron.wsgi.api:application
|
|
|
|
This also simplifies deployment with other WSGI servers that expect module
|
|
paths such as gunicorn.
|