GCABLE-HE-MIB DEFINITIONS ::= BEGIN

IMPORTS
    Unsigned32, MODULE-IDENTITY, OBJECT-TYPE,OBJECT-IDENTITY
        FROM SNMPv2-SMI
    MODULE-COMPLIANCE, OBJECT-GROUP
        FROM SNMPv2-CONF
    RowPointer, DateAndTime, RowStatus, DisplayString
        FROM SNMPv2-TC
    entPhysicalIndex
         FROM ENTITY-MIB     
    HeTenthdB, HeTenthdBm, HeTenthVolt,
    HeOnOffControl, HeFaultStatus, HeTenthdBmV, HeMilliAmp
        FROM SCTE-HMS-HEADENDIDENT-MIB  -- see SCTE 38-11 (formerly HMS114)
    tvGuangdongRoot
        FROM GCABLE-ROOT;

--Registration subtree   
tvgdHfcEmsTree MODULE-IDENTITY
    LAST-UPDATED "201401150915Z" 
    ORGANIZATION "GCAble Networks"
    CONTACT-INFO "wga@gdcatv.com.cn"
    DESCRIPTION ""
-- "tvgdHfcEmsTree定义广东广电HFC网络设备管理系统基于私有企业号的MIB根节点,"
-- "所有广东广电HFC网络设备管理系统的扩展MIB均应在该节点下定义。"
::= { tvGuangdongRoot 1 }

tvgdHeadEndExtIdent   OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "头端扩展组。"       
   ::= { tvgdHfcEmsTree 11 }

tvgdheOptics   OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "光设备组。"       
   ::= { tvgdHeadEndExtIdent 1 }


-- *****************************
-- * 光发送模块扩展MIB
-- *****************************

tvgdheOpticalTransmitterGroup OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "光发送组。"
    ::= { tvgdheOptics 1 }

tvgdheOpTxInputTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheOpTxInputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "光发输入参数表。"
    ::= { tvgdheOpticalTransmitterGroup 2 }

tvgdheOpTxInputEntity OBJECT-TYPE
    SYNTAX      TvgdheOpTxInputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex, tvgdheOpTxInputIndex }
    ::= { tvgdheOpTxInputTable 1 }

TvgdheOpTxInputEntity ::= SEQUENCE
{
    tvgdheOpTxInputIndex             Unsigned32,
    tvgdheOpTxInputRFAGCOffset       HeTenthdB,
    tvgdheOpTxInputRFMGCAtt          HeTenthdB,
    tvgdheOpTxInputOptPower          HeTenthdBm

}

tvgdheOpTxInputIndex  OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        ""
    ::= { tvgdheOpTxInputEntity 1 }

tvgdheOpTxInputRFAGCOffset OBJECT-TYPE
    SYNTAX      HeTenthdB
    UNITS       "0.1 dB"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "RF AGC Offset,defined by our company"
    ::= { tvgdheOpTxInputEntity 2 }

tvgdheOpTxInputRFMGCAtt OBJECT-TYPE
    SYNTAX      HeTenthdB
    UNITS       "0.1 dB"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "RF MGC ATT Value,defined by our company"
    ::= { tvgdheOpTxInputEntity 3 }

tvgdheOpTxInputOptPower OBJECT-TYPE
    SYNTAX      HeTenthdBm
    UNITS       "0.1 dBm"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
            "inject optical power,defined by our company"
    ::= { tvgdheOpTxInputEntity 4 }





tvgdheOpTxLaserTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheOpTxLaserEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "光发激光器表。"
    ::= { tvgdheOpticalTransmitterGroup 3 }

tvgdheOpTxLaserEntity OBJECT-TYPE
    SYNTAX      TvgdheOpTxLaserEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex, tvgdheOpTxLaserIndex }
    ::= { tvgdheOpTxLaserTable 1 }

TvgdheOpTxLaserEntity ::= SEQUENCE
{
    tvgdheOpTxLaserIndex                   Unsigned32,
    tvgdheOpTxLaserOmi                     INTEGER,
    tvgdheOpTxLaserCtrlMode                INTEGER,
    tvgdheOpTxLaserOutputPowerAfterAtt     HeTenthdBm,
    tvgdheOpTxLaserOptAttCtrlMode          INTEGER,
    tvgdheOpTxLaserOptAttValue             HeTenthdB,
    tvgdheOpTxLaserOtoIPowerDef            HeTenthdB

}

tvgdheOpTxLaserIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        ""
    ::= { tvgdheOpTxLaserEntity 1 }

