kuryr-kubernetes/kuryr_kubernetes/tests/unit/controller/handlers
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
..
__init__.py Controller event handling pipeline 2016-11-03 13:08:29 +00:00
test_fake_handler.py Kuryr-Controller: make handlers pluggable 2018-04-17 17:02:00 +03:00
test_ingress_lbaas.py Drop unnecessary import 2018-09-26 17:12:33 +02:00
test_lbaas.py Switch Octavia API calls to openstacksdk 2019-03-07 17:38:27 +01:00
test_namespace.py Add namespace isolation for services 2018-08-06 19:33:55 +02:00
test_pipeline.py Revert commits to use UID instead of SelfLink 2018-02-19 17:00:46 +09:00
test_pod_label.py Avoid raising ResourceNotReady exception at pod label handler 2018-12-18 08:30:49 +01:00
test_policy.py Fix LBaaS sg rules update on deployment scale 2019-03-04 15:57:47 +00:00
test_vif.py Switch Octavia API calls to openstacksdk 2019-03-07 17:38:27 +01:00