Make infrastructure engine pluggable

Right now we have a hard binding to savanna.service.instances
Since we want to introduce a new Heat engine and keep the old one
for a while, we need a way to switch between them depending on
user's decision. The change makes it possible to replace
savanna.service.instances with another implementation by changing
a single config parameter.

Additionally that change updates savanna.conf.sample-full which
was not done for some time.

Implements blueprint infra-provisioning-extensions

Change-Id: I3408529948537bef8338a4927f17fa6d47ec2b76
This commit is contained in:
Dmitry Mescheryakov 2013-11-29 12:12:18 +04:00
parent 6fbf5823b3
commit 04be0ceadd

View File

@ -37,6 +37,9 @@ savanna.cluster.plugins =
vanilla = savanna.plugins.vanilla.plugin:VanillaProvider
hdp = savanna.plugins.hdp.ambariplugin:AmbariPlugin
savanna.infrastructure.engine =
savanna = savanna.service.instances:SavannaInfrastructureEngine
[build_sphinx]
all_files = 1
build-dir = doc/build