tvgdheOpTxLaserOmi OBJECT-TYPE
    SYNTAX      INTEGER
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "光调制度"
    ::= { tvgdheOpTxLaserEntity 2 }

tvgdheOpTxLaserCtrlMode    OBJECT-TYPE
    SYNTAX      INTEGER {
        auto(1),
        manual(2)
    }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "This variable controls the laser control mode,defined by our   
            company"
    ::= { tvgdheOpTxLaserEntity 3 }


tvgdheOpTxLaserOutputPowerAfterAtt OBJECT-TYPE
    SYNTAX      HeTenthdBm
    UNITS       "0.1 dBm"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
      "The laser output power after optical att, defined by our company.         
            This object must provide for the alarm management capabilities
            with a corresponding entry in the propertyTable of
            SCTE-HMS-PROPERTY-MIB (HMS026).

            An alarm shall be recorded as an entry in the currentAlarmTable
            of SCTE-HMS-PROPERTY-MIB (HMS026).  

            A log record shall be added as an entry in the heCommonLogTable.

            An heCommonAlarmEvent notification shall be sent."
    ::= { tvgdheOpTxLaserEntity 4 }

tvgdheOpTxLaserOptAttCtrlMode    OBJECT-TYPE
    SYNTAX      INTEGER {
        auto(1),
        manual(2)
    }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "This variable controls the optical Att ,defined by our company"
    ::= { tvgdheOpTxLaserEntity 5 }

tvgdheOpTxLaserOptAttValue OBJECT-TYPE
    SYNTAX      HeTenthdB
    UNITS       "0.1 dB"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "optical att value ,when the optical att control mode is manual ,this vaule is active，defined by our company"
    ::= { tvgdheOpTxLaserEntity 6 }

tvgdheOpTxLaserOtoIPowerDef OBJECT-TYPE
    SYNTAX      HeTenthdB
    UNITS       "0.1 dB"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "heOpTxLaserOtoIPowerDef = heOpTxInputOptPower - heOpTxLaserOutputPowerAfterAtt,when the optical att control mode is auto ,this vaule is active，defined by our company"
    ::= { tvgdheOpTxLaserEntity 7 }

-- *****************************
-- * 光接收模块扩展MIB
-- *****************************
tvgdheOpticalReceiverGroup OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "光接收组。"
    ::= { tvgdheOptics 2 }

tvgdheOpRxInputTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheOpRxInputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "光收输入表。"
    ::= { tvgdheOpticalReceiverGroup 1 }

tvgdheOpRxInputEntity OBJECT-TYPE
    SYNTAX      TvgdheOpRxInputEntity
    MAX-ACCESS not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex, tvgdheOpRxInputIndex }
    ::= { tvgdheOpRxInputTable 1 }

TvgdheOpRxInputEntity ::= SEQUENCE
{
    tvgdheOpRxInputIndex                    Unsigned32,
    tvgdheOpRxInputRfLevel	                 HeTenthdBmV,
    tvgdheOpRxInputAgcCtrlEn                INTEGER,
    tvgdheOpRxInputAgcValidPower            HeTenthdBm
 
}

tvgdheOpRxInputIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        ""
    ::= { tvgdheOpRxInputEntity 1 }

tvgdheOpRxInputRfLevel OBJECT-TYPE
    SYNTAX      HeTenthdBmV
    UNITS       "0.1 dBmV"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
            "输入电平。用于正向接收机"
    ::= { tvgdheOpRxInputEntity 2 }

tvgdheOpRxInputAgcCtrlEn OBJECT-TYPE
    SYNTAX      INTEGER {
        DISABLE-MGC(1),
        ENABLE-AGC(2)   
    }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "Controls the  AGC/MGC mode , defined by our company"
    ::= { tvgdheOpRxInputEntity 3 }

tvgdheOpRxInputAgcValidPower OBJECT-TYPE
    SYNTAX      HeTenthdBm
    UNITS       "0.1 dBm"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "AGC Valid Power: when input optical power is higer than this 
             value ,the optical AGC Cnotrol valid"
    ::= {tvgdheOpRxInputEntity 4 }




tvgdheOpRxOutputTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheOpRxOutputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "光收输出表"
    ::= { tvgdheOpticalReceiverGroup 2 }

tvgdheOpRxOutputEntity OBJECT-TYPE
    SYNTAX      TvgdheOpRxOutputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex, tvgdheOpRxOutputIndex }
    ::= { tvgdheOpRxOutputTable 1 }

