canonical / hotsos

Software analysis toolkit. Define checks in high-level language and leverage library to perform analysis of common Cloud applications.
Apache License 2.0
33 stars 38 forks source link

Fix BFD state change check #879

Closed dosaboy closed 5 months ago

dosaboy commented 6 months ago

The way we were checking for bfd state transitions was incorrectly counting the number of actual transitions. What we really care about is the the state transitions to down. The logic to do this has had to be moved into code since it is not possible to do it purely in yaml.

dosaboy commented 5 months ago

i plan to update this patch to leverage the new global searcher