/usr/share/pyshared/pysnmp/smi/mibs/ASN1.py is in python-pysnmp4 4.2.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | # ASN.1 objects used in SNMP
from pyasn1.type import univ
from pysnmp.proto import rfc1902
mibBuilder.exportSymbols(
'ASN1',
ObjectIdentifier=univ.ObjectIdentifier,
# Instead of using base ASN,1 types we use SNMPv2 SMI ones to make
# SMI objects type-compatible with SNMP protocol values
Integer=rfc1902.Integer32,
OctetString=rfc1902.OctetString
)
|