Brian Elliott e937a53065 Add generic customization hooks via decorator.
Hooks add the ability to insert custom code around operations that
declare a named hook:

e.g.

@hooks.add_hooks('create_instance')
def create_instance(....):
   ....

The above hook allows Hook objects to be run 'pre' and 'post' the
execution of create_instance()

Hook objects are discovered via the setuptools entry point group
'nova.hooks'.

Change-Id: I3961df12ef415085de7459438967edacc34500c2
2012-11-30 20:47:53 +00:00
..
2012-02-29 09:53:59 -08:00
2011-04-19 10:31:35 -07:00
2011-08-02 10:09:58 -04:00
2011-04-20 21:06:56 -07:00
2012-09-23 14:12:42 +10:00
2011-11-16 20:19:26 -05:00
2011-04-21 07:35:30 -07:00
2011-12-02 15:43:54 -05:00
2011-08-02 10:09:58 -04:00
2011-04-11 21:43:12 +00:00
2012-10-28 11:34:05 -07:00
2011-04-20 21:06:56 -07:00