a1708e1c76
This commit is a huge refactoring of how we handle network policies. In general: * KuryrNetPolicy is replaced by KuryrNetworkPolicy. The upgrade path is handled in the constructor of KuryrNetworkPolicyHandler. * New CRD has spec and status properties. spec is always populated by NetworkPolicyHandler. status is handled by KuryrNetworkPolicyHandler. This means that in order to trigger SG rules recalculation on Pod ang Service events, the NetworkPolicy is "bumped" with a dummy annotation. * NetworkPolicyHandler injects finalizers onto NetworkPolicy and KuryrNetworkPolicy objects, so that objects cannot get removed before KuryrNetworkPolicyHandler won't process deletion correctly. Depends-On: https://review.opendev.org/742209 Change-Id: Iafc982e590ada0cd9d82e922c103583e4304e9ce |
||
---|---|---|
.. | ||
cmd | ||
cni | ||
controller | ||
handlers | ||
__init__.py | ||
kuryr_fixtures.py | ||
test_clients.py | ||
test_k8s_client.py | ||
test_linux_net_utils.py | ||
test_object.py | ||
test_os_vif_plug_noop.py | ||
test_os_vif_util.py | ||
test_utils.py | ||
test_watcher.py |