GHIPSYSTEMS-MCONV7004-MIB DEFINITIONS ::= BEGIN

 -- This is the private mib group section for the
 -- ghip systems modular converter 7004 by ghip systems.

 -- This mib section will be completed when necessary.

-- Ver.1.23  Feb 26.th, 2007 Astrid Hanssen

        IMPORTS
                enterprises, Counter, IpAddress, Gauge, TimeTicks
                        FROM RFC1155-SMI
                DisplayString
                        FROM RFC1213-MIB
                OBJECT-TYPE
                        FROM RFC-1212;


 -- ********************* THE MAIN STRUCTURE ********************


ghipsystems              OBJECT IDENTIFIER ::= { enterprises 14736 }

products                 OBJECT IDENTIFIER ::= { ghipsystems 1 }

moddevices               OBJECT IDENTIFIER ::= { products 7 }

mConv7004              OBJECT IDENTIFIER ::=   { moddevices 1 }


 -- ********************* THE SUB SECTIONS ********************

 
mconvDeviceGroup          OBJECT IDENTIFIER ::= { mConv7004 1 }

mconvChannelGroup           OBJECT IDENTIFIER ::= { mConv7004 2 }

-- mconvChConfigGroup           OBJECT IDENTIFIER ::= { mconvChannelGroup 1 }

-- mconvChConfigTable           OBJECT IDENTIFIER ::= { mconvChannelGroup 2 }

-- mconvChPortStatusTable       OBJECT IDENTIFIER ::= { mconvChannelGroup 3 }

-- mconvChSfpDDiagTable         OBJECT IDENTIFIER ::= { mconvChannelGroup 4 }

-- mconvChBertTable             OBJECT IDENTIFIER ::= { mconvChannelGroup 5 }



mconvEthGroup           OBJECT IDENTIFIER ::= { mConv7004 3 }

-- mconvEthTable                OBJECT IDENTIFIER ::= { mconvEthGroup 2 }


mconvUnitGroup        OBJECT IDENTIFIER ::= { mConv7004 5 }

--  mconvUnitStatusGroup        OBJECT IDENTIFIER ::= { mconvUnitGroup 2 }

--  mconvTftpUpdateGroup        OBJECT IDENTIFIER ::= { mconvUnitGroup 10 }




 -- * * * * * * * * *  Basic Device Info and Config  * * * * * * * * * *

 -- mconvDeviceGroup          OBJECT IDENTIFIER ::= { mConv7004 1 }


mconvDeviceName OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The name of this device."
        ::= { mconvDeviceGroup 1 }

mconvDeviceSoftwareRevision OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The software revision of this device."
        ::= { mconvDeviceGroup 2 }

mconvDeviceSoftwareDate OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The revision date of this device's software."
        ::= { mconvDeviceGroup 3 }

mconvDeviceSerialNumber OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The serial number of this device."
        ::= { mconvDeviceGroup 4 }

mconvDeviceIndividualName OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The user defined name of this individual device, same as sysName."
        ::= { mconvDeviceGroup 5 }

mconvDeviceLocation OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The location of this device, same as sysLocation."
        ::= { mconvDeviceGroup 6 }

mconvDeviceContact OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The contact person that is responsible for this device, same 
		as sysContact."
        ::= { mconvDeviceGroup 7 }



 -- * * * * * * * * *  Channel Info Group  * * * * * * * * * *

 -- mconvChannelGroup           OBJECT IDENTIFIER ::= { mConv7004 2 }

mconvChConfigGroup           OBJECT IDENTIFIER ::= { mconvChannelGroup 1 }


mconvNumChannels OBJECT-TYPE
        SYNTAX  INTEGER
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The number of installed converter channels on this device."
        ::= { mconvChConfigGroup 1 }


 -- * * * * * * * * *  Channel Config Table  * * * * * * * * * *

 -- mconvChConfigTable        OBJECT IDENTIFIER ::= { mconvChannelGroup 2 }


mconvChConfigTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF MconvChConfigEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "Table which contains configuration information about the 
		converter channel port pairs."
        ::= { mconvChannelGroup 2 }

mconvChConfigEntry OBJECT-TYPE
        SYNTAX  MconvChConfigEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "The index of this converter channel table."
        INDEX   { chConfigIndex }
        ::= { mconvChConfigTable 1 }

