manila/manila_tempest_tests
Clinton Knight 55777cfb4e Update export location retrieval APIs
Update the export location retrieval APIs for shares and share
instances to do the following:

1. Restore the API-to-view-builder calling convention of
index-->summary and show-->detail. In so doing, modify which
values are returned by the list commands (currently, all but
the timestamps). The admin context from the request determines
whether the admin-only values are returned.

2. Report the UUID field from the export location table as
'id' to be consistent will all other objects returned via the
Manila REST API.

3. Add the preferred flag to the output of the API. Drivers
can report preferred:True or preferred:False in their export
location metadata, and this standard flag will be returned
via the REST interface, like this:

+-------------------+--------------------------------------+
| Property          | Value                                |
+-------------------+--------------------------------------+
| is_admin_only     | False                                |
| uuid              | df828d44-0b04-47fa-8ee5-516ffc199ca7 |
| share_instance_id | 1b40e873-331e-4e1c-ab53-38ec95b3bfcc |
| path              | 10.0.0.100:/share_1b40e873           |
| created_at        | 2016-02-18T21:12:51.000000           |
| updated_at        | 2016-02-18T21:12:51.000000           |
| preferred         | True                                 |
+-------------------+--------------------------------------+

APIImpact
Implements: blueprint update-export-location-retrieval-apis
Change-Id: Ia63477d4f3e28ab4f53d7b9d51756cc798c977b9
2016-03-02 09:32:28 -05:00
..
services Make consistency group timeout exception message more robust 2016-02-18 07:14:02 -08:00
tests Update export location retrieval APIs 2016-03-02 09:32:28 -05:00
__init__.py Use Tempest plugin interface 2015-09-05 00:36:33 +00:00
clients_share.py Change manila_tempest_tests to use credentials_factory 2015-12-02 03:56:38 -05:00
config.py Update export location retrieval APIs 2016-03-02 09:32:28 -05:00
plugin.py Fix setting of "snapshot_support" extra spec for tempest 2015-09-24 11:37:22 +03:00
README.rst Use Tempest plugin interface 2015-09-05 00:36:33 +00:00
share_exceptions.py Add functional tests for Manila consistency groups 2015-09-07 13:59:22 -04:00
utils.py Manage and unmanage snapshot 2016-02-18 04:09:05 -05:00

Tempest Integration

This directory contains Tempest tests to cover Manila project.