Use plain routes list for server-migrations endpoint instead of stevedore

This patch adds server-migrations related routes by a plain list, instead
of using stevedore. After all the Nova API endpoints moves to the
plain routes list, the usage of stevedore for API loading
will be removed from Nova.

Partial-implement-blueprint api-no-more-extensions-pike

Change-Id: Idd8bd0b500db85826ee730e91f9f7e3e5667044e
This commit is contained in:
He Jie Xu
2017-05-02 14:00:47 +08:00
committed by Stephen Finucane
parent 41f60f97fd
commit 5bef8ec79c
3 changed files with 15 additions and 23 deletions
-1
View File
@@ -96,7 +96,6 @@ nova.api.v21.extensions =
security_groups = nova.api.openstack.compute.security_groups:SecurityGroups
server_diagnostics = nova.api.openstack.compute.server_diagnostics:ServerDiagnostics
server_external_events = nova.api.openstack.compute.server_external_events:ServerExternalEvents
server_migrations = nova.api.openstack.compute.server_migrations:ServerMigrations
server_groups = nova.api.openstack.compute.server_groups:ServerGroups
services = nova.api.openstack.compute.services:Services
tenant_networks = nova.api.openstack.compute.tenant_networks:TenantNetworks