]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make quantum pipeline configurable from quantum.conf.
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Thu, 26 Jul 2012 08:48:48 +0000 (17:48 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Fri, 27 Jul 2012 08:08:21 +0000 (17:08 +0900)
commitddcc951f08dc24c2fc605b45937a429c2c354e51
treea88920e219b9c69a45c1dc1c7ed0a5716075cd24
parent787f763a33cf59a58930e4b6ee329a43d2dbedd0
Make quantum pipeline configurable from quantum.conf.

Fixes bug 1029313.

The current api-paste.ini does not provide a way to choose a pipeline:
there is no way to switching a pipeline between keystone-enabled and
noauth pipelines without modifying the pipeline directly.

This commit introduces 'auth_strategy' flag to quantum.conf and
a pipeline used is determined depending on the flag. Supported values for
this flag are 'keystone' (default) and 'noauth' at the moment.

Change-Id: Ieafaf31eaaec2b02727ed5d3bd36c907e50aee5b
etc/api-paste.ini
etc/quantum.conf
quantum/auth.py
quantum/common/config.py