summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/tests/create_flavor_tests.py
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20Refactoring of FlavorSettings to extend FlavorConfigspisarski1-41/+41
FlavorSettings and glance_utils have a runtime cyclical dependency. This patch reduces this dependency and deprecates the FlavorSettings class. JIRA: SNAPS-216 Change-Id: Ie9532fcbe16377d4ab608bdacd1982c3c6628fe9 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-10-31Added method to OpenStackHeatStack to return OpenStackFlavor objects.spisarski1-1/+1
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>
2017-07-21Added and improved flavor creation tests.spisarski1-12/+58
JIRA: SNAPS-142 Change-Id: I9c3cf5202a551f7b137648e95359f0adeb831101 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-18Created new class FlavorSettingsError.spisarski1-31/+32
Raising FlavorSettingsError in FlavorSettings instead of Exception. JIRA: SNAPS-131 Change-Id: I1cbd077f97bd9294e7bb87fc51c4125d0ef23f42 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-06-19Changes FlavorSettings constructor to use kwargs.spisarski1-54/+100
And changed line lengths to 79 for pep8. JIRA: SNAPS-95 Change-Id: Icd3ac79c66049b596c14273abb146d957d6e4e67 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-05-08Modified code to support both Python 2.7 and 3.xspisarski1-41/+46
* Tested on Python 2.7.10 and 3.4.4 * Updated installation documentation JIRA: SNAPS-30 Change-Id: I94a37d218be8ea47bbbcfb560197737430fcb3ba Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-03-06Added the ability to give the tests the ability to add in flavor metadata.spisarski1-3/+2
NFVI's configured for OVS/DPDK and fd.io scenarios required special metadata for flavors in order for VM instances to be activated. This patch allows for setting a value to be applied to all tests. With this change, the default value is being removed that only partially addressed this issue. JIRA: SNAPS-38 Change-Id: Ic42944a849f710f631fe7ac6fbefb720a73f0b77 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-02-17Added the ability to add in configurable metadata to flavor creation.spisarski1-4/+12
In order to properly support standard and DPDK installations, the default metadata value is hw:mem_page_size=any. JIRA: SNAPS-28 JIRA: FUNCTEST-737 Change-Id: Ic882e8f85a97320d65ede3d6a00735a909a4ead2 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-02-15Initial patch with all code from CableLabs repository.spisarski1-0/+311
Change-Id: I70a2778718c5e7f21fd14e4ad28c9269d3761cc7 Signed-off-by: spisarski <s.pisarski@cablelabs.com>