This patch series adds DNS query statistics tracking to ovn-controller. The statistics provide visibility into DNS query processing, including: - Query counts by type (A, AAAA, PTR, ANY, Other) - Cache performance metrics (hits and misses) - Error tracking (truncated packets, invalid queries, etc.) - Response counts
A new unixctl command 'dns/show-stats' displays the statistics. All error conditions result in packets being reinjected to the pipeline rather than dropped, maintaining OVN's existing behavior. Testing: - All existing OVN tests pass (882 tests) - New integration tests verify statistics tracking (10 tests) - Tested with ovn-fake-multinode environment - GitHub Actions CI: https://github.com/ksupanekar/ovn/actions Ketan Supanekar (2): controller: Add DNS query statistics tests: Add tests for DNS query statistics controller/ovn-controller.c | 3930 ++++++++--------------------------- controller/pinctrl.c | 1873 +++++++++-------- controller/pinctrl.h | 48 +- tests/automake.mk | 40 +- tests/ovn-dns-stats.at | 551 +++++ tests/testsuite.at | 3 +- 6 files changed, 2522 insertions(+), 3923 deletions(-) create mode 100644 tests/ovn-dns-stats.at -- 2.50.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
