"Fossies" - the Fresh Open Source Software Archive

Member "netxms-3.4.232/contrib/mibs/A3COM-HUAWEI-OBJECT-INFO-MIB.txt" (6 Jul 2020, 9709 Bytes) of package /linux/misc/netxms-3.4.232.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "A3COM-HUAWEI-OBJECT-INFO-MIB.txt" see the Fossies "Dox" file reference documentation.

    1 -- =================================================================
    2 -- Copyright (C) 2004 by HUAWEI 3COM TECHNOLOGIES.  All rights reserved.
    3 --
    4 -- Description: Object Information query mib
    5 -- Reference: None
    6 -- Version: V1.0
    7 -- History:
    8 --   V1.0 created by longyin
    9 --     2005-01-04 Initial version
   10 -- =================================================================
   11 A3COM-HUAWEI-OBJECT-INFO-MIB   DEFINITIONS ::= BEGIN
   12 
   13     IMPORTS
   14         OBJECT-TYPE, MODULE-IDENTITY
   15             FROM SNMPv2-SMI
   16         OBJECT-GROUP, MODULE-COMPLIANCE
   17             FROM SNMPv2-CONF
   18         h3cCommon
   19             FROM A3COM-HUAWEI-OID-MIB;
   20 
   21     h3cObjectInfo   MODULE-IDENTITY
   22         LAST-UPDATED "200412270000Z"        -- December 27, 2004 at 14:49 GMT
   23         ORGANIZATION
   24             " Huawei 3Com Technologies Co., Ltd. "
   25         CONTACT-INFO
   26             "
   27             Platform Team Huawei 3Com Technologies Co., Ltd.
   28             Hai-Dian District Beijing P.R. China
   29             http://www.huawei-3com.com
   30             Zip:100085
   31             "
   32         DESCRIPTION
   33             "
   34             This MIB is used to acquire information from the agent.
   35             Before a NMS takes some actions, it is not sure whether the
   36             agent supports it or not.  This MIB is used to solve this problem.
   37             "
   38         REVISION "200412270000Z"   -- December 27, 2004 at 14:49 GMT
   39         DESCRIPTION
   40             "
   41             The initial revision of this MIB module.
   42             "
   43         ::= { h3cCommon 55 }
   44 
   45 --
   46 -- Node definitions
   47 --
   48 
   49 h3cObjectInformation   OBJECT IDENTIFIER ::= { h3cObjectInfo 1 }
   50 
   51 -- The h3cObjectInfo Table =========================================================
   52 
   53     h3cObjectInfoTable   OBJECT-TYPE
   54         SYNTAX  SEQUENCE OF H3cObjectInfoEntry
   55         MAX-ACCESS  not-accessible
   56         STATUS  current
   57         DESCRIPTION
   58         "
   59         MIB objects information query table.
   60         "
   61         ::= { h3cObjectInformation 1 }
   62 
   63     h3cObjectInfoEntry   OBJECT-TYPE
   64         SYNTAX H3cObjectInfoEntry
   65         MAX-ACCESS  not-accessible
   66         STATUS  current
   67         DESCRIPTION
   68             " 
   69             The entry of h3cObjectInfoTable. 
   70             "
   71         INDEX   { h3cObjectInfoOID, h3cObjectInfoType, h3cObjectInfoTypeExtension }
   72         ::= { h3cObjectInfoTable  1 }
   73 
   74     H3cObjectInfoEntry ::= SEQUENCE {
   75         h3cObjectInfoOID             OBJECT IDENTIFIER,
   76         h3cObjectInfoType            INTEGER,
   77         h3cObjectInfoTypeExtension   OCTET STRING,
   78         h3cObjectInfoValue           OCTET STRING
   79         }
   80 
   81     h3cObjectInfoOID   OBJECT-TYPE
   82         SYNTAX  OBJECT IDENTIFIER
   83         MAX-ACCESS  not-accessible
   84         STATUS  current
   85         DESCRIPTION
   86             " 
   87             The OID of the MIB object which is queried.  
   88             If the user has no privilege accessing to the object referred by this OID, 
   89             get operation on h3cObjectInfoValue will be failed.
   90             "
   91         ::= { h3cObjectInfoEntry 1 }
   92 
   93     h3cObjectInfoType   OBJECT-TYPE
   94         SYNTAX  INTEGER
   95         {
   96             reserved(1),       -- this value is reserved, not used.
   97             accessType(2),     -- query access type of the MIB object
   98             dataType(3),       -- query data type of the MIB object
   99             dataRange(4),      -- query data value range of the MIB object
  100             dataLength(5)      -- query data length of the MIB object
  101         }
  102         MAX-ACCESS  not-accessible
  103         STATUS  current
  104         DESCRIPTION
  105             "
  106             The object's properties type to be queried.         
  107             The queried result will be returned by h3cObjectInfoValue.  The format of the result will be
  108             different according to different h3cObjectInfoType.
  109             "
  110         ::= { h3cObjectInfoEntry 2 }
  111 
  112     h3cObjectInfoTypeExtension   OBJECT-TYPE
  113         SYNTAX  OCTET STRING(SIZE (1..10))
  114         MAX-ACCESS  not-accessible
  115         STATUS  current
  116         DESCRIPTION
  117             "
  118             The object's property type extension to be queried.  
  119             This object's value is relative to the value of h3cObjectInfoType.
  120             "
  121         ::= { h3cObjectInfoEntry 3 }
  122 
  123     h3cObjectInfoValue   OBJECT-TYPE
  124         SYNTAX  OCTET STRING
  125         MAX-ACCESS  read-only
  126         STATUS  current
  127         DESCRIPTION
  128             "
  129             Return property value of the queried object.   
  130             Zero length string is the default value of this object which means no value is returned.  
  131             If the request is invalid, then the result should be the default value.  
  132         
  133             If the value of h3cObjectInfoType is accessType, the rules below should be followed.  
  134                 1) The returned value must have prefix 'A', and followed by some nonnegative integers.
  135                    The format is like 'A2'.
  136                 2) The nonnegative integers and the meaning of them are as follow:
  137                                0 means 'not-accessible'.
  138                                1 means 'notification'.
  139                                2 means 'read-only'.
  140                                3 means 'read-write'.
  141                                4 means 'read-create'.
  142                                5 means 'write-only'.
  143                                6 means 'accessible-for-notify'.
  144                                7 means 'error'.
  145                                --the above values are defined by standard protocol 
  146                                101 means 'not implemented'.  -- The queried node is not implemented by agent.
  147                                102 means 'unknown error'.    -- Query failed for unknown reason.
  148                  
  149             If the value of h3cObjectInfoType is dataType, the rules below should be followed.  
  150                1) The returned value must have prefix 'T', and followed by string which has
  151                   format like 2), such as 'T1', the character '1' means INTEGER.  
  152                2) The following data types are defined in standard protocol, the values in brackets 
  153                   will be returned to indicate these data types.
  154                                INTEGER(1)
  155                                Integer32(2)
  156                                Unsigned32(4)
  157                                Gauge(6)
  158                                Counter(7)
  159                                Counter32(8)
  160                                Counter64(9)
  161                                TimeTicks(10)
  162                                OCTET STRING(11)
  163                                OBJECT IDENTIFIER(12)
  164                                IpAddress(13)
  165                                NetworkAddress(14)
  166                                Opaque(15)
  167                                BITS(16)
  168             
  169             If the value of h3cObjectInfoType is dataRange, the rules below should be followed.
  170                1) The returned value must have prefix 'R', and followed by string which has the
  171                   format like 2) to 5), such as 'R[1,1]'.
  172                2) If h3cObjectInfoValue returns Integer32, the format is as followed. Suppose A is a 
  173                   MIB object.
  174                   If SYNTAX of A is 'Integer32{1|2|3|5|6|7}', the format is 'R[1,3],[5,7]'.
  175                   If SYNTAX of A is 'Integer32{1|3}', the format is 'R[1,1],[3,3]'.
  176                   If SYNTAX of A is 'Integer32', the format is 'R[]' which means the default value 
  177                   range of Integer32 between -2147483648 and 2147483647.
  178                3) The process of Counter, Counter32, Counter64, Unsigned32, Gauge32, INTEGER is the 
  179                   same as that of Integer32.
  180                4) If SYNTAX of A is other types such as OCTET STRING, then this object returns default value 'R[]'.
  181                5) If SYNTAX of A is 'BITS{a(0),b(1)}', the format is 'R[0,0],[1,1]'.
  182             
  183             If the value of h3cObjectInfoType is dataLength, the rules below should be followed.
  184                1) The returned value must have prefix 'L', and followed by string which has the format
  185                   like 2) to 4), such as 'L[6,6]'.
  186                2) If SYNTAX of A is 'OCTET STRING(SIZE (6|10..255))', the format is 'L[6,6],[10,255]'.
  187                   If SYNTAX of A is 'OCTET STRING', the format is like 'L[]' which means the default 
  188                   length of OCTET STRING between 0 and 65535.
  189                3) If SYNTAX of A is BITS, the format of it is the same as OCTET STIRNG. But its unit 
  190                   is in bit, not in byte.
  191                4) If SYNTAX of A is other types such as INTEGER and IpAddress, this object returns 'L[]'.
  192             "
  193         ::= { h3cObjectInfoEntry 4 }
  194 
  195 -- The h3cObjectInfoMIB Conformance ==============================================
  196 
  197     h3cObjectInfoMIBConformance   OBJECT IDENTIFIER ::= { h3cObjectInfo 2 }
  198 
  199     h3cObjectInfoMIBCompliances   OBJECT IDENTIFIER ::= { h3cObjectInfoMIBConformance 1 }
  200 
  201     h3cObjectInfoMIBCompliance   MODULE-COMPLIANCE
  202         STATUS  current
  203         DESCRIPTION
  204             " 
  205             The compliance statement for implementing ObjectInfo MIB.
  206             "
  207         MODULE
  208             A3COM-HUAWEI-OBJECT-INFO-MIB
  209         MANDATORY-GROUPS { h3cObjectInfoTableGroup }
  210 
  211         ::= { h3cObjectInfoMIBCompliances 1 }
  212 
  213 -- The h3cObjectInfoMIB Groups ====================================================
  214     h3cObjectInfoMIBGroups   OBJECT IDENTIFIER ::= { h3cObjectInfoMIBConformance 2 }
  215 
  216     h3cObjectInfoTableGroup   OBJECT-GROUP
  217         OBJECTS {
  218                     h3cObjectInfoValue
  219                 }
  220         STATUS  current
  221         DESCRIPTION
  222             " 
  223             The basic collection of h3cObjectInfo table objects.
  224             "
  225         ::= { h3cObjectInfoMIBGroups 1 }
  226 
  227 END