Commit Graph

3 Commits

Author SHA1 Message Date
uberj 5f31585c8b Make example 'entry_points' parameter a dictionary
Change-Id: Idad5a1b2d6aaee456cdc3a52554c1d7ddd51a696
2014-04-02 10:28:43 -07:00
Monty Taylor f0a2770342 Remove doc references to distribute.
Change-Id: I9ea56b6d765fa7214e4bcc0dbca877b411171eea
2013-07-05 22:26:06 -04:00
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