summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-01-25Merge "Add missing licences in requirements.txt"HEADstable/huntermasterSteven Pisarski1-2/+2
2019-01-25Add missing licences in requirements.txtCédric Ollivier1-2/+2
Change-Id: Ic03c3aea6984458a6fc987bb278f6f25459bc2db Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-24Fix an invalid filter attribute when listing floating ipsCédric Ollivier1-1/+1
The request doesn't conform with API [1] and raises exceptions vs Neutron Hunter: neutronclient.common.exceptions.BadRequest: [u'ip'] is invalid attribute for filtering Neutron server returns request_ids: ['req-857b6294-eea5-46cf-8c95-0e57279ed5e6'] [1] https://developer.openstack.org/api-ref/network/v2/index.html?expanded=list-floating-ips-detail Change-Id: I52bac8806152695834f8ece4f0213c3c63134c79 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-05Set MTU=1442 in ansible_utils_tests.pyCédric Ollivier1-1/+1
The former MTU (1450) is fine for VXLAN but reducing it to 1442 allows GENEVE tunneled networks. Else snaps_smoke fails when verifying OVN [1]. [1] https://artifacts.opnfv.org/logs/functest/lf-pod1/gambia/2018-11-05_11-43-15/functest.log Change-Id: Icf38c30837858f59ed25f443245fee0007e9354d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-25Merge "Local Documentation Builds"Aric Gardner6-0/+41
2018-10-08Deprecating launch app and ansible support.spisarski4-0/+16
Change-Id: Iba28a784a4e78e1009d2038a30ccea8a1bfaa25f Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-10-03Updates to the ansible API implementation to allow forspisarski7-27/+33
playbooks to be applied directly against the localhost as well as removing the return code in favor of reliance of unchecked Errors/Exceptions. Change-Id: Ib963aa9b4f5a75010d8f7b25db7d66a2e1950cce Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-09-28Local Documentation BuildsAric Gardner6-0/+41
This adds configuration for performing local documentation builds with the following simple command: tox -e docs added index.rst so that docs build succsesfully Change-Id: Iab747c90f7f4b7866270c5850b2792e194b5378a Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-09-27Opened up API to allow for playbook application to localhostspisarski1-12/+18
by making the user, password, and private key attributes optional. Change-Id: I7e1e2b5848730ae5febde7d7243e741c87e5c7ea Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-09-18Merge "Auto Generated INFO.yaml file"Randy Levensalor1-0/+44
2018-09-17Updated ansible API calls to Ansible library version >=2.4spisarski2-12/+12
JIRA: SNAPS-287 Change-Id: Id422bb6e85eee249a2cf7969130b472e110a7662 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-09-11Pass flavor metadata into heat templateMichael Polenchuk2-0/+7
Change-Id: I660c7421c9c43d4603cf05489ca39f781467e3a1 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-08-09Removed the use-keystone option for running tests.spisarski1-23/+7
As these tests have evolved, the -k option is no longer necessary and actually cause some tests to fail now and I have only been testing with that option always being set. Change-Id: Ib866cc4f3df1c790619c64508ac9733a2b6d4102 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-07-31Support both admin role nameValentin Boucher1-1/+4
Depending of the installer the admin role name can be admin or Admin. This patch was tested: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | api_check | functest | 09:60 | PASS | +-------------------+------------------+------------------+----------------+ Change-Id: I99815777794cd6524213abca1f04ec84dae1e760 Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com>
2018-07-24Merge "Added a check for cloud-init completion before final ssh client check."Steven Pisarski1-0/+1
2018-07-24Added a check for cloud-init completion before final ssh client check.spisarski1-0/+1
Change-Id: I040da15623a7da03d1e3805cfa113b1c40916d11 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-07-24Small fix to network/project when creating ports andspisarski4-6/+137
added new tests for routers that create ports to external and shared networks created by the 'admin' user. Change-Id: I0365e9843e0837d720ca8dd907c45afa2c512047 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-07-24Skip searching network in project if external or sharedCédric Ollivier1-1/+1
It meets the OpenStack rules: - any router can be connected to an external network. - any VM can be connected to a shared network It completes https://gerrit.opnfv.org/gerrit/59865 which partially skip the lookup. Then CreateRouterSuccessTests passes when the external network is not owned by the user running snaps_smoke. JIRA: SNAPS-320 Change-Id: I2c60363002c6b667f90ff3f5f984eace4fa86c99 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-16Merge "Cleaned up extra network created in the test ↵Steven Pisarski1-0/+8
test_set_one_port_two_ip_two_subnets()"
2018-07-16Cleaned up extra network created in the testspisarski1-0/+8
test_set_one_port_two_ip_two_subnets() JIRA: SNAPS-323 Change-Id: I7610d7b3d2262b0f75c9620d2ec6907b62458158 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-07-16Added additional check when creating a port on a network forspisarski1-2/+1
the external flag is not True to query the network for the given project. JIRA: SNAPS-320 Change-Id: Ie755633520fe30664fc89e9daaea6aa2d14c2e52 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-07-13Switch to OS::Neutron::FloatingIPAssociationCédric Ollivier2-8/+15
OS::Nova::FloatingIPAssociation is hugely deprecated and doesn't work with latest OpenStack Queens deliverables. Change-Id: Icc43ba8a3466efbcc03e190b7e56f84eb69b7e51 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Added additional check for the returned project object is not None.spisarski1-1/+1
There were 3 other instances of this check in neutron_utils.py but this one was missed and could potentially cause issues. Change-Id: I599e63e14a9b08ba34f50e060c7dfa5fbdd631f7 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-06-20Adds Stack Updatembeierl8-27/+243
Adds function to allow stack update to occur. Includes higher level object calls for stack update. Added blocking parameter to create() and update() Rebase screwed up some changes. Added new test to test_suite_builder.py and updated IntegrationTests.rst accordingly Change-Id: I4558befb3ea8ea7982faff79d1ebb54fbb3d44a7 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-06-19Adds Threads to Heat Callsmbeierl4-39/+140
Adds thread pool and coverts looping calls to OpenStack to be submitted to it, allowing them to be run in parallel. Places a configurable maximum size (default 5) of concurrent calls on the thread pool. JIRA: SNAPS-316 Change-Id: Id209c5fe9b7ee7d755d3210a124b38fc3234f0d7 Signed-off-by: mbeierl <mark.beierl@dell.com>
2018-06-15Merge "Fixes additional legacy problems found when reviewing patch 58483"Steven Pisarski1-14/+16
2018-06-14Removing flavor metadata from test heat template.spisarski1-4/+0
Tests can break with this setting. Change-Id: Idab15bc5d83f8d88a08c46c71fb179c1e3d0282b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-06-13Fixes additional legacy problems found when reviewing patch 58483spisarski1-14/+16
Second revision removes an unnecessary check on self.ext_net_name. Change-Id: I0611d0130824fb0c2fa147d3fa503b2826a61ed5 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-06-13Check dev_os_env_file exists before loading itCédric Ollivier1-4/+6
The testcases should work even if no specific metadata are set. Change-Id: I3fa6aea3588f37946a847042903f313e33a728f8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-11Added MTU network config and updated flavor_metadata test supportspisarski14-43/+82
JIRA: SNAPS-315 Change-Id: Ie4cbab24ea0af41e93c475e04c9440422617466f Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-06-08Merge "Added support for OSCreds output to SNAPS-OO orchestrator app."Steven Pisarski5-36/+106
2018-06-04Added support for OSCreds output to SNAPS-OO orchestrator app.spisarski5-36/+106
Change-Id: Ic690ebff47d137fdd172f5dd5f263cd7f4a6ae04 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-06-04Fix to a router's internal subnet resoulution.spisarski1-1/+1
Ensures that any subnet added to the router is available to that project. Change-Id: Iddfad14a093551bc0f4a05c52b20f02db2474d78 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-29Fixed issue when attempting to add an internal subnet to a router.spisarski4-16/+67
Internal subnets that are owned by the same user who is creating a router now can be added properly. Attempted to fix an issue with the change in https://gerrit.opnfv.org/gerrit/#/c/57853/ that was allowing for subnets with the same name to be assigned but ended up breaking this functionality completely. JIRA: SNAPS-312 Change-Id: I1687f66db47520e93e401d3e9fb5f0c4f45d460f Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-24Miscellaneous minor stability fixesspisarski4-8/+13
Change-Id: Iad8a7b6358f881d1c2935cc619cfa96f1196a675 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-24Merge "New functionality for snaps-oo application."Steven Pisarski2-17/+73
2018-05-24New functionality for snaps-oo application.spisarski2-17/+73
1. Utility for saving a dict to a YAML file 2. Added new hook that will create a file with the VMs created with the associated OpenStack credentials Change-Id: I124db00e4375603e9473cceab3e2846582d6cb22 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-24Added ability for integration tests to define additionalspisarski2-4/+40
existing users to a project. Change-Id: I91be434dcd7b580f3bfd69e3a97b9a9a13ee4676 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-24Merge "Remove conditional on external_fixed_ips to allow for case that it is ↵Steven Pisarski1-2/+1
not set but network_id is set in external_gateway_info"
2018-05-24Merge "Restricting the magnum-pythonclient version to 2.1-2.2"Steven Pisarski1-1/+1
2018-05-23Remove conditional on external_fixed_ips to allow for case thatStuart Mackie1-2/+1
it is not set but network_id is set in external_gateway_info Change-Id: Ib0fdfbf49730ca68d7c1d47c18c2ac17be637380 Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
2018-05-22Extra changes on Flavor ConfigPanagiotis Karalis6-7/+53
JIRA: SNAPS-254 Change-Id: I4f18c0d11fe2e8456c0ebce0681f22e3e1daf6bf Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2018-05-16Merge "Removed project query restriction when looking up network for port ↵Steven Pisarski1-2/+1
creation."
2018-05-16Restricting the magnum-pythonclient version to 2.1-2.2spisarski1-1/+1
Using version >2.2 results in a runtime exception. Change-Id: I1c5d5c650004981f13a350d04c3ab359fc98799b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-16Merge "Patch to make flavor configuration for tests more flexible."Steven Pisarski8-57/+97
2018-05-16Removed project query restriction when looking up network for port creation.spisarski1-2/+1
When creating a router to an external network, the port configuration object was performing a lookup using the port's user and project ID; however, as external networks created in other projects and are visible amongst all projects can also be added to a port. This patch removes the project restriction from the network query. I do not believe this fix should ultimately break other functionality as networks that cannot be looked up by a certain user would still return None raising a valid exception. JIRA: APEX-598 Change-Id: I6cd32373fd4f42d8ad9b63a89c2131f95b113ce8 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-05-16Conform ProjectConfig args with descriptionCédric Ollivier1-1/+1
Change-Id: Ib865fdc6d48c377c5a28092015b807ef79a15ce3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-05-09Patch to make flavor configuration for tests more flexible.spisarski8-57/+97
Also fixed potential issues with downloading images from https locations JIRA: SNAPS-254 Change-Id: Ib81569df499bbf0652c2025fc7de37af92525f7f Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2018-04-29Fix NoneType in create_router.pyCédric Ollivier2-7/+4
It lets Neutron handle str or unicode instead of returning None. It reverts the first proposal [1] which raises side effects [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/56171/ [2] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/126/console Change-Id: I1b45c7d6118321dd67343f31253f154abae73655 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-23Merge "Fix NoneType error when creating router"Steven Pisarski2-1/+4