<s> from pysnmp . proto import rfc1155 <EOL> from pysnmp . proto import rfc1902 <EOL> from pyasn1 . type import univ <EOL> SEVERITIES = ( "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) <EOL> SNMP_VERSIONS = { <EOL> <NUM_LIT:0> : "<STR_LIT>" , <EOL> <NUM_LIT:1> : "<STR_LIT>" , <EOL> } <EOL> SNMP_TRAP_OID = "<STR_LIT>" <EOL> ASN_TO_NAME_MAP = { <EOL> rfc1902 . OctetString : "<STR_LIT>" , <EOL> univ . OctetString : "<STR_LIT>" , <EOL> rfc1902 . TimeTicks : "<STR_LIT>" , <EOL> rfc1902 . Integer : "<STR_LIT>" , <EOL> univ . ObjectIdentifier : "<STR_LIT>" , <EOL> rfc1902 . IpAddress : "<STR_LIT>" , <EOL> rfc1155 . IpAddress : "<STR_LIT>" , <EOL> univ . Boolean : "<STR_LIT>" , <EOL> univ . BitString : "<STR_LIT>" , <EOL> rfc1902 . Unsigned32 : "<STR_LIT>" , <EOL> univ . Null : "<STR_LIT:null>" , <EOL> rfc1155 . Opaque : "<STR_LIT>" , <EOL> rfc1902 . Opaque : "<STR_LIT>" , <EOL> rfc1155 . Counter : "<STR_LIT>" , <EOL> rfc1902 . Counter32 : "<STR_LIT>" , <EOL> rfc1902 . Counter64 : "<STR_LIT>" , <EOL> } <EOL> NAME_TO_PY_MAP = { <EOL> "<STR_LIT>" : str , <EOL> "<STR_LIT>" : str , <EOL> "<STR_LIT>" : str , <EOL> "<STR_LIT>" : str , <EOL> "<STR_LIT>" : str , <EOL> "<STR_LIT>" : float , <EOL> "<STR_LIT>" : long , <EOL> "<STR_LIT>" : long , <EOL> "<STR_LIT>" : long , <EOL> "<STR_LIT>" : long , <EOL> "<STR_LIT>" : bool , <EOL> "<STR_LIT:null>" : lambda x : None , <EOL> } </s>
