diff options
| author | Brian Elliott <brian.elliott@rackspace.com> | 2012-11-16 15:45:59 +0000 |
|---|---|---|
| committer | Brian Elliott <brian.elliott@rackspace.com> | 2012-11-30 20:47:53 +0000 |
| commit | e937a53065377ecb7c30372ce880bd3d358f4572 (patch) | |
| tree | bfd55c165f34c98d14d17bde3a71ecf9845231ff /tools | |
| parent | 18bc8abd031f294c69941bd0401738b664f14bf0 (diff) | |
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
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/pip-requires | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pip-requires b/tools/pip-requires index e590f365e..1fbfa6daf 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -23,3 +23,4 @@ python-cinderclient python-quantumclient>=2.1 python-glanceclient>=0.5.0,<2 python-keystoneclient>=0.2.0 +stevedore>=0.7 |
