manila/manila/tests/consistency_group
Goutham Pacha Ravi 118d440a90 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
2016-05-09 16:58:44 +00:00
..
__init__.py Add Consistency Groups API 2015-09-05 18:21:17 -04:00
test_api.py Fix share server info in CGs created from CGs 2016-05-09 16:58:44 +00:00