home *** CD-ROM | disk | FTP | other *** search
/ Thomson (Residential) / TGSTPv7203.iso / mac / SNMP_MIBs / snmpv2 / SNMPv2-TC.mib < prev    next >
Text File  |  2008-02-08  |  33KB  |  764 lines

  1. -- file: SNMPv2-TC.my
  2. -- Changes:
  3. --      Converted to SMICng format.
  4. --      Removed unused imports of ObjectSyntax.
  5. --      Changed starting column of description text for
  6. --      DateAndTime and RowStatus.
  7. -- dperkins@scruznet.com
  8.  
  9.  
  10. SNMPv2-TC DEFINITIONS ::= BEGIN
  11.  
  12. IMPORTS
  13.     TimeTicks
  14.         FROM SNMPv2-SMI;
  15.  
  16.  
  17. -- definition of textual conventions
  18.  
  19. SMI TEXTUAL-CONVENTION
  20.  
  21. -- TEXTUAL-CONVENTION MACRO ::=
  22. -- BEGIN
  23. --     TYPE NOTATION ::=
  24. --                   DisplayPart
  25. --                   "STATUS" Status
  26. --                   "DESCRIPTION" Text
  27. --                   ReferPart
  28. --                   "SYNTAX" Syntax
  29. -- 
  30. --     VALUE NOTATION ::=
  31. --                   value(VALUE Syntax)
  32. -- 
  33. --     DisplayPart ::=
  34. --                   "DISPLAY-HINT" Text
  35. --                 | empty
  36. -- 
  37. --     Status ::=
  38. --                   "current"
  39. --                 | "deprecated"
  40. --                 | "obsolete"
  41. -- 
  42. --     ReferPart ::=
  43. --                   "REFERENCE" Text
  44. --                 | empty
  45. -- 
  46. ----   -- uses the NVT ASCII character set
  47. --     Text ::= """" string """"
  48. -- 
  49. --     Syntax ::=
  50. --                   type(ObjectSyntax)
  51. --                 | "BITS" "{" Kibbles "}"
  52. --     Kibbles ::=
  53. --                   Kibble
  54. --                 | Kibbles "," Kibble
  55. --     Kibble ::=
  56. --                   identifier "(" nonNegativeNumber ")"
  57. -- END
  58.  
  59.  
  60. DisplayString ::= TEXTUAL-CONVENTION
  61.     DISPLAY-HINT "255a"
  62.     STATUS       current
  63.     DESCRIPTION
  64.             "Represents textual information taken from the NVT ASCII
  65.             character set, as defined in pages 4, 10-11 of RFC 854.
  66.  
  67.             To summarize RFC 854, the NVT ASCII repertoire specifies:
  68.  
  69.               - the use of character codes 0-127 (decimal)
  70.  
  71.               - the graphics characters (32-126) are interpreted as
  72.                 US ASCII
  73.  
  74.               - NUL, LF, CR, BEL, BS, HT, VT and FF have the special
  75.                 meanings specified in RFC 854
  76.  
  77.               - the other 25 codes have no standard interpretation
  78.  
  79.               - the sequence 'CR LF' means newline
  80.  
  81.               - the sequence 'CR NUL' means carriage-return
  82.  
  83.               - an 'LF' not preceded by a 'CR' means moving to the
  84.                 same column on the next line.
  85.  
  86.               - the sequence 'CR x' for any x other than LF or NUL is
  87.                 illegal.  (Note that this also means that a string may
  88.                 end with either 'CR LF' or 'CR NUL', but not with CR.)
  89.  
  90.             Any object defined using this syntax may not exceed 255
  91.             characters in length."
  92.     SYNTAX       OCTET STRING (SIZE (0..255))
  93.  
  94.  
  95. PhysAddress ::= TEXTUAL-CONVENTION
  96.     DISPLAY-HINT "1x:"
  97.     STATUS       current
  98.     DESCRIPTION
  99.             "Represents media- or physical-level addresses."
  100.     SYNTAX       OCTET STRING
  101.  
  102.  
  103. MacAddress ::= TEXTUAL-CONVENTION
  104.     DISPLAY-HINT "1x:"
  105.     STATUS       current
  106.     DESCRIPTION
  107.             "Represents an 802 MAC address represented in the
  108.             `canonical' order defined by IEEE 802.1a, i.e., as if it
  109.             were transmitted least significant bit first, even though
  110.             802.5 (in contrast to other 802.x protocols) requires MAC
  111.             addresses to be transmitted most significant bit first."
  112.     SYNTAX       OCTET STRING (SIZE (6))
  113.  
  114.  
  115. TruthValue ::= TEXTUAL-CONVENTION
  116.     STATUS       current
  117.     DESCRIPTION
  118.             "Represents a boolean value."
  119.     SYNTAX       INTEGER { true(1), false(2) }
  120.  
  121. TestAndIncr ::= TEXTUAL-CONVENTION
  122.     STATUS       current
  123.     DESCRIPTION
  124.             "Represents integer-valued information used for atomic
  125.             operations.  When the management protocol is used to specify
  126.             that an object instance having this syntax is to be
  127.             modified, the new value supplied via the management protocol
  128.             must precisely match the value presently held by the
  129.             instance.  If not, the management protocol set operation
  130.             fails with an error of `inconsistentValue'.  Otherwise, if
  131.             the current value is the maximum value of 2^31-1 (2147483647
  132.             decimal), then the value held by the instance is wrapped to
  133.             zero; otherwise, the value held by the instance is
  134.             incremented by one.  (Note that regardless of whether the
  135.             management protocol set operation succeeds, the variable-
  136.             binding in the request and response PDUs are identical.)
  137.  
  138.             The value of the ACCESS clause for objects having this
  139.             syntax is either `read-write' or `read-create'.  When an
  140.             instance of a columnar object having this syntax is created,
  141.             any value may be supplied via the management protocol.
  142.  
  143.             When the network management portion of the system is re-
  144.             initialized, the value of every object instance having this
  145.             syntax must either be incremented from its value prior to
  146.             the re-initialization, or (if the value prior to the re-
  147.             initialization is unknown) be set to a pseudo-randomly
  148.             generated value."
  149.     SYNTAX       INTEGER (0..2147483647)
  150.  
  151.  
  152. AutonomousType ::= TEXTUAL-CONVENTION
  153.     STATUS       current
  154.     DESCRIPTION
  155.             "Represents an independently extensible type identification
  156.             value.  It may, for example, indicate a particular sub-tree
  157.             with further MIB definitions, or define a particular type of
  158.             protocol or hardware."
  159.     SYNTAX       OBJECT IDENTIFIER
  160.  
  161.  
  162. InstancePointer ::= TEXTUAL-CONVENTION
  163.     STATUS       obsolete
  164.     DESCRIPTION
  165.             "A pointer to either a specific instance of a MIB object or
  166.             a conceptual row of a MIB table in the managed device.  In
  167.             the latter case, by convention, it is the name of the
  168.             particular instance of the first accessible columnar object
  169.             in the conceptual row.
  170.  
  171.             The two uses of this textual convention are replaced by
  172.             VariablePointer and RowPointer, respectively."
  173.     SYNTAX       OBJECT IDENTIFIER
  174.  
  175.  
  176. VariablePointer ::= TEXTUAL-CONVENTION
  177.     STATUS       current
  178.     DESCRIPTION
  179.             "A pointer to a specific object instance.  For example,
  180.             sysContact.0 or ifInOctets.3."
  181.     SYNTAX       OBJECT IDENTIFIER
  182.  
  183.  
  184. RowPointer ::= TEXTUAL-CONVENTION
  185.     STATUS       current
  186.     DESCRIPTION
  187.             "Represents a pointer to a conceptual row.  The value is the
  188.             name of the instance of the first accessible columnar object
  189.             in the conceptual row.
  190.  
  191.             For example, ifIndex.3 would point to the 3rd row in the
  192.             ifTable (note that if ifIndex were not-accessible, then
  193.             ifDescr.3 would be used instead)."
  194.     SYNTAX       OBJECT IDENTIFIER
  195.  
  196.  
  197. RowStatus ::= TEXTUAL-CONVENTION
  198.     STATUS       current
  199.     DESCRIPTION
  200.  "The RowStatus textual convention is used to manage the
  201.  creation and deletion of conceptual rows, and is used as the
  202.  value of the SYNTAX clause for the status column of a
  203.  conceptual row (as described in Section 7.7.1 of [2].)
  204.  
  205.  The status column has six defined values:
  206.  
  207.       - `active', which indicates that the conceptual row is
  208.       available for use by the managed device;
  209.  
  210.       - `notInService', which indicates that the conceptual
  211.       row exists in the agent, but is unavailable for use by
  212.       the managed device (see NOTE below);
  213.  
  214.       - `notReady', which indicates that the conceptual row
  215.       exists in the agent, but is missing information
  216.       necessary in order to be available for use by the
  217.       managed device;
  218.  
  219.       - `createAndGo', which is supplied by a management
  220.       station wishing to create a new instance of a
  221.       conceptual row and to have its status automatically set
  222.       to active, making it available for use by the managed
  223.       device;
  224.  
  225.       - `createAndWait', which is supplied by a management
  226.       station wishing to create a new instance of a
  227.       conceptual row (but not make it available for use by
  228.       the managed device); and,
  229.  
  230.       - `destroy', which is supplied by a management station
  231.       wishing to delete all of the instances associated with
  232.       an existing conceptual row.
  233.  
  234.  Whereas five of the six values (all except `notReady') may
  235.  be specified in a management protocol set operation, only
  236.  three values will be returned in response to a management
  237.  protocol retrieval operation:  `notReady', `notInService' or
  238.  `active'.  That is, when queried, an existing conceptual row
  239.  has only three states:  it is either available for use by
  240.  the managed device (the status column has value `active');
  241.  it is not available for use by the managed device, though
  242.  the agent has sufficient information to make it so (the
  243.  status column has value `notInService'); or, it is not
  244.  available for use by the managed device, and an attempt to
  245.  make it so would fail because the agent has insufficient
  246.  information (the state column has value `notReady').
  247.  
  248.                           NOTE WELL
  249.  
  250.       This textual convention may be used for a MIB table,
  251.       irrespective of whether the values of that table's
  252.       conceptual rows are able to be modified while it is
  253.       active, or whether its conceptual rows must be taken
  254.       out of service in order to be modified.  That is, it is
  255.       the responsibility of the DESCRIPTION clause of the
  256.       status column to specify whether the status column must
  257.       not be `active' in order for the value of some other
  258.       column of the same conceptual row to be modified.  If
  259.       such a specification is made, affected columns may be
  260.       changed by an SNMP set PDU if the RowStatus would not
  261.       be equal to `active' either immediately before or after
  262.       processing the PDU.  In other words, if the PDU also
  263.       contained a varbind that would change the RowStatus
  264.       value, the column in question may be changed if the
  265.       RowStatus was not equal to `active' as the PDU was
  266.       received, or if the varbind sets the status to a value
  267.       other than 'active'.
  268.  
  269.  
  270.  Also note that whenever any elements of a row exist, the
  271.  RowStatus column must also exist.
  272.  
  273.  To summarize the effect of having a conceptual row with a
  274.  status column having a SYNTAX clause value of RowStatus,
  275.  consider the following state diagram:
  276.  
  277.  
  278.                                             STATE
  279.                  +--------------+-----------+-------------+-------------
  280.                  |      A       |     B     |      C      |      D
  281.                  |              |status col.|status column|
  282.                  |status column |    is     |      is     |status column
  283.        ACTION    |does not exist|  notReady | notInService|  is active
  284.    --------------+--------------+-----------+-------------+-------------
  285.    set status    |noError    ->D|inconsist- |inconsistent-|inconsistent-
  286.    column to     |       or     |   entValue|        Value|        Value
  287.    createAndGo   |inconsistent- |           |             |
  288.                  |         Value|           |             |
  289.    --------------+--------------+-----------+-------------+-------------
  290.    set status    |noError  see 1|inconsist- |inconsistent-|inconsistent-
  291.    column to     |       or     |   entValue|        Value|        Value
  292.    createAndWait |wrongValue    |           |             |
  293.    --------------+--------------+-----------+-------------+-------------
  294.    set status    |inconsistent- |inconsist- |noError      |noError
  295.    column to     |         Value|   entValue|             |
  296.    active        |              |           |             |
  297.                  |              |     or    |             |
  298.                  |              |           |             |
  299.                  |              |see 2   ->D|          ->D|          ->D
  300.    --------------+--------------+-----------+-------------+-------------
  301.    set status    |inconsistent- |inconsist- |noError      |noError   ->C
  302.    column to     |         Value|   entValue|             |
  303.    notInService  |              |           |             |
  304.                  |              |     or    |             |      or
  305.                  |              |           |             |
  306.                  |              |see 3   ->C|          ->C|wrongValue
  307.    --------------+--------------+-----------+-------------+-------------
  308.    set status    |noError       |noError    |noError      |noError
  309.    column to     |              |           |             |
  310.    destroy       |           ->A|        ->A|          ->A|          ->A
  311.    --------------+--------------+-----------+-------------+-------------
  312.    set any other |see 4         |noError    |noError      |see 5
  313.    column to some|              |           |             |
  314.    value         |              |      see 1|          ->C|          ->D
  315.    --------------+--------------+-----------+-------------+-------------
  316.    
  317.  (1) goto B or C, depending on information available to the
  318.  agent.
  319.  
  320.  (2) if other variable bindings included in the same PDU,
  321.  provide values for all columns which are missing but
  322.  required, then return noError and goto D.
  323.  
  324.  (3) if other variable bindings included in the same PDU,
  325.  provide values for all columns which are missing but
  326.  required, then return noError and goto C.
  327.  
  328.  (4) at the discretion of the agent, the return value may be
  329.  either:
  330.  
  331.       inconsistentName:  because the agent does not choose to
  332.       create such an instance when the corresponding
  333.       RowStatus instance does not exist, or
  334.  
  335.       inconsistentValue:  if the supplied value is
  336.       inconsistent with the state of some other MIB object's
  337.       value, or
  338.  
  339.       noError: because the agent chooses to create the
  340.       instance.
  341.  
  342.  If noError is returned, then the instance of the status
  343.  column must also be created, and the new state is B or C,
  344.  depending on the information available to the agent.  If
  345.  inconsistentName or inconsistentValue is returned, the row
  346.  remains in state A.
  347.  
  348.  (5) depending on the MIB definition for the column/table,
  349.  either noError or inconsistentValue may be returned.
  350.  
  351.  NOTE: Other processing of the set request may result in a
  352.  response other than noError being returned, e.g.,
  353.  wrongValue, noCreation, etc.
  354.  
  355.  
  356.                    Conceptual Row Creation
  357.  
  358.  There are four potential interactions when creating a
  359.  conceptual row:  selecting an instance-identifier which is
  360.  not in use; creating the conceptual row; initializing any
  361.  objects for which the agent does not supply a default; and,
  362.  making the conceptual row available for use by the managed
  363.  device.
  364.  
  365.  Interaction 1: Selecting an Instance-Identifier
  366.  
  367.  The algorithm used to select an instance-identifier varies
  368.  for each conceptual row.  In some cases, the instance-
  369.  identifier is semantically significant, e.g., the
  370.  destination address of a route, and a management station
  371.  selects the instance-identifier according to the semantics.
  372.  
  373.  In other cases, the instance-identifier is used solely to
  374.  distinguish conceptual rows, and a management station
  375.  without specific knowledge of the conceptual row might
  376.  examine the instances present in order to determine an
  377.  unused instance-identifier.  (This approach may be used, but
  378.  it is often highly sub-optimal; however, it is also a
  379.  questionable practice for a naive management station to
  380.  attempt conceptual row creation.)
  381.  
  382.  Alternately, the MIB module which defines the conceptual row
  383.  might provide one or more objects which provide assistance
  384.  in determining an unused instance-identifier.  For example,
  385.  if the conceptual row is indexed by an integer-value, then
  386.  an object having an integer-valued SYNTAX clause might be
  387.  defined for such a purpose, allowing a management station to
  388.  issue a management protocol retrieval operation.  In order
  389.  to avoid unnecessary collisions between competing management
  390.  stations, `adjacent' retrievals of this object should be
  391.  different.
  392.  
  393.  Finally, the management station could select a pseudo-random
  394.  number to use as the index.  In the event that this index
  395.  was already in use and an inconsistentValue was returned in
  396.  response to the management protocol set operation, the
  397.  management station should simply select a new pseudo-random
  398.  number and retry the operation.
  399.  
  400.  A MIB designer should choose between the two latter
  401.  algorithms based on the size of the table (and therefore the
  402.  efficiency of each algorithm).  For tables in which a large
  403.  number of entries are expected, it is recommended that a MIB
  404.  object be defined that returns an acceptable index for
  405.  creation.  For tables with small numbers of entries, it is
  406.  recommended that the latter pseudo-random index mechanism be
  407.  used.
  408.  
  409.  
  410.  Interaction 2: Creating the Conceptual Row
  411.  
  412.  Once an unused instance-identifier has been selected, the
  413.  management station determines if it wishes to create and
  414.  activate the conceptual row in one transaction or in a
  415.  negotiated set of interactions.
  416.  
  417.  Interaction 2a: Creating and Activating the Conceptual Row
  418.  
  419.  The management station must first determine the column
  420.  requirements, i.e., it must determine those columns for
  421.  which it must or must not provide values.  Depending on the
  422.  complexity of the table and the management station's
  423.  knowledge of the agent's capabilities, this determination
  424.  can be made locally by the management station.  Alternately,
  425.  the management station issues a management protocol get
  426.  operation to examine all columns in the conceptual row that
  427.  it wishes to create.  In response, for each column, there
  428.  are three possible outcomes:
  429.  
  430.       - a value is returned, indicating that some other
  431.       management station has already created this conceptual
  432.       row.  We return to interaction 1.
  433.  
  434.       - the exception `noSuchInstance' is returned,
  435.       indicating that the agent implements the object-type
  436.       associated with this column, and that this column in at
  437.       least one conceptual row would be accessible in the MIB
  438.       view used by the retrieval were it to exist. For those
  439.       columns to which the agent provides read-create access,
  440.       the `noSuchInstance' exception tells the management
  441.       station that it should supply a value for this column
  442.       when the conceptual row is to be created.
  443.  
  444.       - the exception `noSuchObject' is returned, indicating
  445.       that the agent does not implement the object-type
  446.       associated with this column or that there is no
  447.       conceptual row for which this column would be
  448.       accessible in the MIB view used by the retrieval.  As
  449.       such, the management station can not issue any
  450.       management protocol set operations to create an
  451.       instance of this column.
  452.  
  453.  Once the column requirements have been determined, a
  454.  management protocol set operation is accordingly issued.
  455.  This operation also sets the new instance of the status
  456.  column to `createAndGo'.
  457.  
  458.  When the agent processes the set operation, it verifies that
  459.  it has sufficient information to make the conceptual row
  460.  available for use by the managed device.  The information
  461.  available to the agent is provided by two sources:  the
  462.  management protocol set operation which creates the
  463.  conceptual row, and, implementation-specific defaults
  464.  supplied by the agent (note that an agent must provide
  465.  implementation-specific defaults for at least those objects
  466.  which it implements as read-only).  If there is sufficient
  467.  information available, then the conceptual row is created, a
  468.  `noError' response is returned, the status column is set to
  469.  `active', and no further interactions are necessary (i.e.,
  470.  interactions 3 and 4 are skipped).  If there is insufficient
  471.  information, then the conceptual row is not created, and the
  472.  set operation fails with an error of `inconsistentValue'.
  473.  On this error, the management station can issue a management
  474.  protocol retrieval operation to determine if this was
  475.  because it failed to specify a value for a required column,
  476.  or, because the selected instance of the status column
  477.  already existed.  In the latter case, we return to
  478.  interaction 1.  In the former case, the management station
  479.  can re-issue the set operation with the additional
  480.  information, or begin interaction 2 again using
  481.  `createAndWait' in order to negotiate creation of the
  482.  conceptual row.
  483.  
  484.                           NOTE WELL
  485.  
  486.       Regardless of the method used to determine the column
  487.       requirements, it is possible that the management
  488.       station might deem a column necessary when, in fact,
  489.       the agent will not allow that particular columnar
  490.       instance to be created or written.  In this case, the
  491.       management protocol set operation will fail with an
  492.       error such as `noCreation' or `notWritable'.  In this
  493.       case, the management station decides whether it needs
  494.       to be able to set a value for that particular columnar
  495.       instance.  If not, the management station re-issues the
  496.       management protocol set operation, but without setting
  497.       a value for that particular columnar instance;
  498.       otherwise, the management station aborts the row
  499.       creation algorithm.
  500.  
  501.  Interaction 2b: Negotiating the Creation of the Conceptual
  502.  Row
  503.  
  504.  The management station issues a management protocol set
  505.  operation which sets the desired instance of the status
  506.  column to `createAndWait'.  If the agent is unwilling to
  507.  process a request of this sort, the set operation fails with
  508.  an error of `wrongValue'.  (As a consequence, such an agent
  509.  must be prepared to accept a single management protocol set
  510.  operation, i.e., interaction 2a above, containing all of the
  511.  columns indicated by its column requirements.)  Otherwise,
  512.  the conceptual row is created, a `noError' response is
  513.  returned, and the status column is immediately set to either
  514.  `notInService' or `notReady', depending on whether it has
  515.  sufficient information to make the conceptual row available
  516.  for use by the managed device.  If there is sufficient
  517.  information available, then the status column is set to
  518.  `notInService'; otherwise, if there is insufficient
  519.  information, then the status column is set to `notReady'.
  520.  Regardless, we proceed to interaction 3.
  521.  
  522.  Interaction 3: Initializing non-defaulted Objects
  523.  
  524.  The management station must now determine the column
  525.  requirements.  It issues a management protocol get operation
  526.  to examine all columns in the created conceptual row.  In
  527.  the response, for each column, there are three possible
  528.  outcomes:
  529.  
  530.       - a value is returned, indicating that the agent
  531.       implements the object-type associated with this column
  532.       and had sufficient information to provide a value.  For
  533.       those columns to which the agent provides read-create
  534.       access (and for which the agent allows their values to
  535.       be changed after their creation), a value return tells
  536.       the management station that it may issue additional
  537.       management protocol set operations, if it desires, in
  538.       order to change the value associated with this column.
  539.  
  540.       - the exception `noSuchInstance' is returned,
  541.       indicating that the agent implements the object-type
  542.       associated with this column, and that this column in at
  543.       least one conceptual row would be accessible in the MIB
  544.       view used by the retrieval were it to exist. However,
  545.       the agent does not have sufficient information to
  546.       provide a value, and until a value is provided, the
  547.       conceptual row may not be made available for use by the
  548.       managed device.  For those columns to which the agent
  549.       provides read-create access, the `noSuchInstance'
  550.       exception tells the management station that it must
  551.       issue additional management protocol set operations, in
  552.       order to provide a value associated with this column.
  553.  
  554.       - the exception `noSuchObject' is returned, indicating
  555.       that the agent does not implement the object-type
  556.       associated with this column or that there is no
  557.       conceptual row for which this column would be
  558.       accessible in the MIB view used by the retrieval.  As
  559.       such, the management station can not issue any
  560.       management protocol set operations to create an
  561.       instance of this column.
  562.  
  563.  If the value associated with the status column is
  564.  `notReady', then the management station must first deal with
  565.  all `noSuchInstance' columns, if any.  Having done so, the
  566.  value of the status column becomes `notInService', and we
  567.  proceed to interaction 4.
  568.  
  569.  Interaction 4: Making the Conceptual Row Available
  570.  
  571.  Once the management station is satisfied with the values
  572.  associated with the columns of the conceptual row, it issues
  573.  a management protocol set operation to set the status column
  574.  to `active'.  If the agent has sufficient information to
  575.  make the conceptual row available for use by the managed
  576.  device, the management protocol set operation succeeds (a
  577.  `noError' response is returned).  Otherwise, the management
  578.  protocol set operation fails with an error of
  579.  `inconsistentValue'.
  580.  
  581.  
  582.                           NOTE WELL
  583.  
  584.       A conceptual row having a status column with value
  585.       `notInService' or `notReady' is unavailable to the
  586.       managed device.  As such, it is possible for the
  587.       managed device to create its own instances during the
  588.       time between the management protocol set operation
  589.       which sets the status column to `createAndWait' and the
  590.       management protocol set operation which sets the status
  591.       column to `active'.  In this case, when the management
  592.       protocol set operation is issued to set the status
  593.       column to `active', the values held in the agent
  594.       supersede those used by the managed device.
  595.  
  596.  If the management station is prevented from setting the
  597.  status column to `active' (e.g., due to management station
  598.  or network failure) the conceptual row will be left in the
  599.  `notInService' or `notReady' state, consuming resources
  600.  indefinitely.  The agent must detect conceptual rows that
  601.  have been in either state for an abnormally long period of
  602.  time and remove them.  It is the responsibility of the
  603.  DESCRIPTION clause of the status column to indicate what an
  604.  abnormally long period of time would be.  This period of
  605.  time should be long enough to allow for human response time
  606.  (including `think time') between the creation of the
  607.  conceptual row and the setting of the status to `active'.
  608.  In the absense of such information in the DESCRIPTION
  609.  clause, it is suggested that this period be approximately 5
  610.  minutes in length.  This removal action applies not only to
  611.  newly-created rows, but also to previously active rows which
  612.  are set to, and left in, the notInService state for a
  613.  prolonged period exceeding that which is considered normal
  614.  for such a conceptual row.
  615.  
  616.  
  617.                   Conceptual Row Suspension
  618.  
  619.  When a conceptual row is `active', the management station
  620.  may issue a management protocol set operation which sets the
  621.  instance of the status column to `notInService'.  If the
  622.  agent is unwilling to do so, the set operation fails with an
  623.  error of `wrongValue'.  Otherwise, the conceptual row is
  624.  taken out of service, and a `noError' response is returned.
  625.  It is the responsibility of the DESCRIPTION clause of the
  626.  status column to indicate under what circumstances the
  627.  status column should be taken out of service (e.g., in order
  628.  for the value of some other column of the same conceptual
  629.  row to be modified).
  630.  
  631.  
  632.                    Conceptual Row Deletion
  633.  
  634.  For deletion of conceptual rows, a management protocol set
  635.  operation is issued which sets the instance of the status
  636.  column to `destroy'.  This request may be made regardless of
  637.  the current value of the status column (e.g., it is possible
  638.  to delete conceptual rows which are either `notReady',
  639.  `notInService' or `active'.)  If the operation succeeds,
  640.  then all instances associated with the conceptual row are
  641.  immediately removed."
  642.  
  643.  
  644.     SYNTAX       INTEGER {
  645.                      -- the following two values are states:
  646.                      -- these values may be read or written
  647.                      active(1),
  648.                      notInService(2),
  649.  
  650.                      -- the following value is a state:
  651.                      -- this value may be read, but not written
  652.                      notReady(3),
  653.  
  654.                      -- the following three values are
  655.                      -- actions: these values may be written,
  656.                      --   but are never read
  657.                      createAndGo(4),
  658.                      createAndWait(5),
  659.                      destroy(6)
  660.                  }
  661.  
  662.  
  663. TimeStamp ::= TEXTUAL-CONVENTION
  664.     STATUS       current
  665.     DESCRIPTION
  666.             "The value of the sysUpTime object at which a specific
  667.             occurrence happened.  The specific occurrence must be
  668.             defined in the description of any object defined using this
  669.             type."
  670.     SYNTAX       TimeTicks
  671.  
  672.  
  673. TimeInterval ::= TEXTUAL-CONVENTION
  674.     STATUS       current
  675.     DESCRIPTION
  676.             "A period of time, measured in units of 0.01 seconds."
  677.     SYNTAX       INTEGER (0..2147483647)
  678.  
  679.  
  680. DateAndTime ::= TEXTUAL-CONVENTION
  681.     DISPLAY-HINT "2d-1d-1d,1d:1d:1d.1d,1a1d:1d"
  682.     STATUS       current
  683.     DESCRIPTION
  684.             "A date-time specification.
  685.  
  686.              field  octets  contents                  range
  687.              -----  ------  --------                  -----
  688.                1      1-2   year                      0..65536
  689.                2       3    month                     1..12
  690.                3       4    day                       1..31
  691.                4       5    hour                      0..23
  692.                5       6    minutes                   0..59
  693.                6       7    seconds                   0..60
  694.                             (use 60 for leap-second)
  695.                7       8    deci-seconds              0..9
  696.                8       9    direction from UTC        '+' / '-'
  697.                9      10    hours from UTC            0..11
  698.               10      11    minutes from UTC          0..59
  699.  
  700.             For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be
  701.             displayed as:
  702.  
  703.                              1992-5-26,13:30:15.0,-4:0
  704.  
  705.             Note that if only local time is known, then timezone
  706.             information (fields 8-10) is not present."
  707.     SYNTAX       OCTET STRING (SIZE (8 | 11))
  708.  
  709.  
  710. StorageType ::= TEXTUAL-CONVENTION
  711.     STATUS       current
  712.     DESCRIPTION
  713.             "Describes the memory realization of a conceptual row.  A
  714.             row which is volatile(2) is lost upon reboot.  A row which
  715.             is either nonVolatile(3), permanent(4) or readOnly(5), is
  716.             backed up by stable storage.  A row which is permanent(4)
  717.             can be changed but not deleted.  A row which is readOnly(5)
  718.             cannot be changed nor deleted.
  719.  
  720.             If the value of an object with this syntax is either
  721.             permanent(4) or readOnly(5), it cannot be modified.
  722.             Conversely, if the value is either other(1), volatile(2) or
  723.             nonVolatile(3), it cannot be modified to be permanent(4) or
  724.             readOnly(5).
  725.  
  726.             Every usage of this textual convention is required to
  727.             specify the columnar objects which a permanent(4) row must
  728.             at a minimum allow to be writable."
  729.     SYNTAX       INTEGER {
  730.                      other(1),       -- eh?
  731.                      volatile(2),    -- e.g., in RAM
  732.                      nonVolatile(3), -- e.g., in NVRAM
  733.                      permanent(4),   -- e.g., partially in ROM
  734.                      readOnly(5)     -- e.g., completely in ROM
  735.                  }
  736.  
  737.  
  738. TDomain ::= TEXTUAL-CONVENTION
  739.     STATUS       current
  740.     DESCRIPTION
  741.           "Denotes a kind of transport service.
  742.  
  743.           Some possible values, such as snmpUDPDomain, are defined in
  744.           'Transport Mappings for Version 2 of the Simple Network
  745.           Management Protocol (SNMPv2)'."
  746.     SYNTAX       OBJECT IDENTIFIER
  747.  
  748.  
  749. TAddress ::= TEXTUAL-CONVENTION
  750.     STATUS       current
  751.     DESCRIPTION
  752.           "Denotes a transport service address.
  753.  
  754.           For snmpUDPDomain, a TAddress is 6 octets long, the initial 4
  755.           octets containing the IP-address in network-byte order and the
  756.           last 2 containing the UDP port in network-byte order.  Consult
  757.           'Transport Mappings for Version 2 of the Simple Network
  758.           Management Protocol (SNMPv2)' for further information on
  759.           snmpUDPDomain."
  760.     SYNTAX       OCTET STRING (SIZE (1..255))
  761.  
  762.  
  763. END
  764.