summaryrefslogtreecommitdiffstats
path: root/docs/how-to-use/IntegrationTests.rst
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22Remove test_create_volume_bad_zoneLinda Wang1-3/+0
JIRA: FUEL-356 Fuel/MCP has set allow_availability_zone_fallback option to True. If the requested Cinder availability zone is unavailable, fall back to the value of default_availability_zone, then storage_availability_zone, instead of failing. Change-Id: I04f45f8435dbdf1113ac6b2c50bf913c1f29cd20 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-14Added test to ensure a port to the external network can be added tospisarski1-0/+3
a router by an 'admin' user. JIRA: SNAPS-283 Change-Id: I78a48862de5bd48dca7dc38d197c0df315003638 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-13Added tests to ensure multiple IP addresses can be assigned to a VM port.spisarski1-0/+6
JIRA: SNAPS-284 Change-Id: I43528434523a137a78d1f1f8d22496341f78492b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-13Added test to ensure VM instances spawned by an admin user canspisarski1-0/+10
have an external network used on a port. JIRA: SNAPS-282 Change-Id: I3ee2fef65d1751880e576dc8f6a797260d1028ee Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-13Reverse engineer OpenStackHeatStackspisarski1-0/+6
Added support for obtaining an initialized OpenStackHeatStack object from an existing Stack object JIRA: SNAPS-278 Change-Id: I68cb0c85179868e4e3899b5516316dda3321e9f6 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-08Added members to VmInst that will contain the availability_zonespisarski1-1/+5
and compute_host names while deprecating the method get_vm_info(). JIRA: SNAPS-277 Change-Id: Idc8578b3f2cf2be8ef90f52dd025dbea729b222b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-03-08Ensure the project for volumes are handled properly.spisarski1-0/+19
Although this patch has added the project_name member to VolumeConfig, it does not work properly due to a cinder bug https://bugs.launchpad.net/cinder/+bug/1641982. However, the code will now allow for volumes with the same name to be created on the same pod just as long as they do not exist within the same project/tenant. JIRA: SNAPS-270 Change-Id: Ia6f98e9b66793a69c0205d2d8e38bb3d03f3333e Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-28Ensure project for routers are handled properly.spisarski1-0/+29
Routers should be able to be created by admin users to other projects. Routers without admin users should only be able to create ones to their default project. JIRA: SNAPS-266 Change-Id: I5ecfbcc2ed94bbab211751da9521f3ec1d4ff66d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-27Fixed subnet gateway support to allow for disabling the gateway.spisarski1-0/+19
JIRA: SNAPS-276 Change-Id: Ia676b91ee881097ca7502fb4b9f5c64961de2214 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-16Ensure project IDs are handled correctly for Network/Subnetsspisarski1-0/+15
JIRA: SNAPS-265 Change-Id: If58f5817e52e21be377d2b06a5f7c3a413454350 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-02-15Added functionality for OpenStackSecurityGroup#initialize() not to acceptspisarski1-0/+11
security groups with the same name from a different project JIRA: SNAPS-264 Change-Id: I7c905e5588d5e503b47ea0e9f5997be89e841aec Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-01-19Merge "Fix Malformed Table in Integration Tests doc"Steven Pisarski1-1/+1
2018-01-11Fixed vm instance instantiation from Heat when using nested resourcesspisarski1-0/+12
* Simplified the configuration of file resources * Added integration test JIRA: SNAPS-255 Change-Id: I1065d9352865d7a9f946a5d9947e32e7340f20bc Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-28Enhancements to the SNAPS orchestrator/launcherspisarski1-10/+0
Added support for more Ansible substitution values extracted from OpenStack instances (i.e. subnet broadcast address, router external IP for gateway configuration, CIDR IP, netmask, etc.) Removed most try/except blocks to ensure processing does not continue when a problem should arise Added the ability to know when cloud-init has completed Removed nic configuration from OpenStackVmInstance as userdata/ cloud-init/cloud-config should be performing that functionality Fixed some logging messages Misc launcher bug fixes Change-Id: I73e7607ee158cce3d16f9c1c1fc7c32ef5899a1d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-04Added the ability to reboot OpenStack server instancesspisarski1-0/+3
JIRA: SNAPS-243 Change-Id: I7232ee14cac81d39d86e7391a4e006b8276ed536 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-12-01Added ability to add a floating IP to an existing instancespisarski1-0/+6
Patch includes: 1. Ability to easily retrive an initialized OpenStackVmInstance object 2. Added method to OpenStackVmInstance named "add_floating_ip" 3. Tests to ensure floating IPs added after initialization actually work JIRA: SNAPS-241, SNAPS-242 Change-Id: I1f413645a752c17fd624ecff26e851068bb77e3f Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-29Cluster template cleanupspisarski1-3/+0
Removal of negative tests where an invalid keypair is being configured. This test was not operating consistently between pods Update testing documentation Updated some invalid class names in pydoc Change-Id: I7a392e9ed993450de40a20457044ba8294d45044 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-28Added cluster template creator/state machine class.spisarski1-0/+35
Created class and tests for creating and managing cluster templates. JIRA: SNAPS-235 Change-Id: Ia91aef9507fc39d1814dce03169aab0b784721a6 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-16Refactoring of ImageSettings to extend ImageConfigspisarski1-1/+1
ImageSettings and glance_utils have a runtime cyclical dependency. This patch reduces this dependency and deprecates the ImageSettings class. JIRA: SNAPS-217 Change-Id: I09f34531366f2a5bd3202c9cbbdef878b2542abe Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-08Adding tests for IPv6.spisarski1-2/+28
Included in patch: 1. Refactor Network domain object to include Subnet objects 2. Removed subnet members from OpenStackNetwork 3. Added exhausive IPv6 tests to neutron_utils_tests.py 4. Added two IPv6 integration tests to create_network_tests.py 5. Added two tests where VM instances have ports with IPv6 addresses 6. Updated docs JIRA: SNAPS-178 Change-Id: Id3e5448cb431d2acf47029244fe6773f3f29d368 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-06Added method to OpenStackHeatStack to return OpenStackSecurityGroup objects.spisarski1-0/+11
Continuation of the story SNAPS-153 for adding creator/state machine instances for OpenStack objects deployed via Heat. JIRA: SNAPS-207 Change-Id: Id479b69c2b166ab38724c3886096d8483998f819 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-06Merge "Added logging when a heat stack fails."Steven Pisarski1-13/+23
2017-11-02Added logging when a heat stack fails.spisarski1-13/+23
Added the stack resource reason to the error logs for each resource who's status is 'CREATE_FAILED'. All resons will be output to debug. JIRA: SNAPS-190 Change-Id: Ieb1cdb2089eb6e1c1a7c96c143b82af1b7a9efb7 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-02Added method to OpenStackHeatStack to return OpenStackRouter objects.spisarski1-0/+22
Continuation of the story SNAPS-153 for adding creator/state machine instances for OpenStack objects deployed via Heat. JIRA: SNAPS-173 Change-Id: Iac9138ef7827c10db1637447d3a909e714a0301b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-10-31Added method to OpenStackHeatStack to return OpenStackFlavor objects.spisarski1-0/+11
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-10-30Added method to OpenStackHeatStack to return OpenStackKeypair objects.spisarski1-0/+11
Continuation of the story SNAPS-153 for adding creator/state machine instances for OpenStack objects deployed via Heat. JIRA: SNAPS-175 Change-Id: I7196279086b1935b4ec4a01483d46921cc567b15 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-10-27Return OpenStackVolume and OpenStackVolumeType instances from heat.spisarski1-12/+27
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 <s.pisarski@cablelabs.com>
2017-10-26Updated documentation to reflect new block storage support.spisarski1-0/+140
1. Updated library usaged LibraryUsage.rst 2. Added new unit tests to UnitTests.rst 3. Added new component tests to APITests.rst 4. Added new integration tests to IntegrationTests.rst 5. Updated application usage docs in VirtEnvDeploy.rst 6. Updated pydocs where inaccurate JIRA: SNAPS-203 Change-Id: I8bee2c6cdb5f54b86abf805bc930563028df3425 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-10-20Fix Malformed Table in Integration Tests docTrevor Bramwell1-1/+1
Change-Id: Idd2efdb04d7ee1972f1189576c3a2cb9bf834aef Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-08-24Added method to return OpenStackVmInstance from Heat.spisarski1-2/+16
OpenStackHeatStack now can introspect the VMs that the template was responsible for deploying and return an instanitated instance of OpenStackVmInstance for each VM deployed. When the VM has a Floating IP, these instances have the ability to connect via SSH just like one created from scratch. JIRA: SNAPS-172 Change-Id: I5a7ed3a09bb871afc55c718aa80a9069b1eb4da7 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-08-09SNAPS Stack creators can now return SNAPS network creators.spisarski1-0/+3
As Heat Stacks are responsible for spawning objects in OpenStack, the class OpenStackHeatStack which is responsible for applying and managing the state of a stack now can retrieve OpenStackNetwork objects for the networks created in the stack for clients who would like to query the networks and subnets or update them outside of Heat. JIRA: SNAPS-171 Change-Id: I9bf0b81d4f7bfeb1b6392f345022c7d9a57d0415 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-08-08Added test ability for 2 VMs on different networks to ping each other.spisarski1-0/+10
JIRA: SNAPS-48 Change-Id: I77973fef06343eb7108e998ea8e939c1f2d9d4a6 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-28Removed floating IP list from OpenStackVmInstance.spisarski1-0/+3
There was a list and dict both holding the same floating IP objects which has been problematic especially when trying to initialize the object with a VM instance that already exists. JIRA: SNAPS-149 Change-Id: If4af6dfef04a40b9c8cd7a8add484c9ec03f1ef8 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-27Merge "Expand OpenStackSecurityGroup class tests."Steven Pisarski1-1/+4
2017-07-26Expand OpenStackSecurityGroup class tests.spisarski1-2/+5
Improved validation and added another test case. JIRA: SNAPS-148 Change-Id: I249ac0fcce502dd91c82cc2bfb54ca22da5e33bb Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-26Added configuration for keypair size.spisarski1-1/+4
Removed hardcoded key byte value of 1024 and added the abiltiy for the user to define their key size. JIRA: SNAPS-20 Change-Id: I81654420e558aae8a03bed902bb8be8f025b992c Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-25Merge "Added keypair config for key file deletion."Steven Pisarski1-0/+23
2017-07-24Added keypair config for key file deletion.spisarski1-0/+23
Added KeypairSetting attribute named 'delete_on_clean' which is used to override the keypair creator's logic for deleting its associated public/private key files. JIRA: SNAPS-105 Change-Id: I337db99daa6bf7d4b42e8729a92a4baef5c73140 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-24Updated docs.spisarski1-11/+72
JIRA: SNAPS-122 Change-Id: I499971ac47c5d6b15d7895f1a7abc3a3e8290b3b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-05-16Added support for offline testingspisarski1-13/+5
Expanded the image_metadata used by the tests for overriding default images for not only supporting 3part images but also to support offline testing as required by Functest. JIRA: SNAPS-67 Change-Id: I6975e7b51fa879fe984af64402939c465df95184 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-03-01Added new 3-part image tests to test_suite_builder.py and documented themspisarski1-0/+23
in IntegrationTests.rst. JIRA: SNAPS-32 Change-Id: I20b3917840b5caf26f1a12caf0231f5f0801999d Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-02-15Converted existing markdown documentation to RST format.spisarski1-0/+290
Removed MD versions. Moved examples directory up one under repo root Moved RST files under docs/how-to-use Change-Id: I4137b8591e4ae63e40674a7f5f8243d928efee0c Signed-off-by: spisarski <s.pisarski@cablelabs.com>