kuryr-kubernetes/kuryr_kubernetes
Michał Dulko 7cc187806b Change Pod annotations format to o.vo
With start of multi-vif support we've merged a new format of Pods
annotations i.e. dictionary with interface names as keys and VIF o.vo's
as values. This is inflexible, as we don't get versioning of the
dictionary.

This commit switches that dictionary to oslo.versionedobject of
following structure:

 PodState
   - default_vif: VIFBase
   - additional_vifs: {
       '<ifname>': VIFBase,
       ...
       '<ifname>': VIFBase,
   }

This should help us if we ever decide to change this format.

Related-Bug: 1782366

Depends-On: Ied6b5883cf4bfe6a499813c65b49257de040c4b5
Change-Id: I5bce85029f9edfed56ca216f465226b9bcc0d21b
2018-08-01 15:30:42 +02:00
..
cmd CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
cni Change Pod annotations format to o.vo 2018-08-01 15:30:42 +02:00
controller Change Pod annotations format to o.vo 2018-08-01 15:30:42 +02:00
handlers Merge "Log the exception-info when an error raises in hanlder" 2018-05-16 10:13:14 +00:00
objects Change Pod annotations format to o.vo 2018-08-01 15:30:42 +02:00
platform OCP-Router: Fix path route to support subpath 2018-07-23 18:06:36 +03:00
tests Change Pod annotations format to o.vo 2018-08-01 15:30:42 +02:00
__init__.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
clients.py Use K8s API LB IP instead of HOST_IP in DevStack 2018-07-17 10:40:02 +02:00
config.py Implement multi-vif driver 2018-07-31 19:31:48 +08:00
constants.py Implement multi-vif driver 2018-07-31 19:31:48 +08:00
exceptions.py OCP-Router: Ingress controller support 2018-06-15 14:34:57 +00:00
k8s_client.py Namespace deletion functionality for namespace_subnet driver 2018-06-07 13:13:57 +00:00
linux_net_utils.py Remove log translations 2017-03-28 15:13:49 +08:00
opts.py OCP-Router: Ingress controller support 2018-06-15 14:34:57 +00:00
os_vif_plug_noop.py Add MACVLAN based interfaces for nested containers 2017-06-12 13:14:12 +01:00
os_vif_util.py fix typos 2018-06-21 18:43:08 +08:00
utils.py kuryr-controller A/P HA 2018-06-14 10:25:34 +02:00
version.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
watcher.py process to gracefully exit when last watcher exits 2018-07-12 16:22:01 +02:00