kuryr-kubernetes/kuryr_kubernetes
Kirill Zaitsev ba1f9f3cba Clarify _is_pending function use
VIFHandler._is_pending's name is currently misleading, since the
function only returns when 1) the node is in PENDING state; AND 2) the
node has a node assigned.
This commit renames the function to better match implementation, adds a
docstring and a unit-test, that tests for a pod pending without a node
assigned.

Change-Id: I880a579354f1f9bf939ca22fbdcd33d0fc442fcd
2017-06-30 14:40:09 +03:00
..
cmd Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
cni Add MACVLAN based interfaces for nested containers 2017-06-12 13:14:12 +01:00
controller Clarify _is_pending function use 2017-06-30 14:40:09 +03:00
handlers Remove log translations 2017-03-28 15:13:49 +08:00
objects Add MACVLAN based interfaces for nested containers 2017-06-12 13:14:12 +01:00
tests Clarify _is_pending function use 2017-06-30 14:40:09 +03:00
__init__.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
clients.py Experimental CNI & VIFBridge binding 2016-12-05 18:05:22 +00:00
config.py Enforce E128 pep8 check 2017-06-13 14:22:51 +03:00
constants.py K8s Services support: LoadBalancerHandler 2017-04-10 17:07:16 +00:00
exceptions.py Add MACVLAN based interfaces for nested containers 2017-06-12 13:14:12 +01:00
k8s_client.py Enforce E128 pep8 check 2017-06-13 14:22:51 +03:00
linux_net_utils.py Remove log translations 2017-03-28 15:13:49 +08:00
opts.py Generic vif driver extension to enable ports reuse 2017-06-11 14:00:15 +02: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 Enforce E128 pep8 check 2017-06-13 14:22:51 +03:00
utils.py Add asyncio eventloop. 2016-09-01 14:47:47 +02:00
version.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
watcher.py Stopping Thread from oslo_service 2017-06-15 09:11:41 +00:00