TvgdheOpRxOutputEntity ::= SEQUENCE
{
    tvgdheOpRxOutputIndex                Unsigned32,
    tvgdheOpRxOutputRFEqLevel	         HeTenthdB,
    tvgdheOpRxOutputControlMode          INTEGER       
}

tvgdheOpRxOutputIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        ""
    ::= { tvgdheOpRxOutputEntity 1 }

tvgdheOpRxOutputRFEqLevel OBJECT-TYPE
    SYNTAX      HeTenthdB
    UNITS       "0.1 dB"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "均衡,用于正向接收机"
    ::= { tvgdheOpRxOutputEntity 2 }

tvgdheOpRxOutputControlMode OBJECT-TYPE
    SYNTAX      INTEGER {
        auto(1),
        manual(2)，
    }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "RF output control mode, defined by our company"
    ::= { tvgdheOpRxOutputEntity 3 }



-- *****************************
-- * 光放大模块扩展MIB
-- *****************************

tvgdheOpticalAmplifierGroup OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "光放大组。"
    ::= { tvgdheOptics 3 }

tvgdheOpAmpUnitTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheOpAmpUnitEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "光放单元表。"
    ::= { tvgdheOpticalAmplifierGroup 1 }

tvgdheOpAmpUnitEntity OBJECT-TYPE
    SYNTAX      TvgdheOpAmpUnitEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex }
    ::= { tvgdheOpAmpUnitTable 1 }

TvgdheOpAmpUnitEntity ::= SEQUENCE
{
    tvgdheOpAmpUnitRatedOutputPower 	HeTenthdBm,
    tvgdheOpAmpUnitOptAtt   	       HeTenthdB

}

tvgdheOpAmpUnitRatedOutputPower	OBJECT-TYPE
    SYNTAX      		HeTenthdBm 
    UNITS               "0.1 dBm"
    MAX-ACCESS  		read-only
    STATUS      		current
    DESCRIPTION
        "额定功率。"
    ::= { tvgdheOpAmpUnitEntity 1 }

tvgdheOpAmpUnitOptAtt	OBJECT-TYPE
    SYNTAX       HeTenthdB 
    UNITS       "0.1 dB"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "edfa optical att,defined by our company"
    ::= { tvgdheOpAmpUnitEntity  2 }


tvgdheOpAmpInputTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheOpAmpInputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    ::= { tvgdheOpticalAmplifierGroup 2 }

tvgdheOpAmpInputEntity OBJECT-TYPE
    SYNTAX      TvgdheOpAmpInputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex, tvgdheOpAmpInputIndex }
    ::= { tvgdheOpAmpInputTable 1 }

TvgdheOpAmpInputEntity ::= SEQUENCE
{
    tvgdheOpAmpInputIndex                Unsigned32,
    tvgdheOpAmpInputRFStatus	         INTEGER 
}

tvgdheOpAmpInputIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        ""
    ::= { tvgdheOpAmpInputEntity 1 }

tvgdheOpAmpInputRFStatus OBJECT-TYPE
    SYNTAX      INTEGER
                {
                  normal(1),
                  abnormal(2)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
            "输入光链路的射频状态。"
    ::= { tvgdheOpAmpInputEntity 2 }

-- *****************************
-- * 光开关模块扩展MIB
-- *****************************


tvgdheOpticalSwitchGroup OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "光开关组。"
    ::= { tvgdheOptics 4 }

tvgdheOpSwitchUnitTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheOpSwitchUnitEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "光放单元表"
    ::= { tvgdheOpticalSwitchGroup 1 }

tvgdheOpSwitchUnitEntity OBJECT-TYPE
    SYNTAX      TvgdheOpSwitchUnitEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex }
    ::= { tvgdheOpSwitchUnitTable 1 }

TvgdheOpSwitchUnitEntity ::= SEQUENCE
{
    tvgdheOpSwitchRfDetectControl 	INTEGER 
}

tvgdheOpSwitchRfDetectControl	OBJECT-TYPE
    SYNTAX      		INTEGER
		                {
		                  disable(1),
		                  enable(2)
		                } 
    MAX-ACCESS  		read-write
    STATUS      		current
    DESCRIPTION
        "光开关的射频指标的检测‘禁止/允许’控制"
    ::= { tvgdheOpSwitchUnitEntity 1 }

tvgdheOpSwitchInputTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheOpSwitchInputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    ::= { tvgdheOpticalSwitchGroup 2 }

tvgdheOpSwitchInputEntity OBJECT-TYPE
    SYNTAX      TvgdheOpSwitchInputEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex, tvgdheOpSwitchInputIndex }
    ::= { tvgdheOpSwitchInputTable 1 }

