Change v3 to v21 for devref api_plugins.rst

commit 28d2b0df changes v3 to v21 in setup.cfg, defref
can be changed together.

Change-Id: I54d1f43ebfada7125c926e616adfd8ff4783b51c
This commit is contained in:
jichenjc 2015-08-29 08:40:55 +08:00
parent 9103831f11
commit 1f098a4516
1 changed files with 5 additions and 5 deletions

View File

@ -160,14 +160,14 @@ Support files
-------------
At least one entry needs to made in ``setup.cfg`` for each plugin.
An entry point for the plugin must be added to nova.api.v3.extensions
An entry point for the plugin must be added to nova.api.v21.extensions
even if no resource or controller is added. Other entry points available
are
* Modify create behaviour (nova.api.v3.extensions.server.create)
* Modify rebuild behaviour (nova.api.v3.extensions.server.rebuild)
* Modify update behaviour (nova.api.v3.extensions.server.update)
* Modify resize behaviour (nova.api.v3.extensions.server.resize)
* Modify create behaviour (nova.api.v21.extensions.server.create)
* Modify rebuild behaviour (nova.api.v21.extensions.server.rebuild)
* Modify update behaviour (nova.api.v21.extensions.server.update)
* Modify resize behaviour (nova.api.v21.extensions.server.resize)
These are essentially hooks into the servers plugin which allow other
plugins to modify behaviour without having to modify servers.py. In