yanet icon indicating copy to clipboard operation
yanet copied to clipboard

Interfaces configuration check.

Open TheRandomCharacter opened this issue 1 year ago • 0 comments

We happened to catch a state when host was misconfigured, dataplane failed to init any interfaces, but continued running. In this circumstances systemd controlplane service keeps crashing trying to configure broken dataplane, while dataplane service continues running as if everything is fine.

If dataplane was to abort in case interface configuration failed completely. Systemd dataplane service would fail, narrowing debugging scope.

Since we might have corner use cases where dataplane with no interfaces makes sense, a 'interfacesRequired' flag defaulting to true should also be added to dataplane configuration.

TheRandomCharacter avatar Aug 13 '24 15:08 TheRandomCharacter