/usr/share/pyshared/pysnmp_mibs/GMPLS-TC-STD-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 | # PySNMP SMI module. Autogenerated from smidump -f python GMPLS-TC-STD-MIB
# by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:01 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")
( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB")
( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks")
( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention")
# Types
class GmplsFreeformLabelTC(OctetString):
subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,64)
class GmplsLabelTypeTC(Integer):
subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,6,5,4,2,3,)
namedValues = NamedValues(("gmplsMplsLabel", 1), ("gmplsPortWavelengthLabel", 2), ("gmplsFreeformGeneralizedLabel", 3), ("gmplsSonetLabel", 4), ("gmplsSdhLabel", 5), ("gmplsWavebandLabel", 6), )
class GmplsSegmentDirectionTC(Integer):
subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,)
namedValues = NamedValues(("forward", 1), ("reverse", 2), )
# Objects
gmplsTCStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 12)).setRevisions(("2007-02-28 00:00",))
if mibBuilder.loadTexts: gmplsTCStdMIB.setOrganization("IETF Common Control and Measurement Plane (CCAMP) Working Group")
if mibBuilder.loadTexts: gmplsTCStdMIB.setContactInfo(" Thomas D. Nadeau\nCisco Systems, Inc.\nEmail: tnadeau@cisco.com\n\nAdrian Farrel\nOld Dog Consulting\nEmail: adrian@olddog.co.uk\n\nComments about this document should be emailed directly to the\nCCAMP working group mailing list at ccamp@ops.ietf.org")
if mibBuilder.loadTexts: gmplsTCStdMIB.setDescription("Copyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4801; see the RFC itself for\nfull legal notices.\n\nThis MIB module defines TEXTUAL-CONVENTIONs for concepts used in\nGeneralized Multiprotocol Label Switching (GMPLS) networks.")
# Augmentions
# Exports
# Module identity
mibBuilder.exportSymbols("GMPLS-TC-STD-MIB", PYSNMP_MODULE_ID=gmplsTCStdMIB)
# Types
mibBuilder.exportSymbols("GMPLS-TC-STD-MIB", GmplsFreeformLabelTC=GmplsFreeformLabelTC, GmplsLabelTypeTC=GmplsLabelTypeTC, GmplsSegmentDirectionTC=GmplsSegmentDirectionTC)
# Objects
mibBuilder.exportSymbols("GMPLS-TC-STD-MIB", gmplsTCStdMIB=gmplsTCStdMIB)
|