From 6b7307374f6cfcad9eec8986aba8fdd8e08c8574 Mon Sep 17 00:00:00 2001 From: spisarski Date: Fri, 27 Oct 2017 14:06:01 -0600 Subject: Return OpenStackVolume and OpenStackVolumeType instances from heat. Added a methods to OpenStackHeatStack to return any OpenStackVolume and OpenStackVolumeType objects it was responsible for spawning. Changes include all of the necessary changes to the heat and settings utilities and associated tests. JIRA: SNAPS-199, SNAPS-200 Change-Id: I6da4bce1e90f080e22c96ab1b46eca8b85991ebf Signed-off-by: spisarski --- docs/how-to-use/UnitTests.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/how-to-use/UnitTests.rst') diff --git a/docs/how-to-use/UnitTests.rst b/docs/how-to-use/UnitTests.rst index f6f52b5..3cb26db 100644 --- a/docs/how-to-use/UnitTests.rst +++ b/docs/how-to-use/UnitTests.rst @@ -293,3 +293,12 @@ VmInstDomainObjectTests Ensures that all required members are included when constructing a VmInst domain object + +SettingsUtilsVolumeTests +------------------------ + +Ensures that the settings_utils.py#create_volume_settings() function properly +maps a snaps.domain.Volume object correctly to a +snaps.openstack.create_volume.VolumeSettings object as well as a +snaps.domain.VolumeType object to a +snaps.openstack.create_volume.VolumeSettings object -- cgit 1.2.3-korg