LUM-TC DEFINITIONS ::= BEGIN
IMPORTS
    MODULE-IDENTITY, Unsigned32
        FROM SNMPv2-SMI
    TEXTUAL-CONVENTION
        FROM SNMPv2-TC
    lumModules
        FROM LUM-REG;

lumTcModule MODULE-IDENTITY 
    LAST-UPDATED 
        "200507070000Z" -- July 7th 2005
    ORGANIZATION 
        "Transmode Systems AB"
    CONTACT-INFO
        "support@transmode.se"
    DESCRIPTION
        "Common textual conventions.

        Version: $Id: LUM-TC.txt 9993 2009-10-08 11:06:10Z l8 $"
    REVISION        
        "200203050000Z" -- March 5th 2002
    DESCRIPTION
        "The initial revision of this module."
    REVISION        
        "200103120000Z" -- March 12th 2001
    DESCRIPTION
        "Changed naming convention from 'lumemtis' to 'lum'."
    REVISION        
        "200108090000Z" -- August 9th 2001
    DESCRIPTION
        "Added conventions for subrack, slot and port number."
    REVISION        
        "200108140000Z" -- August 14th 2001
    DESCRIPTION
        "Extended the range for subracks to 16."
    REVISION        
        "200109040000Z" -- September 4th 2001
    DESCRIPTION
        "Extended the range for subracks (again) to 32.
        Re-wrote the comment for fault status.
        Added 0 as undefined subrack, slot and port numbers."
    REVISION        
        "200110110000Z" -- October 11th 2001
    DESCRIPTION
        "Changed 'unknown' to 'undefined' to follow the same
        convention as in the other MIBs. 
        Added 0 to portNumber as the undefined value."
    REVISION        
        "200110230000Z" -- October 23d 2001
    DESCRIPTION
        "Added lambdaType, lambdaFrequency, signalType and PortType."
    REVISION        
        "200112030000Z" -- December 3rd 2001
    DESCRIPTION
        "Added common admin and operStatus definitions.
        Removed the 'undefined' value."
    REVISION        
        "200203050000Z" -- March 5th 2002
    DESCRIPTION
        "Removed the 'auto' and associated admin- and operStatus values."
    REVISION        
        "200204100000Z" -- April 10th 2002
    DESCRIPTION
        "Change lambdaFreq to an enumerated type."
    REVISION        
        "200507070000Z" -- July 7th 2005
    DESCRIPTION
        "Added additional wavelengths used in the TS-family"
    ::= { lumModules 2 }


-- ----------------------------------------------------
-- Definition of textual conventions
-- ----------------------------------------------------

MgmtNameString ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION 
        "An octet string containing administrative
        information, in human-readable form.

        More or less the same as SnmpAdminString 
        defined in SNMP-FRAMEWORK-MIB."
    SYNTAX       OCTET STRING (SIZE (0..255))

FaultStatus ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
        "A value indicating the current state
        of a potential fault condition leading to
        an alarm for an object.

        ok - indicates that no fault condition is present 
        and no alarm is active or the alarm has been cleared.

        alarm - indicates that a fault condition is present
        and an alarm is active.

        Note: The list of FaultStatus objects forms the list of all 
        potential alarms for the system."
    SYNTAX       INTEGER { 
                     ok(1), 
                     alarm(2) }

SubrackNumber ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "The number of a subrack within a network element.
        
        0 signifies an undefined subrack number."
    SYNTAX Unsigned32 (0..15)

SlotNumber ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "The number of a slot within a subrack.
        
        0 signifies an undefined slot number."
    SYNTAX Unsigned32 (0..22)


PortNumber ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "The number of a port on a board.
        If an interface has two numbers, the lowest number is used.

        0 signifies an undefined port number."
    SYNTAX Unsigned32 (0..116)

SignalType ::= TEXTUAL-CONVENTION       
    STATUS current  
    DESCRIPTION
        "tbd description "
    SYNTAX INTEGER {
        uni (1),
        biDi (2) }

PortType ::= TEXTUAL-CONVENTION 
    STATUS current  
    DESCRIPTION
        "tbd description
        tbd rxTx?"
    SYNTAX INTEGER {
        rx (1),
        tx (2),
        biDi (3) }

LambdaType ::= TEXTUAL-CONVENTION       
    STATUS current  
    DESCRIPTION
        "Indicates the type of wavelength a port can 
        accomodate.

        fixed - The port received or transmits a fixed 
        frequency.
        
        range - The port can handle a range of 
        frequencies.
        
        transparent - There are no frequency 
        properties associated with the port."
    SYNTAX INTEGER {
        fixed (1),
        range (2) ,
        transparent (3),
        interleavedOdd (4),  -- interleaved odd
        interleavedEven (5),
        interleaved50GHzOdd (6),  -- interleaved odd
        interleaved50GhzEven (7) }

