/usr/share/pyshared/pysnmp_mibs/IANATn3270eTC-MIB.py is in python-pysnmp4-mibs 0.1.3-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 51 52 53 54 55 56 57 58 59 | # PySNMP SMI module. Autogenerated from smidump -f python IANATn3270eTC-MIB
# by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:07 2012,
# Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0)
# Imports
( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint")
( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2")
( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention")
# Types
class IANATn3270DeviceType(Integer):
subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,100,10,9,3,1,7,5,8,6,4,)
namedValues = NamedValues(("ibm3278d2", 1), ("ibm3287d1", 10), ("unknown", 100), ("ibm3278d2E", 2), ("ibm3278d3", 3), ("ibm3278d3E", 4), ("ibm3278d4", 5), ("ibm3278d4E", 6), ("ibm3278d5", 7), ("ibm3278d5E", 8), ("ibmDynamic", 9), )
class IANATn3270Functions(Bits):
namedValues = NamedValues(("transmitBinary", 0), ("timemark", 1), ("endOfRecord", 2), ("terminalType", 3), ("tn3270Regime", 4), ("scsCtlCodes", 5), ("dataStreamCtl", 6), ("responses", 7), ("bindImage", 8), ("sysreq", 9), )
class IANATn3270ResourceType(Integer):
subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,4,)
namedValues = NamedValues(("other", 1), ("terminal", 2), ("printer", 3), ("terminalOrPrinter", 4), )
class IANATn3270eAddrType(Integer):
subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,2,)
namedValues = NamedValues(("unknown", 0), ("ipv4", 1), ("ipv6", 2), )
class IANATn3270eAddress(OctetString):
subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255)
class IANATn3270eClientType(Integer):
subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(7,9,1,8,5,10,2,3,4,6,)
namedValues = NamedValues(("none", 1), ("x509dn", 10), ("other", 2), ("ipv4", 3), ("ipv6", 4), ("domainName", 5), ("truncDomainName", 6), ("string", 7), ("certificate", 8), ("userId", 9), )
class IANATn3270eLogData(OctetString):
subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(6,2048),)
# Objects
ianaTn3270eTcMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 61)).setRevisions(("2000-05-10 00:00","1999-09-01 10:00",))
if mibBuilder.loadTexts: ianaTn3270eTcMib.setOrganization("IANA")
if mibBuilder.loadTexts: ianaTn3270eTcMib.setContactInfo("Internet Assigned Numbers Authority\n\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\nTel: +1 310 823 9358 x20\nE-Mail: iana&iana.org")
if mibBuilder.loadTexts: ianaTn3270eTcMib.setDescription("This module defines a set of textual conventions\nfor use by the TN3270E-MIB and the TN3270E-RT-MIB.\n\nAny additions or changes to the contents of this\nMIB module must first be discussed on the tn3270e\nworking group list at: tn3270e&list.nih.gov\nand approved by one of the following TN3270E\nworking group contacts:\n\n Ed Bailey (co-chair) - elbailey&us.ibm.com\n Michael Boe (co-chair) - mboe&cisco.com\n Ken White - kennethw&vnet.ibm.com\n Robert Moore - remoore&us.ibm.com\n\nThe above list of contacts can be altered with\nthe approval of the two co-chairs.\n\nThe Textual Conventions defined within this MIB have\nno security issues associated with them unless\nexplicitly stated in their corresponding\nDESCRIPTION clause.")
# Augmentions
# Exports
# Module identity
mibBuilder.exportSymbols("IANATn3270eTC-MIB", PYSNMP_MODULE_ID=ianaTn3270eTcMib)
# Types
mibBuilder.exportSymbols("IANATn3270eTC-MIB", IANATn3270DeviceType=IANATn3270DeviceType, IANATn3270Functions=IANATn3270Functions, IANATn3270ResourceType=IANATn3270ResourceType, IANATn3270eAddrType=IANATn3270eAddrType, IANATn3270eAddress=IANATn3270eAddress, IANATn3270eClientType=IANATn3270eClientType, IANATn3270eLogData=IANATn3270eLogData)
# Objects
mibBuilder.exportSymbols("IANATn3270eTC-MIB", ianaTn3270eTcMib=ianaTn3270eTcMib)
|