deb-heat/contrib/heat_gnocchi
Sergey Kraynev bde1dbcf93 Source gnocchi alarms resources in the right way
Previously we missed typo in resource mapping name. It happend due to
using hardcoded name in registring new resource in environment.
Other resources in contrib use alternative approach, i.e. they register
classes using mapping function from native module.

This patch adds same approach for Gnocchi alarms. Also small refactoring
for re-using existing code in test.

Change-Id: Ibe8dfc54f9502fb6e97e496fb51b4e46e7f4d8a9
Related-Bug: #1431873
2015-03-16 03:55:27 -04:00
..
heat_gnocchi Source gnocchi alarms resources in the right way 2015-03-16 03:55:27 -04:00
README.md ceilometer: new Gnocchi Alarm resources 2015-02-10 10:54:55 +01:00
setup.cfg ceilometer: new Gnocchi Alarm resources 2015-02-10 10:54:55 +01:00
setup.py ceilometer: new Gnocchi Alarm resources 2015-02-10 10:54:55 +01:00

Gnocchi plugin for OpenStack Heat

This plugin adds Ceilometer Gnocchi Alarm resources in a Heat template.

1. Install the Gnocchi plugin in Heat

NOTE: These instructions assume the value of heat.conf plugin_dirs includes the default directory /usr/lib/heat.

To install the plugin, from this directory run: sudo python ./setup.py install

2. Restart heat

Only the process "heat-engine" needs to be restarted to load the newly installed plugin.