horizon/openstack_dashboard/test/api_tests
Rich Hagarty 36c763168a Add Horizon support for volume consistency groups
Cinder has added support for creating and managing volume consistency
groups. This first patch adds this functionality into Horizon.
Subsequent patches will add features to utilize these consistency
groups - such as for creating snapshots.

Background/setup info:
This feature provides a Horizon interface to the Cinder consistency
groups (CG) API.   CGs allow a user to group a set of volumes together,
and then perform actions on all of the volumes in one command.

For example:
- Create CG snapshot. This will pause all volume I/O and create a
  snapshot for each volume in the CG at the same point in time.
- Create CG from another CG. This will clone a new set of volumes based
  on the current state of all volumes in the original CG.
- Create CG from CG snapshot. This will clone new set of volumes based
  on the saved state of all snapshots from the original CG snapshot.

This patch is limited to just creating consistency groups. A second
and final patch will add the snapshot features.

To run the patch, you will need to enable some consistency group
policies, which currently are defaulted to "none", which means they
are disabled.

The policies are set in /etc/cinder/policy.json - they need to be set
to the following:

    "consistencygroup:create" : "rule:admin_or_owner",
    "consistencygroup:delete": "rule:admin_or_owner",
    "consistencygroup:update": "rule:admin_or_owner",
    "consistencygroup:get": "rule:admin_or_owner",
    "consistencygroup:get_all": "rule:admin_or_owner",

    "consistencygroup:create_cgsnapshot" : "rule:admin_or_owner",
    "consistencygroup:delete_cgsnapshot": "rule:admin_or_owner",
    "consistencygroup:get_cgsnapshot": "rule:admin_or_owner",
    "consistencygroup:get_all_cgsnapshots": "rule:admin_or_owner",

Once this is done, you will need to restart all 3 of the cinder
services in "screen -r" (c-api, c-sch, and c-vol).

The new panel is a tab named "Volume Consistency Groups" and is
located in "Project -> Volumes".

Co-Authored-By: Brad Pokorny <brad_pokorny@symantec.com>
Change-Id: I33ebe39e79d7c1d1dc7e741b4199bcb259b642d1
Partially-implements: blueprint cinder-consistency-groups
2016-03-17 09:42:27 -07:00
..
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
base_tests.py Look for volumev2 endpoints instead of volume 2016-02-23 11:47:25 +01:00
ceilometer_tests.py Merge "Delete some deprecated codes" 2016-02-06 06:29:38 +00:00
cinder_rest_tests.py Add pagination support to the volume page 2016-01-22 15:18:47 +03:00
cinder_tests.py Add Horizon support for volume consistency groups 2016-03-17 09:42:27 -07:00
config_rest_tests.py Port config_rest_tests to Python 3 2015-09-01 18:35:44 +02:00
fwaas_tests.py Corrected spelling errors throughout the project 2015-10-29 16:18:49 -05:00
glance_rest_tests.py API for Metadata Definitions 2016-01-13 10:01:53 -08:00
glance_tests.py Support properties_target when fetching namespaces 2016-01-29 15:47:28 -06:00
heat_rest_tests.py Add API services for system information 2015-12-16 23:22:20 +00:00
heat_tests.py Fixing heatclient release compat issues 2016-03-02 18:19:40 -07:00
keystone_rest_tests.py Add API services for system information 2015-12-16 23:22:20 +00:00
keystone_tests.py py3: Replace unicode with six.text_type 2015-08-27 01:26:02 +02:00
lbaas_tests.py Adds support to accept IPv6 in VIP Address for LB Pool 2016-01-27 11:27:13 +00:00
network_rest_tests.py Add REST API for working with floating IPs 2016-02-16 16:11:23 -06:00
network_tests.py Port last unit tests to Python 3 2016-02-10 18:22:52 +01:00
neutron_rest_tests.py Add Swift REST API 2016-02-25 12:12:14 -08:00
neutron_tests.py Fix network duplication check logic 2016-02-12 16:58:00 +00:00
nova_rest_tests.py API Services for Flavors Panel 2016-02-10 08:23:17 -08:00
nova_tests.py Merge "Tolerate unconfigured glance service when loading image name" 2016-01-22 03:49:49 +00:00
policy_rest_tests.py Merge "py3: Add json attribute to HTTP response objects" 2015-10-14 02:28:39 +00:00
rest_util_tests.py py3: Add json attribute to HTTP response objects 2015-10-06 14:17:19 +02:00
swift_rest_tests.py Add Swift REST API 2016-02-25 12:12:14 -08:00
swift_tests.py Fixed getting success msg on failing swift operation 2015-07-24 19:27:24 +00:00
vpnaas_tests.py Fix E128 errors in remaining openstack_dashboard/ 2014-10-16 16:53:52 +09:00