aristanetworks / anta

What do you call an ant with frogs legs?
https://anta.arista.com/
Apache License 2.0
52 stars 26 forks source link

feat(anta): Added test case to verify SNMP Trap PDUs counters #828

Closed vitthalmagadum closed 4 weeks ago

vitthalmagadum commented 1 month ago

Description

Verifies the number of SNMP PDU(s) (Protocol Data Units) processed.

By default, all SNMP PDU counters will be checked for any non-zero values.
An optional list of specific SNMP PDU(s) can be provided for granular testing.

Expected Results
----------------
* Success: The test will pass if the SNMP PDU counter(s) are non-zero/greater than zero.
* Failure: The test will fail if the SNMP PDU counter(s) are zero/None/Not Found.

Fixes #820

Checklist:

github-actions[bot] commented 1 month ago

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] commented 1 month ago

Conflicts have been resolved. A maintainer will review the pull request shortly.

codspeed-hq[bot] commented 1 month ago

CodSpeed Performance Report

Merging #828 will not alter performance

Comparing vitthalmagadum:issue_820 (b6848c0) with main (29e08cb)

Summary

✅ 4 untouched benchmarks

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud