Modify Consistency Group API

This patch addressed the following:

* Modify Consistency Group
  * Added an API that supports adding existing volumes to CG and removing
    volumes from CG after it is created. It also allows the name and the
    description to be modified.
  * Added a volume driver API accordingly.

Change-Id: I473cff65191e6e16dc22110f23efd376bfd3178a
Implements: blueprint consistency-groups-kilo-update
This commit is contained in:
Xing Yang
2014-12-30 21:27:56 -05:00
parent 2abbe19ee3
commit 1a62a6e60f
10 changed files with 752 additions and 39 deletions

View File

@@ -1251,7 +1251,7 @@ def volume_get_all_by_host(context, host, filters=None):
return []
@require_admin_context
@require_context
def volume_get_all_by_group(context, group_id, filters=None):
"""Retrieves all volumes associated with the group_id.