Do not load extendable routes for the Versions router
The Versions router is implicitly spending time loading
up extension routes on startup which is unnecessary since
the Versions router only cares about handling requests to
"/" on the base endpoint.
Partial-Bug:
@@ -73,6 +73,10 @@ class Versions(openstack.APIRouter):
action='all')
mapper.redirect('', '/')
+ def _setup_ext_routes(self, mapper, ext_mgr):
+ # NOTE(mriedem): The version router doesn't care about extensions.
+ pass
+
# NOTE (jose-castro-leon): Avoid to register extensions
# on the versions router, the versions router does not offer
# resources to be extended.
