diff options
author | spisarski <s.pisarski@cablelabs.com> | 2017-10-30 14:22:20 -0600 |
---|---|---|
committer | spisarski <s.pisarski@cablelabs.com> | 2017-10-31 07:57:06 -0600 |
commit | b20a368daa581e3f649ac5a772da31cd09fdb484 (patch) | |
tree | edda6bab9d5918b7a989d4bf6425069094e1d625 /docs/how-to-use | |
parent | 85eb362579efbbc57e2851b2da2fd9599461f1ae (diff) |
Added method to OpenStackHeatStack to return OpenStackFlavor objects.
Continuation of the story SNAPS-153 for adding creator/state machine
instances for OpenStack objects deployed via Heat.
JIRA: SNAPS-174
Change-Id: I791e427efc487045c0f72cd836dabd9a66a4f60f
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'docs/how-to-use')
-rw-r--r-- | docs/how-to-use/APITests.rst | 11 | ||||
-rw-r--r-- | docs/how-to-use/IntegrationTests.rst | 11 | ||||
-rw-r--r-- | docs/how-to-use/UnitTests.rst | 9 |
3 files changed, 29 insertions, 2 deletions
diff --git a/docs/how-to-use/APITests.rst b/docs/how-to-use/APITests.rst index 9110162..ed4779a 100644 --- a/docs/how-to-use/APITests.rst +++ b/docs/how-to-use/APITests.rst @@ -473,6 +473,17 @@ heat_utils_tests.py - HeatUtilsKeypairTests | | | Keypair domain objects deployed with Heat | +---------------------------------------+---------------+-----------------------------------------------------------+ +heat_utils_tests.py - HeatUtilsFlavorTests +------------------------------------------ + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Heat API | Description | ++=======================================+===============+===========================================================+ +| test_create_flavor_with_stack | 1 | Tests ability of the function | +| | | heat_utils.get_stack_flavors() to return the correct | +| | | Flavor domain objects deployed with Heat | ++---------------------------------------+---------------+-----------------------------------------------------------+ + settings_utils_tests.py - SettingsUtilsNetworkingTests ------------------------------------------------------ diff --git a/docs/how-to-use/IntegrationTests.rst b/docs/how-to-use/IntegrationTests.rst index e00bc40..4772357 100644 --- a/docs/how-to-use/IntegrationTests.rst +++ b/docs/how-to-use/IntegrationTests.rst @@ -396,6 +396,17 @@ create_stack_tests.py - CreateStackVolumeTests | | | deploying | +---------------------------------------+---------------+-----------------------------------------------------------+ +create_stack_tests.py - CreateStackFlavorTests +---------------------------------------------- + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Heat API | Description | ++=======================================+===============+===========================================================+ +| test_retrieve_flavor_creator | 1 | Ensures that an OpenStackHeatStack instance can return a | +| | | OpenStackFlavor instance that it was responsible for | +| | | deploying | ++---------------------------------------+---------------+-----------------------------------------------------------+ + create_stack_tests.py - CreateStackKeypairTests ----------------------------------------------- diff --git a/docs/how-to-use/UnitTests.rst b/docs/how-to-use/UnitTests.rst index 3cb26db..4a360d4 100644 --- a/docs/how-to-use/UnitTests.rst +++ b/docs/how-to-use/UnitTests.rst @@ -294,11 +294,16 @@ VmInstDomainObjectTests Ensures that all required members are included when constructing a VmInst domain object -SettingsUtilsVolumeTests ------------------------- +SettingsUtilsUnitTests +---------------------- 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 + + +Ensures that the settings_utils.py#create_flavor_settings() function properly +maps a snaps.domain.Flavor object correctly to a +snaps.openstack.create_flavor.FlavorSettings object
\ No newline at end of file |