A comprehensive Python SNMP library supporting v1/v2c/v3 with authentication and privacy protocols
84
{
"context": "This evaluation assesses how effectively the engineer uses pysnmp's IPv6 UDP transport capabilities to query SNMP agents. The focus is on proper transport configuration, asyncio integration, and correct usage of pysnmp's high-level async API for IPv6 communication.",
"type": "weighted_checklist",
"checklist": [
{
"name": "IPv6 UDP Transport",
"description": "Uses pysnmp's Udp6TransportTarget class (from pysnmp.hlapi.v3arch.asyncio) to configure IPv6 UDP transport for SNMP communication",
"max_score": 25
},
{
"name": "Asyncio GET Operations",
"description": "Correctly uses the async getCmd() function from pysnmp.hlapi.v3arch.asyncio module with await syntax to perform asynchronous SNMP GET requests",
"max_score": 20
},
{
"name": "SNMP Engine Setup",
"description": "Properly initializes SnmpEngine instance for asyncio operations, managing engine lifecycle appropriately (creation and cleanup)",
"max_score": 15
},
{
"name": "Community Authentication",
"description": "Correctly configures CommunityData object with appropriate community string for SNMPv2c authentication",
"max_score": 10
},
{
"name": "ObjectType Configuration",
"description": "Uses ObjectType and ObjectIdentity classes to specify OIDs for query operations, properly constructing variable bindings",
"max_score": 15
},
{
"name": "Concurrent Queries",
"description": "Implements concurrent SNMP queries using asyncio primitives (asyncio.gather, asyncio.create_task, or similar) to query multiple IPv6 devices in parallel",
"max_score": 10
},
{
"name": "Error Handling",
"description": "Properly checks and handles errorIndication, errorStatus, and errorIndex values returned by getCmd() to detect transport errors, timeouts, and protocol errors",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-pysnmpevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10