diff options
Diffstat (limited to 'nova/api/auth.py')
-rw-r--r-- | nova/api/auth.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nova/api/auth.py b/nova/api/auth.py index 710281a00d..43b4dbef88 100644 --- a/nova/api/auth.py +++ b/nova/api/auth.py @@ -75,11 +75,15 @@ def pipeline_factory(loader, global_conf, **local_conf): return _load_pipeline(loader, pipeline) -def pipeline_factory_v3(loader, global_conf, **local_conf): +def pipeline_factory_v21(loader, global_conf, **local_conf): """A paste pipeline replica that keys off of auth_strategy.""" return _load_pipeline(loader, local_conf[CONF.auth_strategy].split()) +# NOTE(oomichi): This pipeline_factory_v3 is for passing check-grenade-dsvm. +pipeline_factory_v3 = pipeline_factory_v21 + + class InjectContext(wsgi.Middleware): """Add a 'nova.context' to WSGI environ.""" |