LambdaFrequency ::= TEXTUAL-CONVENTION  
    STATUS current  
    DESCRIPTION
        "The frequency of the 'wavelength' given in hundreds 
        of GHz (0.01 GHz)."
    SYNTAX INTEGER {
        undefined (0),
        b1300 (130),
        b1500 (150),
        w850  (850),
        w1270 (1270),
        w1290 (1290),
        w1310 (1310),
        w1330 (1330),
        w1350 (1350),
        w1370 (1370),
        w1390 (1390),
        w1410 (1410),
        w1430 (1430),
        w1450 (1450),
        w1470 (1470),
        w1490 (1490),
        w1510 (1510),
        w1530 (1530),
        w1550 (1550),
        w1570 (1570),
        w1590 (1590),
        w1610 (1610),
        ch871 (18710),
        ch873 (18730),
        ch875 (18750),
        ch877 (18770),
        ch879 (18790),
        ch881 (18810),
        ch883 (18830),
        ch885 (18850),
        ch887 (18870),
        ch889 (18890),
        ch891 (18910),
        ch893 (18930),
        ch895 (18950),
        ch897 (18970),
        ch899 (18990),
        ch901 (19010),
        ch903 (19030),
        ch905 (19050),
        ch907 (19070),
        ch909 (19090),
	ch9185 (19185),
	ch919 (19190),
	ch9195 (19195),
	ch920 (19200),
	ch9205 (19205),
        ch921 (19210),
        ch9215 (19215),
        ch922 (19220),
        ch9225 (19225),
        ch923 (19230),
        ch9235 (19235),
        ch924 (19240),
        ch9245 (19245),
        ch925 (19250),
        ch9255 (19255),
        ch926 (19260),
        ch9265 (19265),
        ch927 (19270),
        ch9275 (19275),
        ch928 (19280),
        ch9285 (19285),
        ch929 (19290),
        ch9295 (19295),
        ch930 (19300),
        ch9305 (19305),
        ch931 (19310),
        ch9315 (19315),
        ch932 (19320),
        ch9325 (19325),
        ch933 (19330),
        ch9335 (19335),
        ch934 (19340),
        ch9345 (19345),
        ch935 (19350),
        ch9355 (19355),
        ch936 (19360),
        ch9365 (19365),
        ch937 (19370),
        ch9375 (19375),
        ch938 (19380),
        ch9385 (19385),
        ch939 (19390),
        ch9395 (19395),
        ch940 (19400),
        ch9405 (19405),
        ch941 (19410),
        ch9415 (19415),
        ch942 (19420),
        ch9425 (19425),
        ch943 (19430),
        ch9435 (19435),
        ch944 (19440),
        ch9445 (19445),
        ch945 (19450),
        ch9455 (19455),
        ch946 (19460),
        ch9465 (19465),
        ch947 (19470),
        ch9475 (19475),
        ch948 (19480),
        ch9485 (19485),
        ch949 (19490),
        ch9495 (19495),
        ch950 (19500),
        ch9505 (19505),
        ch951 (19510),
        ch9515 (19515),
        ch952 (19520),
        ch9525 (19525),
        ch953 (19530),
	ch9535 (19535),
        ch954 (19540),
	ch9545 (19545),
        ch955 (19550),
	ch9555 (19555),
        ch956 (19560),
	ch9565 (19565),
        ch957 (19570),
	ch9575 (19575),
        ch958 (19580),
        ch959 (19590),
        ch960 (19600),
        ch961 (19610) }

BoardOrInterfaceAdminStatus ::= TEXTUAL-CONVENTION      
    STATUS current  
    DESCRIPTION
        "The administrative state for a board or 
        interface.

        down - The board/interface should be inactive.
        
        service - The board/interface is activated but 
        alarms are suppressed. Intended for use during 
        service or re-configuration. When service is
        concluded adminStatus should be set to 'up' 
        again.

        up - The board/interface should be activated when 
        it becomes available. Alarms are not suppressed."
    SYNTAX INTEGER {
        down (1),
        service (2),
        up (3) }

BoardOrInterfaceOperStatus ::= TEXTUAL-CONVENTION       
    STATUS current  
    DESCRIPTION
        "The operational state for a board or interface.

        notPresent - The board/interface is not available.

        down - The board/interface is de-activated or 
        there are faults preventing it from going to the 
        'up'-state.

        up - The board/interface is active."
    SYNTAX INTEGER {
        notPresent (1),
        down (2),
        up (3) }

