2d78854d5361a80c91b78a40980fbf19b48cafb3
698 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Giampaolo Lauria
|
d775836347 |
Adds API Sample tests for Quotas extension.
Partially implements blueprint nova-api-samples Fixes bug 1070172 Change-Id: I796897e69ec75da6da047574c0b8131f94bfa17e |
||
|
Jenkins
|
c783a97326 | Merge "Renaming xml test class in sample tests of consoles API." | ||
|
Yolanda Robla
|
25325153ae |
Added sample tests to deferred delete API.
Partially implements blueprint nova-api-samples Fixes bug 1070157 Change-Id: Icd6c743b842a7986bbc0a21c5dc62fbceda488bf |
||
|
Yolanda Robla
|
324ae560c3 |
Renaming xml test class in sample tests of consoles API.
Partially implements blueprint nova-api-samples Fixes bug 1083642 Change-Id: I9ed16780e9a75a1fa34afac5c7861a0595180596 |
||
|
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
|
||
|
Chris Yeoh
|
0bf27df376 |
Add vpn ip/port setting support for CloudPipe
This extends the cloudpipe REST API to allow the setting of the IP and port
for the VPN for each network in the project
/v2/{tenant_id/os-cloudpipe/configure-project # POST ip/port
This forms part of the work to provide APIs for functionality currently
implemented by nova-manage that needs direct db access so nova-manage
can eventually be removed
DocImpact
Implements: blueprint apis-for-nova-manage
Change-Id: I416c0bfbe1c88470638f1c2004d1dcaeb51a6c41
|
||
|
Jenkins
|
d9f02e6ced | Merge "Complete API samples for Hosts extension" | ||
|
Jenkins
|
aaa1c3145a | Merge "Verify doc/api_samples files along with the templates" | ||
|
Dan Smith
|
57c1cff9ca |
Verify doc/api_samples files along with the templates
This also includes a bunch of updates to the actual samples that have become stale as things have changed in the tree and naughty developers haven't updated the docs. This new bit of logic in the samples test should help prevent that in the future. In order to verify the static doc/api_samples files, this adds a new method to the base test, which allows the subclasses to refine their subs into pattern matches after the server response is verified, and before the doc/api_samples file is verified. Change-Id: Ie46b24a65145c407d46974b63a97a84911223547 |
||
|
Dan Prince
|
47ddb8ca76 |
Validate rxtx_factor as a float.
Updates the rxtx_factor validations in the instance_types modules so that rxtx_factor is validated as a float. Given that rxtx_factor is stored as a float in the database this makes sense... and also adheres to some of the extension documentation as well (although some of the extension docs were incorrect as well). Previously rxtx_factor was being cast into an int which caused it to be stored and displayed incorrectly via the API. This patchset adds a test which fails with the old code. Additionally some of the API docs are corrected so that rxtx_factor is listed as a float in all examples. Fixes LP Bug #1081287. Change-Id: Iae98522a1f2ed63cbd2497b0b0af5ac2d9bb935c |
||
|
Mauro S. M. Rodrigues
|
c9273ab797 |
Complete API samples for Hosts extension
The API samples for Hosts extension missed power operations (shutdown, reboot and startup) and maintenance/status operations. Complete fix to bug 1070167 Change-Id: I07fd34e071eae9afc82f9320634df24f48623e0b |
||
|
Chris Yeoh
|
576ada198a |
Adds API for bulk creation/deletion of floating IPs
This adds an extension that provides a REST API for the bulk creation,
deletion and listing of floating IPs. The interface is accessed via
/v2/{tenant_id}/os-floating-ips-bulk
This forms part of the work to provide APIs for functionality currently
implemented by nova-manage that needs direct db access so nova-manage
can eventually be removed
Implements: blueprint apis-for-nova-manage
DocImpact
Change-Id: I621e2b070a896f7230cdf3f26f78ded85e72cf16
|
||
|
Jenkins
|
28b9872580 | Merge "Fix os-hosts extension can't return xml response correctly." | ||
|
Jenkins
|
dd28988b57 | Merge "Enhance compute capability filter to check multi-level" | ||
|
Dan Smith
|
4ea757b880 |
Add the beginnings of the nova-conductor service
This adds a new service called "nova-conductor" which will provide services for nova-compute, such as completing database updates and handling long-running tasks. Right now, this just adds a fraction of the database-related work so that we can proceed with incremental changes to nova-compute. For compatibility/flexibility, both LocalAPI and (RPC)API classes are provided. Users concerned with performance or compatibility who wish to maintain compute-node-local database accesses can set the [conductor] use_local=True, which will mimic the legacy behavior. DocImpact Change-Id: Ib81d879f40b7daceeffad5af0631c7db68168661 |
||
|
Yaguang Tang
|
a7e5180a04 |
Fix os-hosts extension can't return xml response correctly.
Also add os-hosts integrated testing template files. fix bug 1075575 fix bug 1070167. DocImpact Change-Id: I6b9f9e58e7cbe10a931d2c83d9baf9dcee74de08 |
||
|
Jenkins
|
308285c164 | Merge "update api_samples add os-services module" | ||
|
Jenkins
|
fd2d9335de | Merge "Added sample tests to consoles API." | ||
|
Sean Dague
|
b349340e6e |
update api_samples add os-server-start-stop
api_samples docs for os-server-start-stop apparently got lost in adding the extension api_samples tests. Adding in the docs for the extension DocImpact Change-Id: Ia9b97c0eb4fc7e8b22fe624ccddab6c7e003952e |
||
|
Sean Dague
|
61ac6726bd |
update api_samples add os-services module
part of blueprint:apis-for-nova-manage os-services is a new module for to support getting rid of nova-manage. Add this to the all_extensions api listing. DocImpact Change-Id: I3a954de59b16fd86d81204a535f8b152f3073468 |
||
|
yolanda.robla
|
2241a2b0f4 |
Added sample tests to consoles API.
Partially implements blueprint nova-api-samples Fixes bug 1070155 Change-Id: I4437d2440468afafe3fae7a11fb686ea2c533f13 |
||
|
Sean Dague
|
123fa7b040 |
updated api_samples with real hypervisor_hostname
now that hypervisor_hostname is getting set in tests, update api_samples with something better than none part of blueprint:nova-api-samples DocImpact Change-Id: Iaac6a5d2d172eb3c56b64f0dc2a6075a79412712 |
||
|
Yunhong, Jiang
|
8ce8e4b6c0 |
Enhance compute capability filter to check multi-level
Host state capabilities include multi-level information, like cpu features are presented in capabilities:cpu_info:features, cpu core number in capabilities:cpu_info:topology:cores. Multi-level capability check maybe helpful in some situation, like user want to make sure host support SSE3 instructions or AES-NI, or user want to make sure the host has >4 cores for SMP instance. Current capability filter does not support these requirements. To support multi-level check, also add scope to capability filter, so, now capability filter will handle no-scope extra_specs, or scope-format as "capabilities:xxx:xxx" etc. Related to bp hw-feature-to-vm Change-Id: Id714f99b4babbdb328b8e47f5a270be517b528d2 Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com> |
||
|
Joe Gordon
|
29f7bdc045 |
Remove nova-volume DB
* Remove volume calls from nova.db.api * Remove volume calls from nova.db.sqlalchemy.api * Remove tables from nova/db/sqlalchemy/models.py * Remove Xen Storage Manager Volume Driver code * No migration to preserve data in unused tables * Remove quota support for volumes DocImpact part of bp delete-nova-volume Change-Id: I2c82c96d67f3746e5de28f917dd8ceb0c8037e27 |
||
|
Joe Gordon
|
58373748ac |
Remove nova-volume scheduling support
Continuation of I0b540e54dbabd26901a7530035a38583bb521fda * delete scheduler.simple * modify scheduler.multi instead of delete to continue supporting I753e87fc8979fd0b62529974f00cf11fa55b3d63 * update scheduler.multi docstring * scheduler.rpcapi bumped to 2.3 * change default scheduler to scheduler.filter_scheduler DocImpact part of bp delete-nova-volume Change-Id: Ie9d9b46742b2d92cd1e9ffe982ef658907a1d411 |
||
|
Jenkins
|
6143e90d77 | Merge "Add API samples to Admin Actions" | ||
|
Jenkins
|
f3d2669280 | Merge "Addtional 2 packages for dev environment on ubuntu" | ||
|
Mauro S. M. Rodrigues
|
9d54a1b70d |
Add API samples to Admin Actions
Change-Id: If072bf9e9a55c79c71fd3911776045ee46483a00 |
||
|
Vishvananda Ishaya
|
7e2b93acc5 |
removes the nova-volume code from nova
This removes the majority of the nova-volume code from the codebase. It updates relevent config options to default to cinder. It updates a number of existing tests that were depending on code that was removed. A few things still need to be removed: * volume/driver.py & volume/iscsi.py These files are used by the libvirt volume driver tests. These tests should be updated to mock the relevant calls. * scheduler/simple.py & scheduler/multi.py These files should no longer be necessary so they can be removed in a subsequent patch * exception.py cleanup Once the above files are removed there are a number of unused exceptions which can be removed * database calls and database tables The database calls have not been removed and the tables have not been dropped. This can be done in a separate migration * additional config options and nova.conf.sample There may be a few extra config options that can be removed and the conf sample can be regenerated Implements bp delete-nova-volume Change-Id: I0b540e54dbabd26901a7530035a38583bb521fda |
||
|
Jenkins
|
409de17308 | Merge "Migrate to fileutils and lockutils." | ||
|
Jolyon Brown
|
73f56fa819 |
Addtional 2 packages for dev environment on ubuntu
In file doc/source/devref/development.environment.rst added packages build-dep and python-mysqldb which I have had to add on ubuntu 12.04 to enable the dev environment to be setup. Without these run_tests.sh fails with error 'mysql_config not found' when setting up the virtual env. Change-Id: I4af775386469deecf122a9e165457f241339b20b |
||
|
Michael Still
|
0d4e6dbe6f |
Migrate to fileutils and lockutils.
Migrate nova to using openstack-common's file and lock utilities. Resolves bug 1063230. Change-Id: I1a4c87856bc08cd33b61d7098ed856baa4583654 |
||
|
Matthew Treinish
|
7fbe9ad597 |
Add availability zone extension to API samples test.
Change-Id: I43e64d6637ef850119475c5d470cc54e7168c388 Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com> |
||
|
Mauro S. M. Rodrigues
|
d6e0fdf752 |
Add Server diagnostics extension api samples
Change-Id: Id53e17caa75dcab01dd3209f771891b4e92debec |
||
|
Mauro S. M. Rodrigues
|
d2af738f02 |
Add api samples to simple tenant usage extension
Change-Id: Ib6e00e5c049846146619f52732cd06fefac62494 |
||
|
Jenkins
|
3d726a77ca | Merge "Add api-samples to Used limits extension" | ||
|
Mauro S. M. Rodrigues
|
10f31f7c43 |
Add api-samples to Used limits extension
Change-Id: I67069637db35eeb5a87026bf62252d006ed11b98 |
||
|
Matthew Treinish
|
3f77dec937 |
Add Multiple Create extension to API sample tests.
Change-Id: Ifa5cf31cc61e4269502ff692508866948670e46f Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com> |
||
|
Mauro S. M. Rodrigues
|
103ba15161 |
Add api samples to Certificates extension
Change-Id: Ifb61c9cd90f03225c27b5683e5f54f30c636994c |
||
|
Matthew Treinish
|
ce2ba8fae8 |
Add aggregates extension to API samples test.
Change-Id: I8f0f5b022795dc1d766e585cab8fe5f8445a3722 Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com> |
||
|
Jenkins
|
62e49b5ec4 | Merge "all_extensions api_samples testing for server actions" | ||
|
Jenkins
|
cf9d5de2ce | Merge "Add servers/ips api_samples tests" | ||
|
Mauro S. M. Rodrigues
|
dda508ec6f |
Add api samples to cloudpipe extension
Change-Id: I0c9d5ac191c9c9dc6c74f955857aebf7c1952b94 |
||
|
Dan Smith
|
e788d7694d |
Add servers/ips api_samples tests
Change-Id: I65f8b53b4126458e1522f0bc47559dc1318a473a |
||
|
Sean Dague
|
8d4af6b906 |
all_extensions api_samples testing for server actions
server actions sometimes return servers objects, which means their output is different when extensions are enabled. This adds api samples for those cases to give a more realistic view to the user of what they might expect. Change-Id: Iaa9a4c3a373dee41931c5dc4f1b805f09a05299f |
||
|
Jenkins
|
13a08f6ec7 | Merge "Remove refs to ATAoE from nova docs" | ||
|
Nikola Dipanov
|
7090ef9437 |
Integration tests virtual interfaces API extension
Adds tests and templates for testing of the virtual interfaces API extension. Tests both json and XML API functionality. Change-Id: I95f4e6667c3c2df123246d73498f13d826e3866a |
||
|
Tom Fifield
|
43bc7d6996 |
Remove refs to ATAoE from nova docs
fixes bug 912108 Nova volumes' ATAoE is long gone. This patch merely removes the remaining comments about it from the nova devref documentation. Change-Id: Ic5586c0d596acae05cdee4ba9cb5ec453315b773 |
||
|
Jenkins
|
1ec8b5d06c | Merge "Added description of operators for extra_specs" | ||
|
Nikola Dipanov
|
b456a862ad |
Adds API sample testing for rescue API extension
Adds tests and templates for testing of the server rescue API extension. Tests both json and XML API functionality. Change-Id: Icb241e96ebedde0b6385f8ba60eebd0e768f22da |