kuryr-kubernetes/kuryr_kubernetes/tests/unit/cni
Yash Gupta e507d7169a Use ifname from CNI request for default vif
Default vif should use the ifname supplied by CNI ADD request, instead
of using a fixed value (This helps to work with multus cni as well)

This is kind of a hack, as the vifs dict still uses the DEFAULT_IFNAME
for keeping track of the default vif, but changing that would require
some refactoring (as we do not know the requested ifname in controller,
it is only known when kuryr-cni-daemon tries to plug the vif)

Closes-Bug: 1852380
Change-Id: I4b185b8ca811793a7dfd459d2d89346119709acc
Signed-off-by: Yash Gupta <y.gupta@samsung.com>
2019-11-22 11:12:04 +09:00
..
plugins Use ifname from CNI request for default vif 2019-11-22 11:12:04 +09:00
__init__.py Prevent pyroute2.IPDB threads leaking 2017-11-17 12:30:54 +01:00
test_api.py Use CNI_IFNAME environment variable 2019-07-11 09:47:43 +03:00
test_binding.py Fix sensitivity to the initial device driver 2019-09-04 18:37:55 +03:00
test_health.py Add HTTPS support to K8s API healthchecks 2018-04-17 16:43:46 +02:00
test_main.py Remove way of running without kuryr-daemon 2019-02-04 12:53:00 +01:00
test_service.py Only delete pod from CNI registry after unplugging the vif 2019-11-21 10:31:59 +09:00
test_utils.py cni health: track all cgroup memory usage 2018-03-06 22:24:58 +01:00