foundation-model-stack / multi-nic-cni

https://foundation-model-stack.github.io/multi-nic-cni/
Apache License 2.0
33 stars 5 forks source link

reduce unnecessary update and add context deadline to API server call #172

Closed sunya-ch closed 6 months ago

sunya-ch commented 6 months ago

This PR additionally reduces unnecessary multinicnetwork status and net-attach-def update with new functions of NetStatusUpdated and CheckDefChanged accordingly.

Alos, this PR adds missing context deadline on API server call for both daemon and controller to prevent hang from non-responding API server.

Signed-off-by: Sunyanan Choochotkaew sunyanan.choochotkaew1@ibm.com