CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pysnmp

A comprehensive Python SNMP library supporting v1/v2c/v3 with authentication and privacy protocols

84

0.94x
Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how well the engineer uses pysnmp's advanced walk parameters (lexicographicMode, maxRows, ignoreNonIncreasingOid) to control MIB tree traversal. The focus is on correct usage of the walk_cmd function with these specific parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses walk_cmd",
      "description": "Implementation uses pysnmp's walk_cmd (or bulk_walk_cmd) async generator function from pysnmp.hlapi.v3arch.asyncio to perform SNMP walk operations",
      "max_score": 20
    },
    {
      "name": "lexicographicMode parameter",
      "description": "Correctly uses the lexicographicMode parameter: sets it to False to walk only within the specified subtree, and True to continue beyond the initial subtree in lexicographic order",
      "max_score": 25
    },
    {
      "name": "maxRows parameter",
      "description": "Correctly uses the maxRows parameter: sets it to a positive integer to limit the number of rows retrieved, and 0 to retrieve unlimited rows",
      "max_score": 25
    },
    {
      "name": "ignoreNonIncreasingOid parameter",
      "description": "Correctly uses the ignoreNonIncreasingOid parameter: sets it to True to continue walking when non-increasing OIDs are encountered, and False to stop on such errors",
      "max_score": 20
    },
    {
      "name": "Async iteration",
      "description": "Properly uses async for loop to iterate over the walk_cmd async generator and handles the returned tuple (errorIndication, errorStatus, errorIndex, varBinds)",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pysnmp

tile.json