From: Ihar Hrachyshka Date: Thu, 14 Jan 2016 16:01:37 +0000 (+0100) Subject: devstack: use stevedore entry point for flavor service plugin X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a859f1ced22894522f924a5f93e362e9bcf39724;p=openstack-build%2Fneutron-build.git devstack: use stevedore entry point for flavor service plugin It's discouraged to use python import paths. Instead, we should use stevedore entry points. Change-Id: I7e3fce5e63ad309d761d9fec713a31fa33966eef --- diff --git a/devstack/lib/flavors b/devstack/lib/flavors index 823dda3d9..b2ddb42eb 100644 --- a/devstack/lib/flavors +++ b/devstack/lib/flavors @@ -1,7 +1,7 @@ # Neutron flavors plugin # ---------------------- -FLAVORS_PLUGIN=neutron.services.flavors.flavors_plugin.FlavorsPlugin +FLAVORS_PLUGIN=flavors function configure_flavors { _neutron_service_plugin_class_add $FLAVORS_PLUGIN