kuryr-kubernetes/kuryr_kubernetes/tests/unit
Michał Dulko b90ca1b9b9 Switch Octavia API calls to openstacksdk
For a while we were using a dirty hack to call Octavia API - i.e.  we
were mocking python-neutronclient to use a session pointing to Octavia
endpoint. This was a workaround to save some effort that was needed to
introduce python-octaviaclient dependency.

As Kuryr is strongly tied to Kubernetes version it is serving, we should
try to limit its dependency on OpenStack versions. E.g. we should be
able to cooperate with various versions of Octavia. openstacksdk is a
tool that is designed to do exactly that, adding abstraction layer that
hides differences between APIs and as last resort allowing doing bare
HTTP calls, while taking care of all the Keystone stuff for us.

This commit removes the ugly workaround mentioned in first paragraph and
switches all the LBaaS v2 calls to use openstacksdk's Octavia proxy.
Also some leftovers from LBaaS v2 removal are cleaned up, e.g. logic
behind not using cascade deletion or workaround for LbaaS v2 issues with
pools.

Implements: blueprint switch-to-openstacksdk
Change-Id: Ic0bb56f90fe9effcdcb2ae5db96b8a1ec19738df
2019-03-07 17:38:27 +01:00
..
cmd Add kuryr-status utility for upgrade-checkers 2018-10-03 15:09:53 +02:00
cni Remove way of running without kuryr-daemon 2019-02-04 12:53:00 +01:00
controller Switch Octavia API calls to openstacksdk 2019-03-07 17:38:27 +01:00
handlers Add quota readiness check to controller 2018-11-21 10:11:55 +00:00
platform OCP-Router: Fix path route to support subpath 2018-07-23 18:06:36 +03:00
__init__.py K8s and Neutron clients support 2016-10-03 16:07:03 +00:00
kuryr_fixtures.py lbaasv2: Fix for deployments missing the proxy 2018-04-13 16:47:39 +02:00
test_clients.py Switch Octavia API calls to openstacksdk 2019-03-07 17:38:27 +01:00
test_k8s_client.py Fix Python 3 compatiblity in K8sClient.watch() 2018-09-12 14:10:23 -06:00
test_linux_net_utils.py Cleanup and enforce pep8 checks 2017-06-08 15:36:44 +03:00
test_object.py Fix SG rules on targetPort update 2019-02-18 10:05:44 +00:00
test_os_vif_plug_noop.py Add MACVLAN based interfaces for nested containers 2017-06-12 13:14:12 +01:00
test_os_vif_util.py Drop unnecessary import 2018-09-26 17:12:33 +02:00
test_utils.py Fix LBaaS sg rules update on deployment scale 2019-03-04 15:57:47 +00:00
test_watcher.py Add quota readiness check to controller 2018-11-21 10:11:55 +00:00