Skip to content

Commit

Permalink
issue_822 Updated after resolved conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
VitthalMagadum authored and geetanjalimanegslab committed Jan 8, 2025
1 parent dcdcf9c commit c793bcb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions anta/tests/snmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,10 @@ class VerifySnmpPDUCounters(AntaTest):
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.
- Verifies that the valid notification type and VRF name.
- Ensures that UDP port provided matches the expected value.
- Ensures that the community_string is properly set for SNMP v1/v2 and for SNMP v3, the user field is included, aligning with version-specific requirements.
Expected Results
----------------
* Success: The test will pass if the provided SNMP notification host and all specified parameters are correctly configured.
* Failure: The test will fail if the provided SNMP notification host is not configured or specified parameters are not correctly configured.
* 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.
Examples
--------
Expand Down

0 comments on commit c793bcb

Please sign in to comment.