Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/snaps from branch 'master'
- Deleting files created when obtaining keypair settings from heat.
When Heat creates a keypair and SNAPS-OO attempts to generate a
KeypairSettings object, the private key is getting stored into
a file that was not getting cleaned up in some of the tests.
JIRA: SNAPS-177
Change-Id: I50759a74efbd1d0df4de0780da43b9e56432d28c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Initial patch to begin adding support for Magnum."
- Initial patch to begin adding support for Magnum.
JIRA: SNAPS-212
Change-Id: I5f72fe9c28fe5cdd61546eee828becd034f8aff9
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Apply upper-constraints when testing SNAPS"
- Apply upper-constraints when testing SNAPS
It conforms with OpenStack rules [1] and enforces the same testing
env over the OPNFV projects [2].
[1] https://wiki.openstack.org/wiki/Requirements
[2] https://wiki.opnfv.org/display/functest/Requirements+management
Change-Id: Iad277b305dbb6c9e96894f5809edcb27a750e418
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Adding tests for IPv6.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Removal of test from API check.
Change-Id: Iaf99f0d397043233e9112b38f0cbb5008b5159d1
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Added method to OpenStackHeatStack to return OpenStackSecurityGroup objects.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Added logging when a heat stack fails."
- Added logging when a heat stack fails.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Added method to OpenStackHeatStack to return OpenStackRouter objects."
- Added method to OpenStackHeatStack to return OpenStackRouter objects.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Quick fix around static IPs and ports in launch.py application.
Change-Id: I81b74fb37aee37644f3092251ae5163d57392fdc
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- docs: Update installation methods
JIRA: SNAPS-193
Change-Id: Ibd42667023311ee2d61142063f4d301bad4ac5d7
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- 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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Added method to OpenStackHeatStack to return OpenStackKeypair objects.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Return OpenStackVolume and OpenStackVolumeType instances from heat."
- 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 <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Sync requirements with OpenStack Pike
OPNFV F-release is built on top of OpenStack Pike.
Functest depends on SNAPS and requires this update.
It conforms with the requirement management cleant for E-release [1].
[1] https://wiki.opnfv.org/display/functest/Requirements+management
Change-Id: Ifff3db55f8b2f03a91b43fb542328300c7b7b4a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Updated application to support volumes.
Updated VirEnvDeploy documents to reflect newly supported
object type.
JIRA: SNAPS-208
Change-Id: Icc0d435d9b2d780d31a15ebc9a1ebd539c58e407
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Updated documentation to reflect new block storage support.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Implemented the ability to attach volumes to VM instances.
JIRA: SNAPS-198
Change-Id: I30bb92dabab64e6a8918fa5ab0de1bed359a147e
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Added ext_net_name into template substitution variable."
- Added ext_net_name into template substitution variable.
Without the change, the template would always leverage the
external network name of 'external'.
Also am now creating a security group for the VM with the
floating IP so the test will always be able to access.
Fixed another test that used the same heat template that
was changed to add in security groups.
JIRA: SNAPS-206
Change-Id: I19b09e91a844f88bd473ea25b2bba71ae19b0aa1
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Third patch for volume support."
- Third patch for volume support.
* Added support for volumes integrated with QoS and encryption.
* Created tests for volumes at an API and state machine level.
JIRA: SNAPS-197
Change-Id: I07326875b9f1a30e50389531d0d2571ee648675f
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Add reason for stack creation failure"
- Add reason for stack creation failure
JIRA: SNAPS-190
Change-Id: I59b7d416ef16cd1f301ccbdcdd8a7529527b3dd6
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Second patch for volume support.
* Added support for volume types
* Created tests for volume types, QoS Spec, and encryption
JIRA: SNAPS-196
Change-Id: I9154fc20772191cecf4f2f9feb7e8d8634167a9c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- First of several patches for adding volume support.
* Added volume API version attribute to OSCreds
* Created utility for interfacing with the Cinder APIs
* Created QoS creator
* Added new tests to test_suite_builder.py
JIRA: SNAPS-195, SNAPS-194
Change-Id: I0c6a53b4cba6efea3e92d909b94b259fa07a35c3
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Improved creator/state machine classes class hierarchy."
- Improved creator/state machine classes class hierarchy.
Created abstract superclasses for all classes responsible
for deploying and maintaining the state of objects deployed
to OpenStack which should help developers better understand
the library.
JIRA: SNAPS-183
Change-Id: I7651bd338f0d4e4086abbc11755e6be4f19058bd
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Move CreateInstancePubPrivNetTests test to staging
CreateInstancePubPrivNetTests is failing on Fuel and it seems that the
test is not behaving as expected on all pods. SNAPS-191 was created to
refactor the code so until that is fixed we should not run this test
in functest.
JIRA: SNAPS-184
Change-Id: I2286b9fab72e705092a521cd3611a63a8e12f855
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Restricted Ansible version to >=2.1 && < 2.4
ansible_utils.py leverages the class ansible.vars.VariableManager
which no longer exists in Ansible 2.4.x
JIRA: SNAPS-187
Change-Id: I3e92e5addb7251554d6ec9befa61bfcc9e1376ef
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Increse ssh timeout in Ansible
The SNAPS smoke tests pass on Apex when the timeout
is a bit higher than 10 (default)
JIRA: SNAPS-186
Change-Id: I2f42f0fc9a78bfad4ae3940813e87ba7572ad2f5
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Reduce flavor resources of heat template
In order to pass the HeatUtilsCreateComplexStackTests
request an affordable amount of compute resources.
Change-Id: I7d99435ce9500cc96e2e25828f1a804687df69e0
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Disabled test meant for the F release.
Change-Id: I889fa6a384bc7468c732180261c0eebe815b7cfa
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Enhanced launch.py app to support all types.
Added application support for users, projects, and
security groups. In addition, added support for multiple
credential sets so one can manage multiple projects
potentially on multiple clouds.
Added Jinja2 template support for substituting values
in the template file with values contained in the
environment file.
Added ansible substituion value for a VM's floating IP.
Changed credentials interface attribute's default value
from 'admin' to 'public'.
Added optional pre_sleep_time attribute to ansible execution
that will wait for a given number of seconds prior to attempting
to apply a playbook to a set of VMs.
JIRA: SNAPS-4, SNAPS-5, SNAPS-6, SNAPS-26
Change-Id: I67b8d69a3b06a43631d80e8fe0c56e02773dbfbe
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Added method to return OpenStackVmInstance from Heat."
- Added method to return OpenStackVmInstance from Heat.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed test names.
Copy/paste issue changed nova to heat.
Change-Id: Ib75fcea4c87375f615862e0542569c8e3d9675e8
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fix to a UserSettings pydoc explaination of an attribute.
Change-Id: I7937c8fbfc1537ad70bd5bf9a657c52c600c1de8
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Grant the new user to os_creds.project_name"
- Grant the new user to os_creds.project_name
For the test test_create_admin_user, the new user is
granted to the project "admin", so the role retrieval
is None with os_creds.project_name, which is not "admin".
Change-Id: I840d81ec83a72fc913edef8d4200223dfa2eca39
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Get the correct endpoints URL based on OS_REGION_NAME env property
It also ignores *.pyc.
Change-Id: I94a5e297108b839fd6d2811faa34eed3023c0e3a
Signed-off-by: Laurent Strullu <laurent.strullu@orange.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Specify segmentation_id when creating network
When the network_type is vlan, it is necessary to specify
physical_network and segmentation_id.
JIRA: FUNCTEST-863
Change-Id: I44f57cdd825ee3cde7adb946c4f8dc78e3ee5212
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fix validate_ssh_client
After the "try..finally.." statement is executed, the ssh_client is
closed by the "finally" statement. So the out.channel.in_buffer is
not readable and the testcases failed.
Change-Id: I3fbf620cb9ccee62c515b83fed9fd01238ad3262
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Scripts to allow Jenkins to run the SNAPS-OO tests."
- Scripts to allow Jenkins to run the SNAPS-OO tests.
JIRA: SNAPS-80
Change-Id: I7d634a5484752194d7796e841233bf387c1aeafe
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "SNAPS Stack creators can now return SNAPS network creators."
- SNAPS Stack creators can now return SNAPS network creators.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Assign a role to the new user
Fix the patch: https://gerrit.opnfv.org/gerrit/#/c/37079
2 tests are influenced:
test_create_project_sec_grp_one_user
test_create_project_sec_grp_two_users
Change-Id: I5b2bad3b0b1c3394848de913ac5f161eb1172a3e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Added feature to update the quotas on a project/tenant.
JIRA: SNAPS-170
Change-Id: Icf494dd2bddc338b8e85259b0400c0950d2332bc
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Reformat auth_url based on the ID API version."
- Reformat auth_url based on the ID API version.
No longer raising an OSCredsError when the auth_url does
not end with a 'v' + some number. Additionally, the auth_url
will be massaged to remove any 'v' + num from the end of
the URL and generate its own version value based on the ID
API version configured.
JIRA: SNAPS-144
Change-Id: I3a7844025324105576da59b1516d0f541281e6bf
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Added test ability for 2 VMs on different networks to ping each other.
JIRA: SNAPS-48
Change-Id: I77973fef06343eb7108e998ea8e939c1f2d9d4a6
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Refactored neutron_utils#get_router_by_name() to get_router()"
- Refactored neutron_utils#get_router_by_name() to get_router()
Added a router_settings (RouterSettings) object parameter
in addition to router_name for more robust query options.
JIRA: SNAPS-163
Change-Id: I47672f531171d6ee0c90dabb6641640bf97c1d20
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Configure requirements for AAVMF(UEFI) with Cirros image on AArch64
Cirros image on AArch64 with AAVMF(UEFI) requires at least 256MB RAM.
The default 128MB was changed to 256MB.
Change-Id: I7414de519dcb53337f83690d1470ea672cec739b
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
JIRA: ARMBAND-279
|
|
* Update docs/submodules/snaps from branch 'master'
- Refactored neutron_utils#get_security_group()
Added a sec_grp_settings (SecurityGroupSettings) object parameter
in addition to sec_grp_name for more robust query options.
JIRA: SNAPS-164
Change-Id: I8bb21ff9e5e6b1f532773ca01d37964f8b47b530
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Refactored neutron_utils#get_subnet_by_name() to get_subnet()"
- Refactored neutron_utils#get_subnet_by_name() to get_subnet()
Renamed utility function and added a subnet_settings parameter to
hold a SubnetSettings object to help make the query more robust
by being able to leverage values on the settings object.
JIRA: SNAPS-165
Change-Id: I226a1217dc4ba7bb50f7d985ecfaf3b7bc4f610b
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Refactor server retrieval API calls."
- Refactor server retrieval API calls.
Refactored nova_utils#get_servers_by_name() to get_server() and
include a VmInstSettings object in addition to the server_name
parameter as well as only returning one VmInst object.
JIRA: SNAPS-168
Change-Id: I30c22a36b07ce143ee8c1c76a77fd75f0062e4aa
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Refactored port retrieval to include PortSettigs."
- Refactored port retrieval to include PortSettigs.
Refactored neutron_utils#get_port_by_name to get_port while
adding in a port_settings object for more robust query options.
JIRA: SNAPS-162
Change-Id: I01222ad344224db94615859448ad05d8d5bc0c30
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Delete 'default' security group associated to new projects."
- Delete 'default' security group associated to new projects.
OpenStack can create a security group named 'default' each time a
new project/tenant has been created but is not cleaned up when the
project has been deleted. This patch adds this functionality into
OpenStackProject#clean() method.
Also added similar routine to KeystoneUtilsTests#tearDown() method.
JIRA: SNAPS-169
Change-Id: I29492ae2ddd82e7d59d09b9c4eb759be4835532a
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Add domain name when creating projects and users
Change-Id: Id06e20e3c87072531930130db66763f554b4649c
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|