kuryr-kubernetes/kuryr_kubernetes/tests/unit/controller
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
..
drivers Switch Octavia API calls to openstacksdk 2019-03-07 17:38:27 +01:00
handlers Switch Octavia API calls to openstacksdk 2019-03-07 17:38:27 +01:00
ingress OCP-Router - Fix Ingress controller LB listener creation 2018-08-22 14:24:12 +03:00
managers Ensure controller healthchecks passes without CRDs 2018-12-21 12:55:55 +00:00
__init__.py Controller service base 2016-10-04 21:56:50 +03:00
test_service.py Kuryr-Controller: make handlers pluggable 2018-04-17 17:02:00 +03:00