Juniper / healthbot-rules

Apache License 2.0
43 stars 84 forks source link

error counters path change for routing.mpls/check-te-rsvp-global-errors rule #960

Closed vvikramb closed 2 months ago

vvikramb commented 2 months ago

Error counters path change for routing.mpls/check-te-rsvp-global-errors rule.

GNATS 1826792, AT16 :

To understand the history behind the error counters xpath.

Before error-counters path was introduced with openconfig, we were streaming the values with augment xpath "/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/global/state/error-counters/authentication-fail"

After error-counters xpath was introduced in rsvp openconfig model, with RLI 50517 committed in 22.3R1, In accordance with the new OC model, "counters" hierarchy was added. "/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/global/state/counters/errors/authentication-fail"

Earlier "error-counters" hierarchy were moved to augments for backwards compatibility.

Recently, there was a customer PR 1805762 in 24.3R1, where customer was getting too many values as they had subscribed to rsvp hierarchy level, when subscribed at the parent level, both these hierarchy xpaths are being streamed out.

So, with PR 1805762, "error-counters" xpath is removed to reduce the confusion and to be in completely in accordance with OC model only.

To answer your query to create new rule,

For releases 22.3R1 onwards, Please use "/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/global/state/counters/errors/authentication-fail"

For earlier releases, please use "/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/global/state/error-counters/authentication-fail"