From fb6654aafdc5303077325691b7f468b27d7493c6 Mon Sep 17 00:00:00 2001 From: spisarski Date: Wed, 22 Nov 2017 14:55:43 -0700 Subject: Implemented the ability to create Magnum Cluster Type objects. This patch is the second of several necessary for the addition of Magnum support. This one implements a create and delete function to magnum_utils.py as well as the necessary config and domain classes for sending and receiving Cluster Type data to OpenStack. JIRA: SNAPS-233 Change-Id: Iad1959b98eaabc4ef5f41b70a23f6b1306259650 Signed-off-by: spisarski --- docs/how-to-use/APITests.rst | 11 +++++++++++ docs/how-to-use/UnitTests.rst | 12 ++++++++++++ 2 files changed, 23 insertions(+) (limited to 'docs/how-to-use') diff --git a/docs/how-to-use/APITests.rst b/docs/how-to-use/APITests.rst index ee0d894..6a7c317 100644 --- a/docs/how-to-use/APITests.rst +++ b/docs/how-to-use/APITests.rst @@ -544,6 +544,17 @@ heat_utils_tests.py - HeatUtilsFlavorTests | | | Flavor domain objects deployed with Heat | +---------------------------------------+---------------+-----------------------------------------------------------+ +magnum_utils_tests.py - MagnumUtilsTests +---------------------------------------- + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Magnum API | Description | ++=======================================+===============+===========================================================+ +| test_create_cluster_template_simple | 1 | Tests ability of the function | +| | | magnum_utils.create_cluster_template() to create a simple | +| | | cluster template OpenStack object with minimal config | ++---------------------------------------+---------------+-----------------------------------------------------------+ + settings_utils_tests.py - SettingsUtilsNetworkingTests ------------------------------------------------------ diff --git a/docs/how-to-use/UnitTests.rst b/docs/how-to-use/UnitTests.rst index cb0c5f3..5bd4f08 100644 --- a/docs/how-to-use/UnitTests.rst +++ b/docs/how-to-use/UnitTests.rst @@ -396,6 +396,18 @@ VmInstDomainObjectTests Ensures that all required members are included when constructing a VmInst domain object +ClusterTemplateConfigUnitTests +------------------------------ + +Ensures that all required members are included when constructing a +ClusterTemplateConfig object + +ClusterTemplateUnitTests +------------------------ + +Ensures that all required members are included when constructing a +ClusterTemplate object + SettingsUtilsUnitTests ---------------------- -- cgit