Commit Graph

10 Commits

Author SHA1 Message Date
Ghanshyam Mann ebd7334127 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I96aa562840823478139775fe33ea0f4ee495aef2
2022-07-07 10:39:03 +02:00
Gregory Thiemonge c6fb93a53d Fix lower-constraints
Change-Id: Id0c035fd8e83ad088520b264e2727fc1a42dd3e2
2021-01-22 19:19:01 +01:00
Ghanshyam Mann b993b5f43b Fix hacking min version to 3.0.1
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
2020-05-15 11:32:21 -05:00
Michael Johnson c565e7b289 Remove the dependency on the "mock" package
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
2020-03-13 10:34:47 -07:00
Michael Johnson 5ea72f9f2c Generate PDF documentation
Change-Id: I71a0820f2322be7f84ab6555b534368d76bb0359
Story: 2006101
Task: 35148
2019-09-13 10:51:05 -07:00
Michael Johnson 28f1e74546 Clean up octavia-lib docs and remove oslo.log
This patch cleans up the octavia-lib documentation and removes an
unused requirement for oslo.log.

Change-Id: I4ddcb51fcfb976e825cd204d5f4f561d60ee0455
2019-08-09 11:50:41 -07:00
Michael Johnson d700c00a90 Add get methods to the driver-lib
This patch adds get methods to the driver-lib which allows provider
drivers to query for objects by ID.
In support of the get methods, this patch fixes a bug in the data
model to_dict() where it may not properly recurse the objects.
It also improves connecting to the driver agent sockets and adds a
timeout while waiting to receive data from the driver-agent.

Change-Id: Ia69d1f61571a1a65dee585037affb317999d7ade
Story: 2005870
Task: 33682
2019-07-29 11:29:22 -07:00
Carlos Goncalves 768465784c Add missing libraries to requirement files
Change-Id: I596d29bcadd409eb78bf1e456201bd5d616a6e84
2019-01-26 18:40:20 +01:00
Michael Johnson e55c7eccc9 Initial provider driver library checkin
This patch is the inital move of the provider driver modules from
Octavia to octavia-lib.
This patch also moves the required constants and makes them available
to the provider drivers.

Change-Id: I7c1b5d7ae59ce8971d21db225174095f8b5919ce
2018-11-12 10:39:44 -08:00
Michael Johnson 5f833c77d2 Initial cookie-cutter commit for octavia-lib
Setting up the base repository for octavia-lib.

Change-Id: I023fe839b39d9d826425aeca5e0fd39dc9c38275
2018-10-12 14:03:43 -07:00