v2: Rebased on current upstream main, removed unrelated changes from v1,
fixed test output format expectations.
This patch series adds DNS query statistics tracking to ovn-controller
for observability into DNS query processing.
Statistics tracked:
- Total queries and breakdown by type (A, AAAA, PTR, ANY, Other)
- Cache performance (hits and misses)
- Processing errors (truncated packets, parse failures, etc.)
- Responses sent
A new unixctl command 'ovs-appctl -t ovn-controller dns/show-stats'
displays the statistics.
Testing:
- All existing OVN tests pass
- 10 new integration tests verify statistics tracking
- Validated with real DNS traffic (20 queries, cache hits/misses tracked)
Ketan Supanekar (2):
controller: Add DNS query statistics
tests: Add tests for DNS query statistics
controller/ovn-controller.c | 15 +
controller/pinctrl.c | 74 +++++
controller/pinctrl.h | 31 ++
tests/automake.mk | 3 +-
tests/ovn-dns-stats.at | 550 ++++++++++++++++++++++++++++++++++++
tests/testsuite.at | 1 +
6 files changed, 673 insertions(+), 1 deletion(-)
create mode 100644 tests/ovn-dns-stats.at
--
2.52.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev