manila/manila/tests/api
Goutham Pacha Ravi 7ee41c0507 Fix share server info in CGs created from CGs
Currently when a POST request is made to /consistency-groups
with a source cg-snapshot, the API does not register the share
network information (share_server_id and share_network_id) in
the database row newly created for the CG being created.

This information is essential to any shares that are being created
along with the consistency group.

- Disallow providing a share_network_id when using a source cg_snapshot_id
- Copy share network information from the parent CG
- Fix the share_server_id that was incorrect in the API response

 APIImpact

 Closes-Bug: #1571594
 Closes-Bug: #1572742

Change-Id: I1c3581c81e0b845f46eef3cd0acddb55850447a5
(cherry picked from commit 118d440a90)
2016-05-16 19:19:40 -04:00
..
contrib Data Replication: Ensure Snapshots across replicas 2016-03-18 20:29:11 -04:00
extensions Remove vim headers 2014-10-06 15:00:27 +02:00
middleware Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00
openstack Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
v1 Fix Manage API synchronous call 2016-04-15 10:10:26 -03:00
v2 Fix share server info in CGs created from CGs 2016-05-16 19:19:40 -04:00
views Cleanup deprecation warnings from using share proxy properties in API 2016-02-17 17:26:45 -08:00
__init__.py pep8: Enable H303 and F403 2014-08-23 10:40:52 +02:00
common.py Remove vim headers 2014-10-06 15:00:27 +02:00
fakes.py Add Replication admin APIs and driver i/f changes 2016-02-25 09:31:54 -05:00
test_common.py Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00
test_extensions.py Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00
test_middleware.py Added CORS support to Manila 2015-11-11 10:10:58 -08:00
test_versions.py Clean up removed hacking rule from [flake8] ignore lists 2016-01-14 23:27:17 +08:00
test_wsgi.py Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00