/usr/share/pyshared/pysnmp/proto/rfc3411.py is in python-pysnmp4 4.2.2-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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | # SNMP PDU taxonomy
from pysnmp.proto import rfc1157, rfc1905
readClassPDUs = {
rfc1157.GetRequestPDU.tagSet: 1,
rfc1157.GetNextRequestPDU.tagSet: 1,
rfc1905.GetRequestPDU.tagSet: 1,
rfc1905.GetNextRequestPDU.tagSet: 1,
rfc1905.GetBulkRequestPDU.tagSet: 1
}
writeClassPDUs = {
rfc1157.SetRequestPDU.tagSet: 1,
rfc1905.SetRequestPDU.tagSet: 1
}
responseClassPDUs = {
rfc1157.GetResponsePDU.tagSet: 1,
rfc1905.ResponsePDU.tagSet: 1,
rfc1905.ReportPDU.tagSet: 1
}
notificationClassPDUs = {
rfc1157.TrapPDU.tagSet: 1,
rfc1905.SNMPv2TrapPDU.tagSet: 1,
rfc1905.InformRequestPDU.tagSet: 1
}
internalClassPDUs = {
rfc1905.ReportPDU.tagSet: 1
}
confirmedClassPDUs = {
rfc1157.GetRequestPDU.tagSet: 1,
rfc1157.GetNextRequestPDU.tagSet: 1,
rfc1157.SetRequestPDU.tagSet: 1,
rfc1905.GetRequestPDU.tagSet: 1,
rfc1905.GetNextRequestPDU.tagSet: 1,
rfc1905.GetBulkRequestPDU.tagSet: 1,
rfc1905.SetRequestPDU.tagSet: 1,
rfc1905.InformRequestPDU.tagSet: 1
}
unconfirmedClassPDUs = {
rfc1157.GetResponsePDU.tagSet: 1,
rfc1905.ResponsePDU.tagSet: 1,
rfc1157.TrapPDU.tagSet: 1,
rfc1905.ReportPDU.tagSet: 1,
rfc1905.SNMPv2TrapPDU.tagSet: 1
}
|