-- *****************************************************************
-- MY-AUTH-GATEWAY-MIB.mib:  My Auth-Gateway MIB file
--
-- $Copyright$
-- 
-- *****************************************************************
--

DES7200-AUTH-GATEWAY-MIB DEFINITIONS ::= BEGIN

IMPORTS
        MODULE-IDENTITY,
        OBJECT-TYPE,
        NOTIFICATION-TYPE,
        Gauge32,
        Counter32
                FROM SNMPv2-SMI
        TruthValue,
        DisplayString,
        RowStatus,
        PhysAddress
                FROM SNMPv2-TC
        MODULE-COMPLIANCE,
        OBJECT-GROUP,
        NOTIFICATION-GROUP
                FROM SNMPv2-CONF
        IfIndex
                FROM DES7200-TC        
        ip
                FROM RFC1213-MIB
        myMgmt
                FROM DES7200-SMI;

myAuthGatewayMIB MODULE-IDENTITY
        LAST-UPDATED "200203200000Z"
        ORGANIZATION "$Company$"
        CONTACT-INFO
                " 
                Tel: $Telephone$ 

                E-mail: $E-mail$"
        DESCRIPTION
                "This module defines my authGateway mibs."
        REVISION      "200203200000Z"
        DESCRIPTION
                "Initial version of this MIB module."
        ::= { myMgmt 40}

