Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/snaps from branch 'stable/euphrates'
- Avoid checking Keystone v3 domains when using API v2.0
Introducing a version check to avoid checking keystone domains,
which are an auth API v3 feature, when only auth API v2.0 is
being used.
Change-Id: I220c6637e5f65124e5dbe7d5246490c3986b7a66
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
|
|
* Update docs/submodules/snaps from branch 'stable/euphrates'
- Updated from global requirements
Change-Id: Ib52ff2a6cdbd1563dae26c7f8d74da825e499d68
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'stable/euphrates'
- Sync setup.py with OpenStack Ocata
The previous version differs from OpenStack Ocata and may raise
runtime issues in Functest containers.
Change-Id: I937b7a3d06f6cdf69ef66194b3f3cc632f6ff010
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'stable/euphrates'
- 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
Conflicts:
ci/run_tests.sh
Change-Id: Iad277b305dbb6c9e96894f5809edcb27a750e418
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 9622634b85de65dc8940a48789cd75430e9fbc8f)
|
|
* Update docs/submodules/snaps from branch 'stable/euphrates'
- Set git-review defaultbranch
Else git-review could rebase euphrates on top of master.
Change-Id: Ic533a4144db75c540324ace6e6a6279e859984e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/snaps from branch 'stable/euphrates'
- Fixed test names.
Copy/paste issue changed nova to heat.
Change-Id: Ib75fcea4c87375f615862e0542569c8e3d9675e8
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
(cherry picked from commit 1ac3fefd616758779fc1489b5fee8689ec2487d9)
|
|
* Update docs/submodules/snaps from branch 'stable/euphrates'
- Correct list of parameters
CreateInstancePubPrivNetTests was moved to the openstack_staging_tests
suite but with the wrong list of parameters. This fix corrects that.
Change-Id: Id32cc19f2e6c4dfa5e0c07b83fd4911de208658c
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
* Update docs/submodules/snaps from branch 'stable/euphrates'
- 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 'stable/euphrates'
- 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>
(cherry picked from commit 440acd77fbda4cf944cc915bef4183935527f651)
|
|
* 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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Refactor network retrieval API calls."
- Refactor network retrieval API calls.
Refactored neutron_utils#get_network() to also accept a
NetworkSettings object for more robust queries in addition to
the old network_name parameter. Also refactored neutron_utils#
get_network_by_id to add in the ID to list_networks((**{'id': id)
and returning the first item contains the expected ID value.
JIRA: SNAPS-161
Change-Id: Ie670a442dd70633bbef7a1233e630672ebac6b0c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Add domain name when creating projects and users"
- Add domain name when creating projects and users
(spisarski)
Also clarified the difference between domain ID and name
Added helper methods and domain object for Domains
JIRA: FUNCTEST-858
Change-Id: Iccd7eef56713a4ad0c23232073f52bc71168bf5c
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Changed heat_utils#get_stack_by_name to get_stack."
- Changed heat_utils#get_stack_by_name to get_stack.
Added stack_settings parameter to allow for more robust
queries based on the known settings as required.
JIRA: SNAPS-158
Change-Id: I538826f822307365b1afe997b71280b9ea500eab
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed logging out the OSCreds.
Change-Id: Id5675ff37c1d7e98eceb923194f190e2d5bc1d4d
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Changed keystone_utils#get_project to accept settings"
- Changed keystone_utils#get_project to accept settings
Added project_settings parameter to allow for more robust
queries based on the known settings as required.
JIRA: SNAPS-159
Change-Id: I56ecf0cc34bbb91c4cfe2afe83971b614ec80a39
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Added image_settings parameter to get_image()."
- Added image_settings parameter to get_image().
With the ImageSettings object, was able to add logic to
filter on the image format field in addition to the name.
JIRA: SNAPS-157
Change-Id: I6fc51a9d4d03dc9971005ee738e6592d8ed70485
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Fixed failing router test on Aricent pod.
Removed project ID from network lookup for the router_external
network as the test test_create_router_admin_user_to_new_project()
as the OpenStackRouter object was including its own project ID to
the API call causing the network lookup to fail.
Note: this is the only pod where this bug has reared it's ugly head.
Change-Id: I159252b3f3c3bc418f9947710e9e97d8471ec538
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Attempt to fix domain support.
The prior code treated *_domain_name & *_domain_id the same
where the ID was taken first and the name was used as the
fallback which was incorrect. This patch treats the name and
ID fields as separate members.
JIRA: SNAPS-154
Change-Id: I5219863de597c4db24579f4af74ece2d648b2b07
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Remove TODOs from create_router.py"
- Remove TODOs from create_router.py
Determined not to support the optional router attributes:
'enable_snat' & 'external_fixed_ips' at this time.
JIRA: SNAPS-150
Change-Id: I68445fb055668f4cb5f2a2ff80499da0f4160043
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Removed floating IP list from OpenStackVmInstance.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Ensure library and tests close all necessary resources.
The SNAPS-OO library and tests had left open files, ssh, and scp
connections. These have all now been wrapped with try/finally
blocks.
JIRA: SNAPS-152
Change-Id: I43e09978b5c075bd78ff3279c0799556b8758878
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Changes to enable overriding the OSCreds for tests."
- Changes to enable overriding the OSCreds for tests.
JIRA: FUNCTEST-847
Change-Id: I36d1add82cdb13a2c8252495fd6df8e05dab837b
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Expand OpenStackSecurityGroup class tests."
- Expand OpenStackSecurityGroup class tests.
Improved validation and added another test case.
JIRA: SNAPS-148
Change-Id: I249ac0fcce502dd91c82cc2bfb54ca22da5e33bb
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Expanded project creation tests and validation."
- Expanded project creation tests and validation.
JIRA: SNAPS-147
Change-Id: I16eb1ab9f976daf4195a47b04ce5b8b8ba931497
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Merge "Added configuration for keypair size."
- Added configuration for keypair size.
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>
|
|
* Update docs/submodules/snaps from branch 'master'
- Updated docs for the OSCreds class
JIRA: SNAPS-122
Change-Id: Id57f8830f7e87c513179de307130c76cb28f22a8
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Comment housekeeping...
Change-Id: I917470cb4bd29f93512cce7eead89824f2326678
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
* Update docs/submodules/snaps from branch 'master'
- Removed TODO from comment about the physical network value.
JIRA: SNAPS-123
Change-Id: Ie4085a35816a78cb5b4b910d52ddccaf6b102b1f
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|