Commit Graph

20 Commits

Author SHA1 Message Date
Takashi Kajinami 25872b36de Drop implementation to use pyOpenSSL to manage pkcs12 certs
The cryptography library has been bumped to 3.1 in upper-constraints
file during Ussuri, which is quite old. So we no longer have to
maintain logic for cryptography < 3.0.

Change-Id: I1a463e320b94b0e99e92541581e1ee5feffd356a
2023-11-06 23:26:15 +09:00
Zuul 67249477d8 Merge "Add HTTP/2 tempest scenario tests for listeners" 2020-09-22 10:17:30 +00:00
Zuul c611b45680 Merge "Remove all usage of six library" 2020-08-26 08:46:05 +00:00
Carlos Goncalves 909aa66ac2 Add HTTP/2 tempest scenario tests for listeners
Depends-On: https://review.opendev.org/#/c/744905/
Depends-On: https://review.opendev.org/#/c/747932/
Change-Id: I90594ab948c74711682c9bb14d37d1e1d7b1beeb
2020-08-25 14:10:23 +00:00
Michael Johnson 6fbfed03d3 Add skip_if_not_implemented to the service client
This patch adds a decorator that wraps the service client methods adding
the ability to raise a skipException if a call to the API returns a
NotImplementedError or UnsupportedOptionError exception.

This is useful for running the tests against provider drivers that do
not support all of the Octavia API features.

Change-Id: I17d4be65130fadf97d6170d22fb07c72672b7573
2020-08-04 21:53:06 +00:00
jacky06 bd58726375 Remove all usage of six library
Convert all code to not require six library and instead
use python 3.x logic.

Change-Id: I9d5e9fce5d387c655c0bfc1bdcb699a1aa0f56a1
2020-07-13 14:17:57 -04:00
Andreas Jaeger d2c4881d07 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Remove ipaddress from requirements so that requirements-check passes.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ifc6eeeb4d43dbd6c9e531d773b3320e234304ab0
2020-05-28 14:46:21 +02:00
Brian Haley 47e4589d45 Drop python 2.7 support and testing
OpenStack dropped py2.7 support in Ussuri cycle.

octavia-tempest-plugin is ready with python 3 so it's ok to drop
python 2.7 support.

Also added requirements test support to tox.ini

Modeled on similar neutron-tempest-plugin change.

Change-Id: Iba286366a8d6ce75b3a73756c5bdc70c77723232
2020-05-19 15:59:19 -04:00
Carlos Goncalves 42e54aadd9 Add missing keystoneauth1 to requirements.txt
The keystoneauth1 library is imported by the Barbican client manager but
was missing in the requirements.txt file.

Change-Id: I75c648026d43d533b21367f3adf77014b07e89a3
2019-08-01 13:31:10 +02:00
Carlos Goncalves 9777f1154e Drop requirement on octavia-lib
octavia-lib is only required to get a constant which actually should be
in the octavia-tempest-plugin codebase like other protocols are.

Change-Id: I269da85a9a7adabce340aa436d9457b12dee6e36
2019-05-03 11:28:02 -06:00
cao.yuan 45e6e66823 Update json module to jsonutils
oslo project provide jsonutils, and octavia use it in many place[1],
this PS to update the remained json moudule to oslo jsonutils for
consistency.

[1]: https://github.com/openstack/octavia-tempest-plugin/search?utf8=%E2%9C%93&q=jsonutils&type=

Change-Id: I1cf966595bbabd3e33b1e33033dfb6a8b16381f8
2019-02-25 12:45:21 +08:00
Michael Johnson 0a0f9b342a Add a TLS scenario using Barbican
This patch adds a TLS load balancer scenario test using Barbican.

Story: 1627383
Task: 5149

Change-Id: I7013888f94261d94e1cd4c3167dc84da7125d1da
2019-01-08 09:52:04 -08:00
Zuul 51e91b4dfe Merge "Create scenario tests for load balancers" 2018-04-10 23:26:58 +00:00
Jude Cross 986e3f543c Create scenario tests for load balancers
This patch implements the tempest plugin for
for testing load balancer creation in Octavia.

Co-Authored-By: Jude Cross <jcross@godaddy.com>
Co-Authored-By: Lingxian Kong <anlin.kong@gmail.com>

Depends-On: https://review.openstack.org/557856
Change-Id: I57064f8e0834efba8859a780394a1c69851cc917
2018-04-10 12:20:01 -07:00
OpenStack Proposal Bot 6f0c71ffc3 Updated from global requirements
Change-Id: I1ee22efce26d3c9d9f630a3fcc1085aadf51078e
2018-03-25 22:29:30 +00:00
OpenStack Proposal Bot ac449fe6d2 Updated from global requirements
Change-Id: If976654fa7895fb3798b70555d0224b2a12b093b
2018-01-16 04:21:09 +00:00
OpenStack Proposal Bot ed613e2897 Updated from global requirements
Change-Id: I841855c25692aa8f2e2611c125738af57646494d
2017-11-17 07:00:22 +00:00
Jude Cross 638c4ef2a1 Create scenario tests for loadbalancers
This patch implements the tempest plugin for basic load balancer
operations in Octavia. It contains tests for loadbalancer API and
a minimal operation test for loadbalancing functionality.

Steps for testing in devstack environment:

- Clone octavia-tempest-plugin repo, check out this patch, install
  octavia-tempest-plugin project.
- Create a tempest work directory by running 'tempest init <workdir>'.
  In the etc/tempest.conf, add 'loadbalancer = true' in
  'service_available' section.
- Set a big value to 'OS_TEST_TIMEOUT' in .testr.conf
- Add or modify other related config options (image, network, flavor,
  validation, etc).
- Run 'tempest run --regex ^octavia_tempest_plugin'

Co-Authored-By: Lingxian Kong <anlin.kong@gmail.com>
Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: Ibc2904f431b15dfca2ff8e38e0d4d06c1430abea
2017-11-16 14:14:59 -08:00
OpenStack Proposal Bot 81d6349309 Updated from global requirements
Change-Id: I60cee5c0c8fb6c62242b9b0b2ddf48bc9174924d
2017-06-06 01:53:58 +00:00
Michael Johnson 34139b07a7 Initial setup of the octavia-tempest-plugin repo
This patch is the initial repository setup for octavia-tempest-plugin
using the OpenStack cookiecutter template.

Change-Id: Icce1389d3a9fb6076091d4d291e15773fb64544b
2017-05-11 18:32:01 +00:00