myAuthGatewayMIBObjects OBJECT IDENTIFIER ::= { myAuthGatewayMIB 1 }


 -- IP Address Translation table

 -- The IP address translation table contain the IpAddress to
 -- `physical' address equivalences for ARP(Address Resolution Protocol). 
   
 myAuthGatewayUserTable OBJECT-TYPE
     SYNTAX  SEQUENCE OF MyAuthGatewayUserEntry
     ACCESS  not-accessible
     STATUS  current
     DESCRIPTION
             "֤û,֤ͨû.ûʱû¼ʱɾ,
             ¼޷¼¼ʱ,ǿƸߵû¼."
     ::= { myAuthGatewayMIBObjects 1 }

 myAuthGatewayUserEntry OBJECT-TYPE
     SYNTAX  MyAuthGatewayUserEntry
     ACCESS  not-accessible
     STATUS  current
     DESCRIPTION
             "֤û."
     INDEX   { userIpaddr }
     ::= { myAuthGatewayUserTable 1 }

 MyAuthGatewayUserEntry ::=
     SEQUENCE {
         userIpaddr
             IpAddress,
         onlineFlag
             Gauge32,    
         timeLimit
             Gauge32,    
         timeUsed
             Gauge32,    
         bandwidthLimitUplink
             Gauge32,    
         bandwidthLimitDownlink
             Gauge32,    
         intramuralFluxLimitUplink
             Gauge32,    
         intramuralFluxLimitDownlink
             Gauge32,    
         inlandFluxLimitUplink
             Gauge32,    
         inlandFluxLimitDownlink
             Gauge32,    
         overseasFluxLimitUplink
             Gauge32,    
         overseasFluxLimitDownlink
             Gauge32,    
         intramuralFluxCountUplink
             Counter32,    
         intramuralFluxCountDownlink
             Counter32,    
         inlandFluxCountUplink
             Counter32,    
         inlandFluxCountDownlink
             Counter32,    
         overseasFluxCountUplink
             Counter32,    
         overseasFluxCountDownlink
             Counter32,    
         userStatus   
             RowStatus 
     }

 userIpaddr OBJECT-TYPE
     SYNTAX  IpAddress
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "֤ûIPַ."
     ::= { myAuthGatewayUserEntry 1 }

 onlineFlag OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "߱־,ûʱΪ(1),ûʱʱλ,ʾ(0)."
     ::= { myAuthGatewayUserEntry 2 }


 timeLimit OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             "ʱ,λ,0ʾ."
     ::= { myAuthGatewayUserEntry 3 }

 timeUsed OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "ʱ,λ,ûʱ,û״̬Activeʱʼ,ûʱֹͣ."
     ::= { myAuthGatewayUserEntry 4 }

 bandwidthLimitUplink OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             "д,λkbps,Χ64k~1G,0ʾ."
     ::= { myAuthGatewayUserEntry 5 }

 bandwidthLimitDownlink OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             "д,λkbps,Χ64k~1G,0ʾ."
     ::= { myAuthGatewayUserEntry 6 }

 intramuralFluxLimitUplink OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             "Уڿ,λk,ﵽʱǿ,0ʾ."
     ::= { myAuthGatewayUserEntry 7 }

 intramuralFluxLimitDownlink OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             "Уڿ,λk,ﵽʱǿ,0ʾ."
     ::= { myAuthGatewayUserEntry 8 }

 inlandFluxLimitUplink OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             "ڿ,λk,ﵽʱǿ,0ʾ."
     ::= { myAuthGatewayUserEntry 9 }

 inlandFluxLimitDownlink OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             "ڿ,λk,ﵽʱǿ,0ʾ."
     ::= { myAuthGatewayUserEntry 10 }

 overseasFluxLimitUplink OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             ",λk,ﵽʱǿ,0ʾ."
     ::= { myAuthGatewayUserEntry 11 }

 overseasFluxLimitDownlink OBJECT-TYPE
     SYNTAX  Gauge32
     ACCESS  read-write
     STATUS  current
     DESCRIPTION
             ",λk,ﵽʱǿ,0ʾ."
     ::= { myAuthGatewayUserEntry 12 }
    
 intramuralFluxCountUplink OBJECT-TYPE
     SYNTAX  Counter32
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "Уڿͳ,λk."
     ::= { myAuthGatewayUserEntry 13 }

 intramuralFluxCountDownlink OBJECT-TYPE
     SYNTAX  Counter32
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "Уڿͳ,λk."
     ::= { myAuthGatewayUserEntry 14 }

 inlandFluxCountUplink OBJECT-TYPE
     SYNTAX  Counter32
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "ڿͳ,λk."
     ::= { myAuthGatewayUserEntry 15 }

 inlandFluxCountDownlink OBJECT-TYPE
     SYNTAX  Counter32
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "ڿͳ,λk."
     ::= { myAuthGatewayUserEntry 16 }

 overseasFluxCountUplink OBJECT-TYPE
     SYNTAX  Counter32
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "ͳ,λk."
     ::= { myAuthGatewayUserEntry 17 }

 overseasFluxCountDownlink OBJECT-TYPE
     SYNTAX  Counter32
     ACCESS  read-only
     STATUS  current
     DESCRIPTION
             "ͳ,λk."
     ::= { myAuthGatewayUserEntry 18 }
        
 userStatus OBJECT-TYPE
        SYNTAX RowStatus
        MAX-ACCESS read-create
        STATUS current
        DESCRIPTION
            "û״̬,1-Active,5-Create and wait,6-Distory."
    ::= { myAuthGatewayUserEntry 19 }        

-- auth-gateway trap
                
myAuthGatewayMIBTraps OBJECT IDENTIFIER ::= { myAuthGatewayMIB 2 }      
        
myAuthGatewayUserLeave NOTIFICATION-TYPE
        OBJECTS   { userIpaddr }
        STATUS     current
        DESCRIPTION
                "û߷͵Trap."
        ::= { myAuthGatewayMIBTraps 1 }                    


-- compliance statements
         
myAuthGatewayMIBConformance OBJECT IDENTIFIER ::= { myAuthGatewayMIB 3 }
myAuthGatewayMIBCompliances OBJECT IDENTIFIER ::= { myAuthGatewayMIBConformance 1 }
myAuthGatewayMIBGroups      OBJECT IDENTIFIER ::= { myAuthGatewayMIBConformance 2 }

myAuthGatewayMIBCompliance MODULE-COMPLIANCE
        STATUS  current
        DESCRIPTION
                "The compliance statement for entities which implement
                the My AuthGateway MIB"
        MODULE  -- this module
                MANDATORY-GROUPS { myAuthGatewayMIBGroup
                 }
                       
        ::= { myAuthGatewayMIBCompliances 1 }
                
-- units of conformance

myAuthGatewayMIBGroup OBJECT-GROUP
        OBJECTS {
         userIpaddr,
         onlineFlag,
         timeLimit,
         timeUsed,
         bandwidthLimitUplink,
         bandwidthLimitDownlink,
         intramuralFluxLimitUplink,
         intramuralFluxLimitDownlink,
         inlandFluxLimitUplink,
         inlandFluxLimitDownlink,
         overseasFluxLimitUplink,
         overseasFluxLimitDownlink,
         intramuralFluxCountUplink,
         intramuralFluxCountDownlink,
         inlandFluxCountUplink,
         inlandFluxCountDownlink,
         overseasFluxCountUplink,
         overseasFluxCountDownlink,
         userStatus   
        }
        STATUS  current
        DESCRIPTION
                "A collection of objects providing authGateway management and
                opertion to a My agent."
        ::= { myAuthGatewayMIBGroups 1 } 
  
END