MconvChConfigEntry ::= SEQUENCE {
        chConfigIndex
                INTEGER,
        chDescription
                DisplayString,
        chRecoveryMode
                INTEGER,
        chDataMode
                INTEGER
        }

chConfigIndex OBJECT-TYPE
        SYNTAX  INTEGER
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The index of this converter channel port pair."
        ::= { mconvChConfigEntry 1 }

chDescription OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "A verbal description of this converter channel port pair."
        ::= {mconvChConfigEntry 2 }

chRecoveryMode OBJECT-TYPE
        SYNTAX  INTEGER {
                transparent                 (0),
                fddi-eth100mb-125mbps       (1),
                stm1-sts3-155mbps           (2),
		escon-200mbps               (3),
                stm4-sts12-622mbps          (4),
		fibrechannel1g-1062mbps     (5),
                eth1000mb-1250mbps          (6),
                fibrechannel2g-2125mbps     (7),
                stm16-sts48-2488mbps        (8),
                stm16-sts48fec-2666mbps     (9),
		sdi-270mbps                (10),
		digitalvideo-540mbps       (11),
		hdtv-1485mbps              (12)
        }
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "The actual recovery mode of this converter channel port pair.
		While transparent(0) mode faciliates no re-clocking or
		re-shaping, all other options include full 3R features
		(re-clocking, re-shaping, re-amplification).
		While it is recommended to use the appropriate speed
		selection when avaliable, transparent mode can be used
		for other data rates that are not explicitly supported."
        ::= { mconvChConfigEntry 3 }

chDataMode OBJECT-TYPE
        SYNTAX  INTEGER {
                payload          (0),
                loop-on-in       (1),
                loop-on-out      (2),
		loop-on-in-out   (3),
                bert-on-in       (4),
		bert-on-out      (5)
        }
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "The actual data mode of this converter channel port pair.
		Use always payload(0) for normal use.
		The loop and bert modes are offered for installation and 
		testing purposes."
        ::= { mconvChConfigEntry 4 }


 
 -- * * * * * * * * *  Channel Port Status Table  * * * * * * * * * *


 -- mconvChStatusTable        OBJECT IDENTIFIER ::= { mconvChannelGroup 3 }


mconvChPortStatusTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF MconvChPortStatusEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "Table which contains information about all ethernet and SFP
		status signals."
        ::= { mconvChannelGroup 3 }

mconvChPortStatusEntry OBJECT-TYPE
        SYNTAX  MconvChPortStatusEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "The index of the table."
        INDEX   { portChannel, portPort}
        ::= { mconvChPortStatusTable 1 }

MconvChPortStatusEntry ::= SEQUENCE {
        portChannel
                INTEGER,
        portPort
                INTEGER,
        portSfpDetectStatus
                INTEGER,
        portSfpTransmitterStatus
                INTEGER,
        portSfpLinkStatus
                INTEGER,
        portActivityStatus
                INTEGER,
        portRSyncStatus
                INTEGER,

	portTrapsEnable
                INTEGER
        }

portChannel OBJECT-TYPE
        SYNTAX  INTEGER
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The index of the channel this port belongs to."
        ::= { mconvChPortStatusEntry  1 }

