projectcalico / vpp-dataplane

VPP dataplane implementation for Calico
Apache License 2.0
145 stars 37 forks source link

agent: fix network watcher #605

Closed hedibouattour closed 1 year ago

hedibouattour commented 1 year ago

Prior to this patch we were not correctly restarting the api watcher for the network objects, ie when the watcher breaks network server in calicovpp agent logs warning or returns an error and we only recover if we restart agent. This patch allows to restart the watcher if it breaks, while keeping the resource version to continue watching.