summaryrefslogtreecommitdiffstats
path: root/nova/api/openstack/compute/plugins/v3
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Port cells extension to v3 API Part 2"Jenkins2013-06-291-14/+14
|\
| * Port cells extension to v3 API Part 2Chris Yeoh2013-06-291-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | Ports the cells extensions and the corresponding unittests to the v3 framework. Merges in functionality of the os-cells-capacities extension to be the default behavior. Does not yet address v3 TODO of returning capacity information in the cell detail method Partially implements blueprint nova-v3-api Change-Id: I24df708b9d6504a355fca0eacd0ffaeb6586610d
* | Merge "Merged flavor_swap extension into core API"Jenkins2013-06-291-0/+2
|\ \ | |/ |/|
| * Merged flavor_swap extension into core APIAlexei Kornienko2013-06-271-0/+2
| | | | | | | | | | | | Partially implements blueprint nova-v3-api Change-Id: Ib58afac2159b25a38165882375e6d6ac57dc6da5
* | Merge "Port flavor_disabled extension to v3 API Part 2"Jenkins2013-06-281-12/+14
|\ \
| * | Port flavor_disabled extension to v3 API Part 2Alexei Kornienko2013-06-271-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ports the flavor_disabled extension and the corresponding unittests to the v3 framework. Partially implements blueprint nova-v3-api Change-Id: I8af3f69ebc0584b79499e2695d6120c7c0833d24
* | | Merge "Port flavor_disabled extension to v3 API Part 1"Jenkins2013-06-281-0/+89
|\| |
| * | Port flavor_disabled extension to v3 API Part 1Alexei Kornienko2013-06-271-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Partially implements blueprint nova-v3-api Change-Id: I01688d7f9d976b7e406d46283c6d0010ddc3476a
* | | Merge "Port cells extension to v3 API Part 1"Jenkins2013-06-281-0/+347
|\ \ \
| * | | Port cells extension to v3 API Part 1Chris Yeoh2013-06-141-0/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Partially implements blueprint nova-v3-api Change-Id: Ie629ee328d76a1595350b597c7874b430217c769
* | | | Merge "Port server_diagnostics extension to v3 API Part1"Jenkins2013-06-281-0/+67
|\ \ \ \
| * | | | Port server_diagnostics extension to v3 API Part1Chris Yeoh2013-06-171-0/+67
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Implements blueprint nova-v3-api Change-Id: I52f906948b5873cf3fdfff14270c7384ee5e7b9f
* | / / Port images functionality to v3 API Part 1Chris Yeoh2013-06-281-0/+214
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 implementation file into the appropriate v3 directory unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Note that this functionality will be moved from core to an extension. Consensus appears to be that we continue to need this functionality for v3 because some deployers disable the public image endpoint due security concerns and whether this will be fixed in glance for Havana. Deployers can disable this extension if they do not want it. Partially implements nova-v3-api Change-Id: I02b32b40b14a5593bf254ad9e6a78c14cb15ced5
* | | Port flavor_access extension to v3 API Part 2Alexei Kornienko2013-06-271-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ports the flavor_access extension and the corresponding unittests to the v3 framework. Partially implements blueprint nova-v3-api Change-Id: I671f490bad2daaaae06d48328f4fff10076ab0ed
* | | Port flavor_access extension to v3 API Part 1Alexei Kornienko2013-06-271-0/+224
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Partially implements blueprint nova-v3-api Change-Id: I6a2648ac9f59ff122f06a63991b57e595b2c5696
* | Merge "Port quota classes extension to v3 API Part 1"Jenkins2013-06-261-0/+103
|\ \
| * | Port quota classes extension to v3 API Part 1Chris Yeoh2013-06-241-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Partially implements blueprint nova-v3-api Change-Id: I328b32aee29021bae42cba5d97e0735e7b691ac9
* | | Merge "Port flavors core API to v3 tree"Jenkins2013-06-261-0/+167
|\ \ \
| * | | Port flavors core API to v3 treeMauro S. M. Rodrigues2013-06-131-0/+167
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port flavors core API (which does *not* include all extensions, like flavor create) to the V3 API, adapting the way it's loaded to fit with the new extension framework and, of course, its tests. This also change the flavors requests and responses links on unit tests since project_id is no longer present on v3 url Partially implements blueprint v3-api-core-as-extensions Change-Id: Ide2eb22a89be3bd9adcf5e09cbef23e824a83fc1
* | | Port quota API into v3 part2He Jie Xu2013-06-261-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains the changes required to adapt the service extension and the corresponding unittest to the v3 framework Partially implements bp v3-api-extension-versioning Change-Id: If5438d5bef5da1832e81c0b80523f9f419d5e3d5
* | | Merge "port agent API into v3 part1"Jenkins2013-06-261-0/+168
|\ \ \
| * | | port agent API into v3 part1ivan-zhu2013-06-131-0/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being tried in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files. Partially implements: bp v3-api-extension-versioning Change-Id: Ib7c489769d9b07797366be5920cc23ab2074a768
* | | | Merge "Adds v3 API extension discovery filtering"Jenkins2013-06-261-2/+21
|\ \ \ \
| * | | | Adds v3 API extension discovery filteringChris Yeoh2013-06-101-2/+21
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds ability for a v3 loaded extension to be visible in /v3/extensions to be dependent on the discoverable action policy for that extension. Note that this does not actually effect whether or not the functionality provided by the extension is accessible Implements blueprint nova-v3-api-filter Change-Id: I3f6ba7ea59e7abfa9d57b79ab18aa5b675e64118
* | | | Port quota API into v3 part1He Jie Xu2013-06-251-0/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being tried in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files. Partially implements: bp v3-api-extension-versioning Change-Id: I29bb4dd7d1a8acaa3e91e5f0ec5c073d3d9756fc
* | | | Merge "Adds expected_errors decorator for API v3"Jenkins2013-06-242-0/+5
|\ \ \ \
| * | | | Adds expected_errors decorator for API v3Chris Yeoh2013-06-192-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an expected_errors decorator for v3 API methods which allows the specification of what exceptions can be raised within the method. If an unexpected error occurs a 500 is instead returned which plus a request to file a bug report Partially implements blueprint v3-api-expected-errors Change-Id: I5723e576b30b47744394517cdb1ff6bab1d8f78b
* | | | | Merge "Port rescue API to v3 Part 2"Jenkins2013-06-241-7/+11
|\ \ \ \ \
| * | | | | Port rescue API to v3 Part 2Chris Yeoh2013-06-071-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains the changes required to adapt the rescue extension and the corresponding unittest to the v3 framework Partially implements blueprint nova-v3-api Change-Id: Iaa6d0cf7708b0887512db952b1e26ccde75d24ef
* | | | | | Merge "Port rescue API to v3 Part 1"Jenkins2013-06-241-0/+96
|\| | | | |
| * | | | | Port rescue API to v3 Part 1Chris Yeoh2013-06-071-0/+96
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being tried in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Partially implements blueprint nova-v3-api Change-Id: I8dc2b42b4ffb4618978856d5520485cd34e726d9
* | | | | Merge "Port evacuate API to v3 Part 2"Jenkins2013-06-241-8/+12
|\ \ \ \ \
| * | | | | Port evacuate API to v3 Part 2Chris Yeoh2013-06-071-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains the changes required to adapt the evacuate extension and the corresponding unittest to the v3 framework Partially implements blueprint nova-v3-api Change-Id: Id9ca6a7a92a087cb063fe265af1ad6a626c63510
* | | | | | Merge "Port evacuate API to v3 Part 1"Jenkins2013-06-241-0/+97
|\| | | | | | |_|_|_|/ |/| | | |
| * | | | Port evacuate API to v3 Part 1Chris Yeoh2013-06-071-0/+97
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Partially implements blueprint nova-v3-api Change-Id: I2c77b445b1e7a1b63993ae86cebea9922e9d098c
* | | | Merge "Cleanup certificate API extension"Jenkins2013-06-211-11/+2
|\ \ \ \
| * | | | Cleanup certificate API extensionChris Yeoh2013-06-151-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a couple of minor issues with the v2 and v3 versions of the certificate API extension identified during the v2->v3 port * Removes unused CertificatesTemplate class * Corrects doc strings for a couple of methods Change-Id: If022d2393ceab5ce7e6311c92a6f52b6325039bc
* | | | | Merge "Port certificates API to v3 Part 2"Jenkins2013-06-211-12/+13
|\| | | |
| * | | | Port certificates API to v3 Part 2Chris Yeoh2013-06-131-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains the changes required to adapt the certificates extension and the corresponding unittests to the v3 framework Partially implements blueprint nova-v3-api Change-Id: If4fe7e8524ba0181b50722281f594e0a80cd49ed
* | | | | Merge "Port certificates API to v3 Part 1"Jenkins2013-06-211-0/+105
|\| | | | | |_|/ / |/| | |
| * | | Port certificates API to v3 Part 1Chris Yeoh2013-06-131-0/+105
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset only copies the v2 files (implementation and test) into the appropriate v3 directories unchanged. The copy as-is will not be loaded by either the v2 or v3 extension loaders. The second changeset will then make the changes required for it to work as a v3 extension. This is being done in order to make reviewing of extension porting easier as gerrit will display only what is actually changed for v3 rather than entirely new files Partially implements blueprint nova-v3-api Change-Id: Ibdb3b444432fa707786e6bb43aaba61d2a3fc89f
* / | Remove _is_precooked pre-cells Zones hacksChris Behrens2013-06-181-5/+2
|/ / | | | | | | | | | | | | | | | | | | pre-Cells Zones used to talk to child zones via the API and thus things didn't need to be re-serialized for API responses. The hacks for this were left around and should be removed. Fixes bug 1192006 Change-Id: I0b0c7fcad49412659d97037fc3cc8594b46668f1
* | Rename functions in nova.compute.flavors from instance_typeJoe Gordon2013-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | Second step in removing references to instance_types. Remove all references to instance_type in nova.compute.flavors. Also update compute devref to reflect changed name. Partially implements bp flavor-instance-type-dedup renamed: nova/tests/test_instance_types.py -> test_flavors.py Change-Id: I7413bf832c61d04ab90ec8b1370d3f01372c4172
* | Merge "Cleanup nova exception message conversion"Jenkins2013-06-111-4/+4
|\ \
| * | Cleanup nova exception message conversionChris Yeoh2013-06-081-4/+4
| |/ | | | | | | | | | | | | | | Fix cases where setting the explanation for an HTTP exception based on a Nova exception was done using str(ANovaException) rather than using ANovaException.format_message() Change-Id: Ia8a361fcb088dcf3c17be0d296aee494b9f063d7
* | Merge "Enhance group handling in extract_opts"Jenkins2013-06-101-7/+2
|\ \
| * | Enhance group handling in extract_optsJulien Danjou2013-06-101-7/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | When there's 2 options with the same name, the script gets confused and doesn't know in which group it goes. This fixes it, and fixes also the template generation which is broken for various reasons: - gettext.install was missing - nova-rootwrap when imported calls exit() because it doesn't find a valid configuration file, so let's exclude it entirely anyway - eventlet/greendns needs to be ignored for this Change-Id: Iaa4e9a806e79032ce1675b46a6b7a7628c3eff89 Signed-off-by: Julien Danjou <julien@danjou.info>
* / Improve Keypair error messages in osapiRick Harris2013-06-061-6/+4
|/ | | | | | | | | | The KeypairAPI code provides useful error messages that weren't being percolated back through the OpenStack API. This patch addresses this by using the original `message` when crafting the HTTPException objects. References bug 1187952 Change-Id: I786a225010d912d7bfea5c01838ddcf43fd90d53
* Ports consoles API to v3 APIChris Yeoh2013-06-011-0/+144
| | | | | | | | | Ports the core consoles API functionality to the V3 API as a plugin along with the corresponding tests Partially implements blueprint v3-api-core-as-extensions Change-Id: Iada86afbfeed055942fef554d12cd36385aa2e1f
* Ports ips api to v3 APIChris Yeoh2013-05-312-1/+117
| | | | | | | | | Port the core ips api to the V3 API as plugins along with the corresponding tests for the ips and servers API. Partially implements blueprint v3-api-core-as-extensions Change-Id: I6e9f8ab71745791e6bc18999810f39764cd40116