mgmtd/zebra: zebra: add per-source route-count support under /frr-zebra:lib/vrf#21280
Draft
ashred-lnx wants to merge 5 commits intoFRRouting:masterfrom
Draft
mgmtd/zebra: zebra: add per-source route-count support under /frr-zebra:lib/vrf#21280ashred-lnx wants to merge 5 commits intoFRRouting:masterfrom
ashred-lnx wants to merge 5 commits intoFRRouting:masterfrom
Conversation
Extend NOTIFY_SELECT to carry mode/mode_data, add FE client API support, and implement per-session periodic sampling timers in mgmtd while keeping backend notify-select operations on-change. Signed-off-by: Ashwini Reddy <[email protected]>
Update tests/topotests/lib/fe_client.py to encode NOTIFY_SELECT mode/mode_data and add CLI flags for periodic sample testing, then remove the temporary standalone tools/mgmtd_notify_test_client.py helper. Signed-off-by: Ashwini Reddy <[email protected]>
Clarify mode/mode_data behavior for native NOTIFY_SELECT in user docs and add inline code-path comments around validation and periodic scheduling. Signed-off-by: Ashwin Reddy <[email protected]>
Expose per-vrf zebra route-count operational nodes and callbacks, wire RIB per-route-type counters, advertise /frr-zebra:lib/vrf as a zebra oper prefix, allow sampled GET-DATA/periodic routing through both OPER and NOTIF backend maps, and update fe_client GET_DATA encoding to include datastore/default fields so query validation works with operational datastore. Signed-off-by: Ashwini Reddy <[email protected]>
Add a generic mgmt notification topotest that validates periodic FE sampling for both a baseline interface selector and the zebra route-count selector, asserting sync notifications and JSON payload structure. Signed-off-by: Ashwini Reddy <[email protected]>
3f4b6d6 to
0dd9f78
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/frr-zebra:lib/vrf(IPv4/IPv6 + total)./frr-zebra:lib/vrf/...for client compatibility.Testing: