cinder/cinder/tests
Patrick East 76016fffc9 Add support for shared "backend_defaults" config
This gives a new config section that is shared for
all enabled_backends in a cinder.conf. This is optional
but can be used like:

[DEFAULT]
...
enabled_backends=lvm-1,lvm-2
...

[backend_defaults]
image_volume_cache_enabled = True
volume_clear = none
iscsi_helper = tgtadm
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver

[lvm-1]
volume_group = stack-volumes-lvm-1

[lvm-2]
volume_group = stack-volumes-lvmd-2
lvm_type = thin

This also sets up the config helper to be easily
refactored to remove support for DEFAULT stanza
configured backends.

DocImpact: Need to document upgrade path and new
recommended config.
Implements: blueprint shared-backend-config
Change-Id: I2f94118b32076f264b3cf21caa259785fd415167
2017-07-11 18:58:58 +00:00
..
compliance Use assertEqual/Less/Greater/In/IsNone 2016-07-04 17:58:16 +02:00
functional Merge "Use GroupSnapshotStatus enum field" 2017-07-06 12:10:47 +00:00
tempest Tempest for revert-to-snapshot 2017-06-27 22:38:31 +00:00
unit Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
README.rst Add a README in tests dir linked to devref html 2017-03-11 10:47:49 -07:00
__init__.py
fake_driver.py Use SnapshotStatus enum field 2017-07-03 13:44:23 +00:00
fixtures.py Copy StandardLogging fixture from Nova 2016-02-29 17:46:31 -05:00

README.rst

IMPORTANT DEFINITION OF TESTS IN CINDER

Cinder has a number of different test types, PLEASE be sure to refer to the Cinder Testing Docs to familiarize yourself with the various options before creating any new tests.

Please check Cinder-Testing <https://docs.openstack.org/developer/cinder/devref/testing.html>