Use stevedore for plugins loading

Stevedore is the common approach to load plugins in OpenStack. It
provides extremely much more options than current handmade plugins
loader. We'll need it espessially for implementing pluggable resources
provisioning code.

In addition, setting vanilla and hdp as default plugins to make minimal
config easier.

Implements blueprint use-stevedore

Change-Id: I96700bf34417c9bcd24d4f60b2deaa88a8c7c2d9
This commit is contained in:
Sergey Lukjanov 2013-11-26 16:45:33 +04:00
parent 2d91945752
commit 9f8a8341f7
2 changed files with 5 additions and 0 deletions

View File

@ -15,5 +15,6 @@ python-novaclient>=2.15.0
python-swiftclient>=1.5
python-neutronclient>=2.3.0,<3
six>=1.4.1
stevedore>=0.12
SQLAlchemy>=0.7.8,<=0.7.99
WebOb>=1.2.3,<1.3

View File

@ -33,6 +33,10 @@ console_scripts =
savanna-db-manage = savanna.db.migration.cli:main
_savanna-subprocess = savanna.cli.savanna_subprocess:main
savanna.cluster.plugins =
vanilla = savanna.plugins.vanilla.plugin:VanillaProvider
hdp = savanna.plugins.hdp.ambariplugin:AmbariPlugin
[build_sphinx]
all_files = 1
build-dir = doc/build