~hudson-openstack/nova/trunk

Viewing all changes in revision 878.

  • Committer: Tarmac
  • Author(s): Dan Prince
  • Date: 2011-03-24 22:26:47 UTC
  • mfrom: (784.6.24 nova_extensions)
  • Revision ID: tarmac-20110324222647-kao3lqw44bixkhls
Implement API extensions for the Openstack API. Based on the Openstack 1.1 API the following types of extensions are supported:

-Top level resources (extension)
-Action extensions (add an extra action to a core nova controller)
-Response extensions (inject data into response from core nova controllers)

To add an extension simply drop an extension file into the configured osapi_extensions_path (which defaults to /var/lib/nova/extensions).

See nova/tests/api/openstack/extensions/foxinsocks.py for an example Extension.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: