kuryr-kubernetes/kuryr_kubernetes/controller/drivers
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 driver base and pod project driver 2016-11-18 17:46:55 +03:00
base.py Ensure NP changes are applied to services 2019-01-24 13:26:47 +01:00
default_project.py Ensure project id is returned for DefaultNamespaceProjectDriver 2018-08-02 13:29:31 +02:00
default_security_groups.py Update CRD when NP has namespaceSelectors 2019-01-08 20:22:02 +00:00
default_subnet.py Move function get_subnet to kuryr_kubernetes.utils 2018-08-13 07:06:52 -04:00
lb_public_ip.py Handle exception raised in FIP allocation 2019-01-23 22:48:39 +02:00
lbaasv2.py Switch Octavia API calls to openstacksdk 2019-03-07 17:38:27 +01:00
multi_vif.py Use default subnet mapping if subnet is not specified 2019-01-16 12:26:05 +03:00
namespace_security_groups.py Add option to tag Neutron resources created by us 2019-02-21 19:40:36 +01:00
namespace_subnet.py Add option to tag Neutron resources created by us 2019-02-21 19:40:36 +01:00
nested_macvlan_vif.py Add option to tag Neutron resources created by us 2019-02-21 19:40:36 +01:00
nested_vif.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
nested_vlan_vif.py Add option to tag Neutron resources created by us 2019-02-21 19:40:36 +01:00
network_policy.py Merge "Add option to tag Neutron resources created by us" 2019-03-04 14:42:48 +00:00
network_policy_security_groups.py Fix CRD update when NP has namespaceSelectors 2019-01-23 16:07:17 +00:00
neutron_vif.py Merge "Add option to tag Neutron resources created by us" 2019-03-04 14:42:48 +00:00
public_ip.py Add option to tag Neutron resources created by us 2019-02-21 19:40:36 +01:00
sriov.py Add option to tag Neutron resources created by us 2019-02-21 19:40:36 +01:00
utils.py Fix LBaaS sg rules update on deployment scale 2019-03-04 15:57:47 +00:00
vif_pool.py Merge "Pools support with Network Policies" 2019-02-12 11:29:54 +00:00