manila/manila/api/v2
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 new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
availability_zones.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
cgsnapshots.py Using dict.items() is better than six.iteritems(dict) 2016-01-19 22:22:48 +08:00
consistency_groups.py Fix share server info in CGs created from CGs 2016-05-09 16:58:44 +00:00
quota_class_sets.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
quota_sets.py Replace deprecated [logger/LOG].warn with warning 2016-01-08 10:32:47 +08:00
router.py Manage and unmanage snapshot 2016-02-18 04:09:05 -05:00
services.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
share_export_locations.py Update export location retrieval APIs 2016-03-02 09:32:28 -05:00
share_instance_export_locations.py Update export location retrieval APIs 2016-03-02 09:32:28 -05:00
share_instances.py Move API module 'share_instances' under v2 dir 2015-12-02 14:07:55 +02:00
share_replicas.py Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
share_snapshots.py Handle manage/unmanage for replicated shares 2016-04-15 19:00:23 +00:00
share_types.py Remove `None` as a redundant argument to dict.get() 2016-02-17 00:06:14 +08:00
shares.py Move Share Migration code to Data Service 2016-03-03 09:34:29 -03:00