]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
devstack: use stevedore entry point for flavor service plugin
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 14 Jan 2016 16:01:37 +0000 (17:01 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Thu, 14 Jan 2016 16:02:22 +0000 (17:02 +0100)
It's discouraged to use python import paths. Instead, we should use
stevedore entry points.

Change-Id: I7e3fce5e63ad309d761d9fec713a31fa33966eef

devstack/lib/flavors

index 823dda3d96bd27c14670e857ba5cdabc58ef3b3c..b2ddb42ebf7a1fa93e50aa2be154fdbd0b824e50 100644 (file)
@@ -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