5 Commits

Author SHA1 Message Date
Peng Liu
5fa529efa4 Move function get_subnet to kuryr_kubernetes.utils
Since the function _get_subnet is widely used by different components,
I move it to kuryr_kubernetes.utils as a part of common utilities.

Change-Id: I9a80fb55f5c02274fb50c4c92eb3514ccb42830e
2018-08-13 07:06:52 -04:00
Luis Tomas Bolivar
bcc851aacf Add oslo_cache to default_subnet driver
This patch adds oslo_cache to the default subnet driver to
avoid unneed calls to neutron when creating pods (or when
getting subnet information)

Change-Id: I93b6bed424757e4138ba656251ae5da46b857da1
2017-11-27 11:41:00 +01:00
Ilya Chukhnakov
a715f9edb9 K8s Services support: LBaaSSpecHandler
This patch introduces LBaaSSpecHandler that handles K8s Service
events and updates related Endpoints with LBaaSServiceSpec when
necessary.

Change-Id: I09a0235842edd06827437f37aeac7ca5daeb1774
Partially-Implements: blueprint kuryr-k8s-integration
2017-02-03 15:05:45 +03:00
Irena Berezovsky
db5ea40874 Fix group parameter for cfg.RequiredOptError in default drivers
Change-Id: I2b8224c17719964777875708b32db44d33d286bf
Closes-Bug: #1652756
2016-12-28 00:41:51 +02:00
Ilya Chukhnakov
9e078d4a5c Default pod subnet driver and os-vif utils
This patch adds a new driver type used to determine Neutron subnet
that should be used for Kubernetes pods' ports. This patch also
provides a default subnet driver implementation that uses a
subnet set in configuration file.

This patch also introduces the 'os_vif_util' module that contains
functions to translate data structures returned by Neutron client to
os-vif objects. Only the subnet-related functions are added in this
patch.

Change-Id: I643b22858239ce7f64e6ba81822b31e788fc9990
Partially-Implements: blueprint kuryr-k8s-integration
2016-11-20 12:55:16 +00:00