This change completes the ALPN support started in Victoria and initially
limited to listeners. Now with pools supported as well, this feature
work is completed in octavia-lib.
Change-Id: I01268f7afac8f6356616f3926d6fe9c1ec31b2b5
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: Id9281a4b8d319da5c0a049937c927ebf03439703
Sem-Ver: feature
This patch adds the required changes to support Proxy protocol
version 2.
Change-Id: Ic51131defb8d687185a7887b7ca578c4f1babaad
Story: 2005611
Task: 30858
A recent patch added a docstring that references the new NotFound
exception. Unfortunately it is ambiguous with other NotFound
exceptions.
This patch clarifies the NotFound exception.
Change-Id: Ie7df8625c907a19e82a4595b32ee6e77c93363f7
Two tests were missing assertIsInstance() checks, this
makes them like the tests above and below them.
Change-Id: Ie201f5b2574e5e11aeca9c08859977a1b8a3c1d8
pylint needed an update to be >=2.2.0 to fix a pep8 issue,
updated bandit requirement to match Octavia repo while
we're at it.
Had to fix some new errors pylint found as a result.
Change-Id: I7ebdd5eea537a8258f66b5e1bf2ee1aad3f8b10b
HTTPS and TERMINATED_HTTPS are not valid protocols for pools, and
PROXY is not valid protocol for listener. So we should declare two
constants to respectively constrain listener and pool support
protocols.
Change-Id: Ibfc1609d867b746e639f9b8382301c04a6723f4b
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.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Iec8ad8f132aa68ef8778b6a94266897956f74bd8
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I861f3305af18d112d51a1dc368a00e5fe763b788
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I9ad6fd648c9d6d39183526bc5fc7582354f57b50
Sem-Ver: feature
Parameter added to the listener and pool model for TLS protocols.
Constants TLS_VERSIONS, SSL_VERSION_3, TLS_VERSION_1,
TLS_VERSION_1_1, TLS_VERSION_1_2, and TLS_VERSION_1_3 were added.
Change-Id: Ie54640201a0f4905d19841af5913972646b317bf
Co-authored-by: Steven Glasford <stevenglasford@gmail.com>
Story: 2006733
Task: 37186
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Change-Id: If11b38493aacc7b888a6b64bf50c1a2782efd9ae
updated the data models for pools and listeners to
add support for cipher lists and added the needed
constants
updated the test models to include the new
parameters
Change-Id: Id5f4c20abd40dd092558a711987953012d4ae67f
Story: 2006627
Task: 37185
Now that we are python3 only, we should move to using the built
in version of mock that supports all of our testing needs and
remove the dependency on the "mock" package.
This patch moves all references to "import mock" to
"from unittest import mock". It also cleans up some new line
inconsistency.
Change-Id: Ie7567134a7c0ffae525d0282773e4c90a3f2d62b
This takes care of the last details for dropping py27
support by adding a proper min version of python in setup.cfg.
Change-Id: Ia4e3519f99d9d1bc68d70b1f21173b0b2ec187c1
Do not specify posargs on flake8 line in pep8 section, as it
breaks using 'tox -e pep8 HEAD~1' to check just code changed
in current change. While here change to match octavia tree
regarding enabled extensions.
Also fixed basepython warning now generated after removing
python2 code.
Trivialfix
Change-Id: Ib4326a1947845a229418b6b4213efc9f2bb12b32
Since it's no longer supported past Train, let's stop
running the tests.
Co-authored-by: Ajay Kumar <ajay.k@india.nec.com>
Change-Id: If81d0a45c423c173aa3c40dd2cfce37462dbf900
Temporarily make the tips jobs non-voting so we can merge this change
that relies on a change in the main repo.
Depends-On: https://review.opendev.org/#/c/693765/
Change-Id: I6dcbe72328369089ed62330098b38f8d4029749c