TvgdheOpSwitchInputEntity ::= SEQUENCE
{ 
    tvgdheOpSwitchInputIndex             Unsigned32,
    tvgdheOpSwitchInputRFLevel           HeTenthdBmV,
    tvgdheOpSwitchSetInputRFThreshold    HeTenthdBmV,
    tvgdheOpSwitchInputRFStatus	         INTEGER 
}

tvgdheOpSwitchInputIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        ""
    ::= { tvgdheOpSwitchInputEntity 1 }

tvgdheOpSwitchInputRFLevel OBJECT-TYPE
    SYNTAX      HeTenthdBmV
    UNITS       "0.1 dBmV"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
            "Rf门限"
    ::= { tvgdheOpSwitchInputEntity 2 } 
    
tvgdheOpSwitchSetInputRFThreshold OBJECT-TYPE
    SYNTAX      HeTenthdBmV
    UNITS       "0.1 dBmV"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
            "Rf门限"
    ::= { tvgdheOpSwitchInputEntity 3 }      
    
tvgdheOpSwitchInputRFStatus OBJECT-TYPE
    SYNTAX      INTEGER 
                {
		             normal(1),
		             abnormal(2)
		        }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
            "Rf状态"
    ::= { tvgdheOpSwitchInputEntity 4 }
  
tvgdheBaseIdent OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "头端基础组"       
   ::= { tvgdHeadEndExtIdent 2 }

tvgdheCommon  OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "头端通用组"       
   ::= { tvgdheBaseIdent 1 }
   
tvgdheCommonParams  OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "头端通用参数组"       
   ::= { tvgdheCommon 1 }

tvgdheCommonTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheCommonEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            " 头端通用表。
              此表格中的参数允许出现在任何功能模块中，也可以不出现。"
    ::= { tvgdheCommonParams 1 }

tvgdheCommonEntity OBJECT-TYPE
    SYNTAX      TvgdheCommonEntity
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "头端通用表实体。"
    INDEX       { entPhysicalIndex }
    ::= { tvgdheCommonTable 1 }

TvgdheCommonEntity ::= SEQUENCE
{
    tvgdheCommonNeState                 INTEGER,
    tvgdheCommonChannelNum              INTEGER
}

tvgdheCommonNeState OBJECT-TYPE
    SYNTAX      INTEGER
                {
                  normal(1),
                  alarmMajor(2),
                  alarmMinor(3)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "如应答器实现了此参数，则必须实现entPhysicalTable中的所有的行。
         模块的NeState表示工作模块的报警状态
         背板或其它非智能部件的NeState表示其所有子设备的最严重报警状态。
         例如顶层chassis的NeState表示整个光平台的报警状态。"
    ::= { tvgdheCommonEntity 1 }

tvgdheCommonChannelNum OBJECT-TYPE
    SYNTAX      INTEGER
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "当使用总功率检测电路时，用于修正电平准确度"
    ::= { tvgdheCommonEntity 2 }

-- **********************************************
-- * 射频放大，射频切换模块扩展MIB
-- **********************************************


tvgdheRf   OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "Rf设备组"       
   ::= { tvgdHeadEndExtIdent 4 }

tvgdheRfAmplifierGroup OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "RF放大组"
    ::= { tvgdheRf 1 }

tvgdheRFAmpInputTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TvgdheRFAmpInputEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "射频输入表"
    ::= { tvgdheRfAmplifierGroup 1 }

tvgdheRFAmpInputEntry OBJECT-TYPE
    SYNTAX      TvgdheRFAmpInputEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            ""
    INDEX       { entPhysicalIndex, tvgdheRFAmpInputIndex }
    ::= { tvgdheRFAmpInputTable 1 }

TvgdheRFAmpInputEntry ::= SEQUENCE
{ 
    tvgdheRFAmpInputIndex             Unsigned32,
    tvgdheRFAmpInputLevel             HeTenthdBmV
}

tvgdheRFAmpInputIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        ""
    ::= { tvgdheRFAmpInputEntry 1 }

tvgdheRFAmpInputLevel OBJECT-TYPE
    SYNTAX      HeTenthdBmV  
    UNITS       "0.1 dBmV"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
            "输入电平"
    ::= { tvgdheRFAmpInputEntry 2 }

tvgdheRfSwitchGroup OBJECT-IDENTITY
    STATUS  current
    DESCRIPTION
            "RF开关组"
    ::= { tvgdheRf 2 }

END