CommandString ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION 
        "tbd"
    SYNTAX OCTET STRING

SignalFormat ::= TEXTUAL-CONVENTION 
    STATUS current  
    DESCRIPTION
        "Signal format for an interfaces.
        
        other - Unspecified format (see bitrate configuration
        for speed)

        stm1 - STM-1 SDH signal
        
        stm4 - STM-4 SDH signal
 
        stm16 - STM-16 SDH signal
        
        stm64 - STM-64 SDH signal
        
        oc3 - OC3 Sonet signal
        
        oc12 - OC12 Sonet signal
 
        oc48 - OC48 Sonet signal
        
        oc192 - OC192 Sonet signal
        
        gbE - Gigabit Ethernet signal

        fc1Gb - 1.0625 Gbps signal

        fc2Gb - 2.1250 Gbps signal

        wan10GbE - 10 Gigabit Ethernet WAN signal

        unused - The port is not used at the moment

        lan10GbE - 10 Gigabit Ethernet LAN signal

        escon - ESCON

        esconLL - ESCON Low Latency

        dvb270 - Digital video broadcast (270 Mbps)

        hdtv1485 - HDTV 1485 Mbps

        ethernet - Ethernet 10 Mbps

        fastEthernet - Fast Ethernet 100 Mbps

	fc4Gb - 4.2500 Gbps signal

	etr - 16 Mbps

        auto - automatic protocol detection

        down - for actual value when no traffic

        gbEorTrm5500 - Gigabit Ethernet or Trm5500 signal

	fc8Gb - 8.500 Gbps signal

        otu2 - OTU-2 OTN signal 10.7 Gb/s

        otu2e - OTU-2e OTN signal 11.1 Gb/s"

    SYNTAX INTEGER {
        other (1),
        stm1 (2),
        stm4 (3),
        stm16 (4),
        gbE (5),
        stm64 (6),
        fc1Gb (7),
        fc2Gb (8),
        wan10GbE (9),
        unused (10),
        lan10GbE (11),
        escon (12),
        esconLL (13),
        dvb270 (14),
        oc3 (15),
        oc12 (16),
        oc48 (17),
        oc192 (18),
        hdtv1485 (19),
        ethernet (20),
        fastEthernet (21),
        lan10GbEFec (22),
        wan10GbEStm64Fec (23),
	fc4Gb (24),
	etr (25),
	auto (26),
	down (27),
        stm1Oc3 (28),
        stm4Oc12 (29),
        stm16Oc48 (30),
        stm64Oc192 (31),
        gbe9Line (32),
	ddgbeLine (34),
	gbEorTrm5500 (35),
	fc8Gb (36),
        otu2 (37),
        otu2e (38)
	 }

TrxMedia ::= TEXTUAL-CONVENTION 
    STATUS current  
    DESCRIPTION
        "Defines the media and capabillity of the TRX

        optical         - Optical media

        tp1000BaseT - Twisted-pair capable of 1000BaseT

        tp100BaseT  -  Twisted-pair capable of 100BaseT

        tp10BaseT   -  Twisted-pair capable of 10BaseT

        electrical   -  Electrical media

        "
    SYNTAX INTEGER {
           undefined (0),
           optical(1),
           tp1000BaseT(2),
           tp100BaseT(3),
           tp10BaseT(4),
	   electrical(5) }

OtnMonitorType ::= TEXTUAL-CONVENTION 
    STATUS current  
    DESCRIPTION
        "MonitorType for an OTN object.

        sm - section monitor

        pm - path monitor

        tcm - tandem connection monitor"

    SYNTAX INTEGER {
        sm (0),
        pm (1),
        tcm (2)
	 }

OtnMonitorConfig ::= TEXTUAL-CONVENTION 
    STATUS current
    DESCRIPTION
        "Monitor Configuration for an OTN object.

        terminated - section is terminated in port

        transparent - monitor passes the port transparent"

    SYNTAX INTEGER {
        terminated (0),
        transparent (1)
	 }

OtnTIMDetMode ::= TEXTUAL-CONVENTION 
    STATUS current
    DESCRIPTION
        "TTI Mismatch detection mode.

        sapi - TTI MM is detected based on SAPI

        dapi - TTI MM is detected based on DAPI

	both - TTI MM is detected based on SAPI and DAPI"

    SYNTAX INTEGER {
        sapi (0),
        dapi (1),
	both (2)
	 }

ObjectProperty ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "A bitmask of length 32 encoding certain properties
         of an object."
    SYNTAX Unsigned32 (0..4294967295)

MacAddress ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION 
        "MAC address in string representation"
    SYNTAX OCTET STRING


END