portPort OBJECT-TYPE
        SYNTAX  INTEGER {
                in-port   (1),
                out-port  (2)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The index of this port in the channel."
        ::= { mconvChPortStatusEntry  2 }

portSfpDetectStatus OBJECT-TYPE
        SYNTAX  INTEGER {
                detected   (1),
                none       (2)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates whether there is currently a SFP module
		detected in this port's SFP slot."
        ::= { mconvChPortStatusEntry 3 }

portSfpTransmitterStatus OBJECT-TYPE
        SYNTAX  INTEGER {
                n-a        (0),
                ok         (1),
                failed     (2)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates whether the transmitter of the detected
		SFP module in this port's SFP slot is ok or failed.
		If there is no SFP detected, the information is not appropriate."
        ::= { mconvChPortStatusEntry 4 }

portSfpLinkStatus OBJECT-TYPE
        SYNTAX  INTEGER {
                n-a     (0),
                up      (1),
                down    (2)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the current link status of this port.
		If there is no SFP detected, the information is not appropriate."
        ::= { mconvChPortStatusEntry 5 }

portActivityStatus OBJECT-TYPE
        SYNTAX  INTEGER {
                n-a     (0),
                up      (1),
                down    (2)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the current activity status of this port.
		If there is no SFP detected, the information is not appropriate."
        ::= { mconvChPortStatusEntry 6 }

portRSyncStatus OBJECT-TYPE
        SYNTAX  INTEGER {
                n-a     (0),
                up      (1),
                down    (2)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the current clock recovery sync status of 
		this port.
		If there is no SFP detected, the information is not appropriate."
        ::= { mconvChPortStatusEntry 7 }



portTrapsEnable OBJECT-TYPE
        SYNTAX  INTEGER {
                enabled    (1),
                disabled   (2)
        }
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "This enables or disables traps for this port. If Trap is enabled each
                 status change on this port may cause a trap."
        ::= { mconvChPortStatusEntry 10 }





 -- * * * * * * * * *  SFP Digital Diagnostics Table  * * * * * * * * * *

-- mconvSfpDDiagTable         OBJECT IDENTIFIER ::= { mconvChannelGroup 4 }


mconvSfpDDiagTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF MconvSfpDDiagEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "Table which contains information and diagnostics
		about the sfp modules."
        ::= { mconvChannelGroup 4 }

mconvSfpDDiagEntry OBJECT-TYPE
        SYNTAX  MconvSfpDDiagEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "The index of the table."
        INDEX   { sfpChannel, sfpPort }
        ::= { mconvSfpDDiagTable 1 }

MconvSfpDDiagEntry ::= SEQUENCE {
        sfpChannel
                INTEGER,
        sfpPort
                INTEGER,
        sfpVendorName
                DisplayString,
        sfpProductId
                DisplayString,
        sfpSerialNo
                DisplayString,
        sfpDatecode
                DisplayString,
        sfpConnType
                INTEGER,
        sfpEncoding
                INTEGER,
        sfpWavelength
                INTEGER,
        sfpBitrateMin
                INTEGER,
        sfpBitrateMax
                INTEGER,
        sfpCableLengthSM
                INTEGER,
        sfpCableLengthMM50u
                INTEGER,
        sfpCableLengthMM62u
                INTEGER,
        sfpCableLengthCopper
                INTEGER,
        sfpCalibrationType
                INTEGER,
        sfpTemperature01C
                INTEGER,
        sfpTemperatureStatus
                INTEGER,
        sfpSupplyVcc01V
                INTEGER,
        sfpSupplyVccStatus
                INTEGER,
        sfpTxBias01mA
                INTEGER,
        sfpTxBiasStatus
                INTEGER,
        sfpTxPower01dBm
                INTEGER,
        sfpTxPowerStatus
                INTEGER,
        sfpRxPower01dBm
                INTEGER,
        sfpRxPowerStatus
                INTEGER,
        sfpTrapsEnable
                INTEGER
        }

sfpChannel OBJECT-TYPE
        SYNTAX  INTEGER {
		mgmt(0)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The channel index of this sfp module."
        ::= { mconvSfpDDiagEntry 1 }

sfpPort OBJECT-TYPE
        SYNTAX  INTEGER {
		eth(0),
                in-port     (1),
		out-port    (2)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The port index of this sfp  module."
        ::= { mconvSfpDDiagEntry 2 }

sfpVendorName OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The vendor name of the SFP module."
        ::= {mconvSfpDDiagEntry 3 }

sfpProductId OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The product id of the SFP module."
        ::= {mconvSfpDDiagEntry 4 }

sfpSerialNo OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The serial number of the SFP module."
        ::= {mconvSfpDDiagEntry 5 }

sfpDatecode OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The date code of the SFP module."
        ::= {mconvSfpDDiagEntry 6 }

sfpConnType OBJECT-TYPE
        SYNTAX  INTEGER {
		unspecified       (0),
                sc                (1),
		fibrechannel-1    (2),
		fibrechannel-2    (3),
		bnc-tnc           (4),
		fibrechannel-coax (5),
		fiber-jack        (6),
		lc                (7),
		mt-rj             (8),
		mu                (9),
		sg               (10),
		optical-pictail  (11),
		hssdc2           (32),
		copper-pigtail   (33)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The connector type this SFP module has."
        ::= { mconvSfpDDiagEntry 7 }

sfpEncoding OBJECT-TYPE
        SYNTAX  INTEGER {
                unspecified     (0),
		enc-8b10b       (1),
		enc-4b5b        (2),
		nrz             (3),
		manchester      (4),
		sonet-scrambled (5)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The encoding the SFP module uses."
        ::= { mconvSfpDDiagEntry 8 }


sfpWavelength OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The wavelength in nm the SFP module is specified for."
        ::= { mconvSfpDDiagEntry 9 }

sfpBitrateMin OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The lower bitrate limit at which the SFP module will still meet
		its specifications."
        ::= { mconvSfpDDiagEntry 10 }

sfpBitrateMax OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The upper bitrate limit at which the SFP module will still meet
		its specifications."
        ::= { mconvSfpDDiagEntry 11 }

sfpCableLengthSM OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The supported distance if cable is fiber optics single-mode."
        ::= { mconvSfpDDiagEntry 12 }

sfpCableLengthMM50u OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The supported distance if cable is fiber optics multi-mode 50um."
        ::= { mconvSfpDDiagEntry 13 }

sfpCableLengthMM62u OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The supported distance if cable is fiber optics multi-mode 62.5um."
        ::= { mconvSfpDDiagEntry 14 }

sfpCableLengthCopper OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The supported distance if cable is copper."
        ::= { mconvSfpDDiagEntry 15 }

sfpCalibrationType OBJECT-TYPE
        SYNTAX  INTEGER {
		none (0),
		internal (1),
		external (2),
		other (3)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The type of calibration the digital diagnostics works with."
        ::= { mconvSfpDDiagEntry 16 }


sfpTemperature01C OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The current transmitter temperature, in 0.1 C steps."
        ::= { mconvSfpDDiagEntry 20 }

sfpTemperatureStatus OBJECT-TYPE
        SYNTAX  INTEGER {
		loAlarm  (-2),
		loWarning (-1),
		good      (0),
		hiWarming (1),
		hiAlarm (2)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The quality status of the transmitter temperature."
        ::= { mconvSfpDDiagEntry 21 }

sfpSupplyVcc01V OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The current power supply voltage, in 0.1 V steps."
        ::= { mconvSfpDDiagEntry 22 }

sfpSupplyVccStatus OBJECT-TYPE
        SYNTAX  INTEGER {
		loAlarm  (-2),
		loWarning (-1),
		good      (0),
		hiWarming (1),
		hiAlarm (2)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The quality status of the power supply voltage."
        ::= { mconvSfpDDiagEntry 23 }

sfpTxBias01mA OBJECT-TYPE
        SYNTAX  INTEGER 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The current transceiver bias, in 0.1 mA steps."
        ::= { mconvSfpDDiagEntry 24 }

sfpTxBiasStatus OBJECT-TYPE
        SYNTAX  INTEGER {
		loAlarm  (-2),
		loWarning (-1),
		good      (0),
		hiWarming (1),
		hiAlarm (2)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The quality status of the transmitter bias."
        ::= { mconvSfpDDiagEntry 25 }

sfpTxPower01dBm OBJECT-TYPE
        SYNTAX  INTEGER {
		neg-inf(-1000)
	} 
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The current transmit attentuation, in 0.1 dBm steps."
        ::= { mconvSfpDDiagEntry 26 }

sfpTxPowerStatus OBJECT-TYPE
        SYNTAX  INTEGER {
		loAlarm  (-2),
		loWarning (-1),
		good      (0),
		hiWarming (1),
		hiAlarm (2)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The quality status of the transmit power."
        ::= { mconvSfpDDiagEntry 27 }

sfpRxPower01dBm OBJECT-TYPE
        SYNTAX  INTEGER {
		neg-inf(-1000)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The current receive power, in 0.1 dBm steps."
        ::= { mconvSfpDDiagEntry 28 }

sfpRxPowerStatus OBJECT-TYPE
        SYNTAX  INTEGER {
		loAlarm  (-2),
		loWarning (-1),
		good      (0),
		hiWarming (1),
		hiAlarm (2)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The quality status of the Receive Power."
        ::= { mconvSfpDDiagEntry 29 }

sfpTrapsEnable OBJECT-TYPE
        SYNTAX  INTEGER {
                enabled    (1),
                disabled   (2)
        }
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "Here you can enable traps that will be sent when a quality change
		in one of the digital diagnostic parameter occurs."
        ::= { mconvSfpDDiagEntry 36 }




 -- * * * * * * * * *  BERT Information Table  * * * * * * * * * *

-- mconvChBertTable             OBJECT IDENTIFIER ::= { mconvChannelGroup 5 }

mconvChBertTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF MconvChBertEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "Table which contains information about all performable
                 bit error rate tests."
        ::= { mconvChannelGroup 5 }

mconvChBertEntry OBJECT-TYPE
        SYNTAX  MconvChBertEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "The index of the table."
        INDEX   { bertChannel }
        ::= { mconvChBertTable 1 }

MconvChBertEntry ::= SEQUENCE {
        bertChannel
                INTEGER,
        bertType
                INTEGER,
        bertBERTest
                INTEGER,
        bertRunTime
                TimeTicks,
        bertErrorFreeTime
                Counter,
        bertInErrorTime
                Counter,
        bertOutOfSyncTime
                Counter,
        bertErrors
                Counter,
        bertSyncLosts
                Counter,
        bertSyncStatus
                INTEGER,
        bertBitErrorRate
                DisplayString
        }

bertChannel OBJECT-TYPE
        SYNTAX  INTEGER
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The channel where this BER test statistics belong to."
        ::= { mconvChBertEntry 1 }

bertType OBJECT-TYPE
        SYNTAX  INTEGER {
                not-active  (0),
                in-port     (1),
		out-port    (2)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The type of BER test that is being performed.
		If there is no BER test active on this channel, this is
		shown by the value 'not-active'."
        ::= { mconvChBertEntry 2 }

bertBERTest OBJECT-TYPE
        SYNTAX  INTEGER {
                startstop        (1),
                reset            (2),
		injecterror      (3)
        }
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "This entry controls the execution of a BER test."
        ::= { mconvChBertEntry 3 }

bertRunTime OBJECT-TYPE
        SYNTAX  TimeTicks
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the duration of the BER test in seconds."
        ::= { mconvChBertEntry 4 }

bertErrorFreeTime OBJECT-TYPE
        SYNTAX  Counter
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry shows the duration of error-free test
                 transmission in seconds."
        ::= { mconvChBertEntry 5 }

bertInErrorTime OBJECT-TYPE
        SYNTAX  Counter
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry shows the duration of erroneous test transmission
                 in seconds."
        ::= { mconvChBertEntry 6 }

bertOutOfSyncTime OBJECT-TYPE
        SYNTAX  Counter
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry shows the duration of out-of-sync time in seconds."
        ::= { mconvChBertEntry 7 }

bertErrors OBJECT-TYPE
        SYNTAX  Counter
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the number of errors detected during
                 the test."
        ::= { mconvChBertEntry 8 }

bertSyncLosts OBJECT-TYPE
        SYNTAX  Counter
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the number of pattern sync losts
                 detected during the test."
        ::= { mconvChBertEntry 9 }

bertSyncStatus OBJECT-TYPE
        SYNTAX  INTEGER {
                other   (1),
                in-sync (2),
                no-sync (3)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the current pattern sync status."
        ::= { mconvChBertEntry 10 }

bertBitErrorRate OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the bit error rate. It is provided as
                 a string in the format 'd.ddE+/-dd'. Float scanf routines
                 are capable of interpreting the string in the correct
                 manner."
        ::= { mconvChBertEntry 11 }



 -- * * * * * * * * *  Ethernet Port Table  * * * * * * * * * *


-- mconvEthGroup           OBJECT IDENTIFIER ::= { mConv7004 3 }

mconvEthTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF MconvEthEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "Table which contains information about the configured Ethernet ports."
        ::= { mconvEthGroup 2 }

mconvEthEntry OBJECT-TYPE
        SYNTAX  MconvEthEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
                "The index of the table."
        INDEX   { ethPort }
        ::= { mconvEthTable 1 }

MconvEthEntry ::= SEQUENCE {
        ethPort
                INTEGER,
        ethSpeedmode
                INTEGER,
        ethSfpDetect
                INTEGER,
        ethLinkStatus
                INTEGER,
        ethTrapsEnable
                INTEGER
        }

ethPort OBJECT-TYPE
        SYNTAX  INTEGER {
                sfp   (0),
                eth1  (1),
                eth2  (2)
	}
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The Ethernet Port this table entry belongs to."
        ::= { mconvEthEntry 1 }

ethSpeedmode OBJECT-TYPE
        SYNTAX  INTEGER {
                auto             (0),
                halfd-10mb       (1),
		fulld-10mb       (2),
                halfd-100mb      (3),
		fulld-100mb      (4)
        }
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "The actual speed mode of the Ethernet port."
        ::= { mconvEthEntry 2 }


ethSfpDetect OBJECT-TYPE
        SYNTAX  INTEGER {
                detected   (1),
                none       (2),
		n-a        (0)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the current sfp detection of the Ethernet port."
        ::= { mconvEthEntry 3 }

ethLinkStatus OBJECT-TYPE
        SYNTAX  INTEGER {
                down    (0),
                up      (1)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This entry indicates the current link status of the Ethernet port."
        ::= { mconvEthEntry 4 }

ethTrapsEnable OBJECT-TYPE
        SYNTAX  INTEGER {
                enabled    (1),
                disabled   (2)
        }
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "Here you can enable traps that will be sent when a change
		in one of the Ethernet status objects occurs."
        ::= { mconvEthEntry 8 }





 -- * * * * * * * * *  Unit Basic Information  * * * * * * * * * *

 -- mconvUnitGroup        OBJECT IDENTIFIER ::= { mConv7004 5 }



 -- * * * * * * * * *  Unit Status Information  * * * * * * * * * *

mconvUnitStatusGroup        OBJECT IDENTIFIER ::= { mconvUnitGroup 2 }

 
unitPowerSupply1Status OBJECT-TYPE
        SYNTAX  INTEGER{
                down (0),
                up   (1)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The status of power supply 1."
        ::= { mconvUnitStatusGroup 1 }
 
unitPowerSupply2Status OBJECT-TYPE
        SYNTAX  INTEGER{
                down (0),
                up   (1)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The status of power supply 2."
        ::= { mconvUnitStatusGroup 2 }




-- * * * * * * * * *  TFTP Update Info  * * * * * * * * * *

 mconvTftpUpdateGroup        OBJECT IDENTIFIER ::= { mconvUnitGroup 10 }

tftpUpdateSupported OBJECT-TYPE
        SYNTAX  INTEGER{
                disabled (0),
                enabled (1)
        }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "This variable shows whether the device can be updated via
	         TFTP.
		 If its value is 'disabled', there is no possibility to
		 use the tftp update feature without a hardware update."
        ::= { mconvTftpUpdateGroup 1 }


tftpSvrAddress OBJECT-TYPE
        SYNTAX  IpAddress
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "The IP address of the TFTP server from which a software update
		image can be fetched."
        ::= { mconvTftpUpdateGroup 2 }

tftpSvrFilePath OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "The local update image path on the TFTP server, containing path 
		name and image file name."
        ::= { mconvTftpUpdateGroup 3 }

tftpVlanEnable OBJECT-TYPE
        SYNTAX  INTEGER {
		enabled(1),
		disabled(0)
	}
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "Enable forcing VLAN 802.1Q tagging for software update over TFTP.
		When enabled, tftpVlanID and tftpVlanPrio are being used."
        ::= { mconvTftpUpdateGroup 4 }

tftpVlanID OBJECT-TYPE
        SYNTAX  INTEGER (0..4095)
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "The VLAN ID used for software update over TFTP, valid values 
		are 0...4095."
        ::= { mconvTftpUpdateGroup 5 }

tftpVlanPrio OBJECT-TYPE
        SYNTAX  INTEGER (0..7)
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "The VLAN priority used for software update over TFTP, valid values 
		are 0...7."
        ::= { mconvTftpUpdateGroup 6 }


tftpStartUpdate OBJECT-TYPE
        SYNTAX  INTEGER{
                no-action (0),
                start-update (1)
        }
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
                "This variable can be used for starting an tftp update transfer.
	        When setting the value to '1', the device will try to get the
		update image from the server defined in 'tftpSvrAddress', using 
		the path defined in 'tftpSvrFilePath'. If enabled, vlan tagging
		will be used.
		For updating, the device will reboot itself, get the update image,
		save it and restarts with the new software.
		Any result will show up in tftpLastUpdateResult.
		Settinf this variable to 'no-action' has no effect."
        ::= { mconvTftpUpdateGroup 7 }

tftpLastUpdateResult OBJECT-TYPE
        SYNTAX  DisplayString
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
                "The result of the last TFTP update in textual form."
        ::= { mconvTftpUpdateGroup 8 }



 -- * * * * * * * * * * * * *   TRAPS  * * * * * * * * * * * * * * * *


portSfpModuleAdded TRAP-TYPE
        ENTERPRISE  mConv7004
        VARIABLES   { portChannel, portPort, portSfpDetectStatus }
        DESCRIPTION
                "This trap will be sent when an SFP transceiver module has been added.
                 The channel and port index as well as the changed portSfpDetectStatus object are sent 
		  along with this trap."
        REFERENCE
                "GHIPSYSTEMS-MCONV7004-MIB, portSfpModuleAdded event notification."
        ::= 1

portSfpModuleRemoved TRAP-TYPE
        ENTERPRISE  mConv7004
        VARIABLES   { portChannel, portPort, portSfpDetectStatus }
        DESCRIPTION
                "This trap will be sent when an SFP transceiver has been removed.
                 The channel and port index as well as the changed portSfpDetectStatus object are sent 
		  along with this trap."
        REFERENCE
                "GHIPSYSTEMS-MCONV7004-MIB, portSfpModuleRemoved event notification."
        ::= 2

portStatusChanged TRAP-TYPE
        ENTERPRISE  mConv7004
        VARIABLES   { portChannel, portPort }
        DESCRIPTION
                "This will be sent when a channel IN or OUT port changes it's status.
                 The channel and port index as well as the changed status object are sent 
		 along with this trap."
        REFERENCE
                "GHIPSYSTEMS-MCONV7004-MIB, portStatusChanged event notification."
        ::= 3


sfpDiagsStatusChanged TRAP-TYPE
        ENTERPRISE  mConv7004
        VARIABLES   { sfpChannel, sfpPort }
        DESCRIPTION
                "This will be sent when an SFP port changes it's warning/alarm status.
		 This can concern temperature, supplyvcc, txbias, txpower and rxpower.
                 The channel and port index as well as the changed status object are sent 
		 along with this trap."
        REFERENCE
                "GHIPSYSTEMS-MCONV7004-MIB, sfpDiagsStatusChanged event notification."
        ::= 4

ethSfpModuleAdded TRAP-TYPE
        ENTERPRISE  mConv7004
        VARIABLES   { ethPort, ethSfpDetect }
        DESCRIPTION
                "This trap will be sent when the SFP transceiver module has been added.
                 The ethernet port index as well as the changed ethSfpDetect object are sent 
		 along with this trap."
        REFERENCE
                "GHIPSYSTEMS-MCONV7004-MIB, ethSfpModuleAdded event notification."
        ::= 5

ethSfpModuleRemoved TRAP-TYPE
        ENTERPRISE  mConv7004
        VARIABLES   { ethPort, ethSfpDetect }
        DESCRIPTION
                "This trap will be sent when the SFP transceiver has been removed.
                 The ethernet port index as well as the changed ethSfpDetect object are sent 
		 along with this trap."
        REFERENCE
                "GHIPSYSTEMS-MCONV7004-MIB, ethSfpModuleRemoved event notification."
        ::= 6

ethPortStatusChanged TRAP-TYPE
        ENTERPRISE  mConv7004
        VARIABLES   { ethPort, ethLinkStatus }
        DESCRIPTION
                "This will be sent when an ethernet port changes it's status.
                 The ethernet port index as well as the changed ethLinkStatus object are sent 
		 along with this trap."
        REFERENCE
                "GHIPSYSTEMS-MCONV7004-MIB, ethPortStatusChanged event notification."
        ::= 7



unitHardwareStatus TRAP-TYPE
        ENTERPRISE  mConv7004
        VARIABLES   { unitPowerSupply1Status, unitPowerSupply2Status }
        DESCRIPTION
                "This trap will be sent when a hardware component has changed its 
		status. The hardware status variable for the respective component is 
		sent along with this trap.
		By now, only unitPowerSupply1Status and unitPowerSupply2Status
		are being sent in case of change. Further components will be e.g.
		fan status or temperature."
        REFERENCE
                "GHIPSYSTEMS-MCONV7004-MIB, unitHardwareStatus event notification."
        ::= 10


END
