]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Pecan controller loads service plugins
authorBrandon Logan <brandon.logan@rackspace.com>
Tue, 29 Dec 2015 08:41:48 +0000 (02:41 -0600)
committerKevin Benton <blak111@gmail.com>
Tue, 12 Jan 2016 20:28:54 +0000 (12:28 -0800)
commita6ab3badd15d65b3c2f9417cb4f483460397338b
treeb53c7df22a844af7cf2ce3dc528cade99f16ca55
parenta6547e9cf0b7ce1dfc8b616c7c6521e31ba592c4
Pecan controller loads service plugins

The pecan controllers were not parsing out the case when a service
plugin is being used that changes the URI to
/v2.0/service_plugin/resource

This will check to see if the first resource after v2.0 is an
extension to a service plugin, and if it is it'll check the next
resource for a controller.

Change-Id: I9b6bd7afbbe91f1c8f0c1835b320dc41bfccff3f
neutron/manager.py
neutron/pecan_wsgi/controllers/root.py
neutron/tests/functional/pecan_wsgi/test_functional.py
neutron/tests/unit/test_manager.py