add documentation for setting up api pipeline

Ceilometer adopted Paste in Juno, we should document this change.

Change-Id: I4d79fec10736574c909b3d980779682013e0deb6
This commit is contained in:
gordon chung 2014-08-26 10:58:48 -04:00
parent 1bd4a3fb41
commit 5b414c7c81
2 changed files with 10 additions and 1 deletions

View File

@ -31,6 +31,7 @@ If you use sql alchemy, its specific parameters will need to be set.
=============================== ==================================== ============================================================== =============================== ==================================== ==============================================================
Parameter Default Note Parameter Default Note
=============================== ==================================== ============================================================== =============================== ==================================== ==============================================================
api_paste_config api_paste.ini Configuration file for WSGI definition of the API
nova_control_exchange nova Exchange name for Nova notifications nova_control_exchange nova Exchange name for Nova notifications
glance_control_exchange glance Exchange name for Glance notifications glance_control_exchange glance Exchange name for Glance notifications
cinder_control_exchange cinder Exchange name for Cinder notifications cinder_control_exchange cinder Exchange name for Cinder notifications

View File

@ -485,6 +485,7 @@ Installing the API Server
:: ::
$ mkdir -p /etc/ceilometer $ mkdir -p /etc/ceilometer
$ cp etc/ceilometer/api_paste.ini /etc/ceilometer
$ cp etc/ceilometer/*.json /etc/ceilometer $ cp etc/ceilometer/*.json /etc/ceilometer
$ cp etc/ceilometer/*.yaml /etc/ceilometer $ cp etc/ceilometer/*.yaml /etc/ceilometer
$ cp etc/ceilometer/ceilometer.conf.sample /etc/ceilometer/ceilometer.conf $ cp etc/ceilometer/ceilometer.conf.sample /etc/ceilometer/ceilometer.conf
@ -511,7 +512,14 @@ Installing the API Server
Refer to :doc:`/configuration` for details about any other options Refer to :doc:`/configuration` for details about any other options
you might want to modify before starting the service. you might want to modify before starting the service.
5. Start the API server. 5. (Optional) As of the Juno release, Ceilometer utilises Paste Deploy to
manage WSGI applications. Ceilometer uses keystonemiddleware by default but
additional middleware and applications can be configured in api_paste.ini.
For examples on how to use Paste Deploy, refer to this documentation_.
.. _documentation: http://pythonpaste.org/deploy/
6. Start the API server.
:: ::