Refactoring of VolumeTypeSettings to extend VolumeTypeConfig 35/47435/2
authorspisarski <s.pisarski@cablelabs.com>
Fri, 17 Nov 2017 21:05:29 +0000 (14:05 -0700)
committerspisarski <s.pisarski@cablelabs.com>
Mon, 20 Nov 2017 17:12:59 +0000 (10:12 -0700)
commit3c387ae1c18c4a80a752c3e5a2409f4a602b9e20
tree87a80e4650f0587a3fcd55d5ad3ecc535ee09deb
parent6dd10aa17c12bac0c3c185b15a444a5437563c14
Refactoring of VolumeTypeSettings to extend VolumeTypeConfig

This also includes VolumeTypeEncryptionSettings extending to
VolumeTypeEncryptionConfig which is a member of VolumeTypeConfig
VolumeTypeSettings and cinder_utils have a runtime cyclical
dependency. This patch reduces this dependency and
deprecates the VolumeTypeSettings class.

JIRA: SNAPS-228

Change-Id: Iaa9c7a1cd810cf63d1badb00f71bcdcefb527e12
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
13 files changed:
docs/how-to-use/LibraryUsage.rst
docs/how-to-use/UnitTests.rst
examples/launch.py
snaps/config/tests/volume_type_tests.py [new file with mode: 0644]
snaps/config/volume_type.py [new file with mode: 0644]
snaps/openstack/create_stack.py
snaps/openstack/create_volume_type.py
snaps/openstack/tests/create_volume_tests.py
snaps/openstack/tests/create_volume_type_tests.py
snaps/openstack/utils/settings_utils.py
snaps/openstack/utils/tests/cinder_utils_tests.py
snaps/openstack/utils/tests/settings_utils_tests.py
snaps/test_suite_builder.py