Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

272 lines
8.9 KiB

  1. RFC1318-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. Counter
  4. FROM RFC1155-SMI
  5. transmission
  6. FROM RFC1213-MIB
  7. OBJECT-TYPE
  8. FROM RFC-1212;
  9. -- this is the MIB module for Parallel-printer-like
  10. -- hardware devices
  11. para OBJECT IDENTIFIER ::= { transmission 34 }
  12. -- the generic Parallel-printer-like group
  13. -- Implementation of this group is mandatory for all
  14. -- systems that have Parallel-printer-like hardware
  15. -- ports supporting higher level services such as
  16. -- character streams
  17. paraNumber OBJECT-TYPE
  18. SYNTAX INTEGER
  19. ACCESS read-only
  20. STATUS mandatory
  21. DESCRIPTION
  22. "The number of ports (regardless of their current
  23. state) in the Parallel-printer-like port table."
  24. ::= { para 1 }
  25. -- the Parallel-printer-like Port table
  26. paraPortTable OBJECT-TYPE
  27. SYNTAX SEQUENCE OF ParaPortEntry
  28. ACCESS not-accessible
  29. STATUS mandatory
  30. DESCRIPTION
  31. "A list of port entries. The number of entries is
  32. given by the value of paraNumber."
  33. ::= { para 2 }
  34. paraPortEntry OBJECT-TYPE
  35. SYNTAX ParaPortEntry
  36. ACCESS not-accessible
  37. STATUS mandatory
  38. DESCRIPTION
  39. "Status and parameter values for a port."
  40. INDEX { paraPortIndex }
  41. ::= { paraPortTable 1 }
  42. ParaPortEntry ::=
  43. SEQUENCE {
  44. paraPortIndex
  45. INTEGER,
  46. paraPortType
  47. INTEGER,
  48. paraPortInSigNumber
  49. INTEGER,
  50. paraPortOutSigNumber
  51. INTEGER
  52. }
  53. paraPortIndex OBJECT-TYPE
  54. SYNTAX INTEGER
  55. ACCESS read-only
  56. STATUS mandatory
  57. DESCRIPTION
  58. "A unique value for each port. Its value ranges
  59. between 1 and the value of paraNumber. By
  60. convention and if possible, hardware port numbers
  61. map directly to external connectors. The value for
  62. each port must remain constant at least from one
  63. re-initialization of the network management agent to
  64. the next."
  65. ::= { paraPortEntry 1 }
  66. paraPortType OBJECT-TYPE
  67. SYNTAX INTEGER {
  68. other(1),
  69. centronics(2),
  70. dataproducts(3)
  71. }
  72. ACCESS read-only
  73. STATUS mandatory
  74. DESCRIPTION
  75. "The port's hardware type."
  76. ::= { paraPortEntry 2 }
  77. paraPortInSigNumber OBJECT-TYPE
  78. SYNTAX INTEGER
  79. ACCESS read-only
  80. STATUS mandatory
  81. DESCRIPTION
  82. "The number of input signals for the port in the
  83. input signal table (paraPortInSigTable). The table
  84. contains entries only for those signals the software
  85. can detect."
  86. ::= { paraPortEntry 3 }
  87. paraPortOutSigNumber OBJECT-TYPE
  88. SYNTAX INTEGER
  89. ACCESS read-only
  90. STATUS mandatory
  91. DESCRIPTION
  92. "The number of output signals for the port in the
  93. output signal table (paraPortOutSigTable). The
  94. table contains entries only for those signals the
  95. software can assert."
  96. ::= { paraPortEntry 4 }
  97. -- the Input Signal table
  98. paraInSigTable OBJECT-TYPE
  99. SYNTAX SEQUENCE OF ParaInSigEntry
  100. ACCESS not-accessible
  101. STATUS mandatory
  102. DESCRIPTION
  103. "A list of port input control signal entries."
  104. ::= { para 3 }
  105. paraInSigEntry OBJECT-TYPE
  106. SYNTAX ParaInSigEntry
  107. ACCESS not-accessible
  108. STATUS mandatory
  109. DESCRIPTION
  110. "Input control signal status for a hardware port."
  111. INDEX { paraInSigPortIndex, paraInSigName }
  112. ::= { paraInSigTable 1 }
  113. ParaInSigEntry ::=
  114. SEQUENCE {
  115. paraInSigPortIndex
  116. INTEGER,
  117. paraInSigName
  118. INTEGER,
  119. paraInSigState
  120. INTEGER,
  121. paraInSigChanges
  122. Counter
  123. }
  124. paraInSigPortIndex OBJECT-TYPE
  125. SYNTAX INTEGER
  126. ACCESS read-only
  127. STATUS mandatory
  128. DESCRIPTION
  129. "The value of paraPortIndex for the port to which
  130. this entry belongs."
  131. ::= { paraInSigEntry 1 }
  132. paraInSigName OBJECT-TYPE
  133. SYNTAX INTEGER { power(1), online(2), busy(3),
  134. paperout(4), fault(5) }
  135. ACCESS read-only
  136. STATUS mandatory
  137. DESCRIPTION
  138. "Identification of a hardware signal."
  139. ::= { paraInSigEntry 2 }
  140. paraInSigState OBJECT-TYPE
  141. SYNTAX INTEGER { none(1), on(2), off(3) }
  142. ACCESS read-only
  143. STATUS mandatory
  144. DESCRIPTION
  145. "The current signal state."
  146. ::= { paraInSigEntry 3 }
  147. paraInSigChanges OBJECT-TYPE
  148. SYNTAX Counter
  149. ACCESS read-only
  150. STATUS mandatory
  151. DESCRIPTION
  152. "The number of times the signal has changed from
  153. 'on' to 'off' or from 'off' to 'on'."
  154. ::= { paraInSigEntry 4 }
  155. -- the Output Signal table
  156. paraOutSigTable OBJECT-TYPE
  157. SYNTAX SEQUENCE OF ParaOutSigEntry
  158. ACCESS not-accessible
  159. STATUS mandatory
  160. DESCRIPTION
  161. "A list of port output control signal entries."
  162. ::= { para 4 }
  163. paraOutSigEntry OBJECT-TYPE
  164. SYNTAX ParaOutSigEntry
  165. ACCESS not-accessible
  166. STATUS mandatory
  167. DESCRIPTION
  168. "Output control signal status for a hardware port."
  169. INDEX { paraOutSigPortIndex, paraOutSigName }
  170. ::= { paraOutSigTable 1 }
  171. ParaOutSigEntry ::=
  172. SEQUENCE {
  173. paraOutSigPortIndex
  174. INTEGER,
  175. paraOutSigName
  176. INTEGER,
  177. paraOutSigState
  178. INTEGER,
  179. paraOutSigChanges
  180. Counter
  181. }
  182. paraOutSigPortIndex OBJECT-TYPE
  183. SYNTAX INTEGER
  184. ACCESS read-only
  185. STATUS mandatory
  186. DESCRIPTION
  187. "The value of paraPortIndex for the port to which
  188. this entry belongs."
  189. ::= { paraOutSigEntry 1 }
  190. paraOutSigName OBJECT-TYPE
  191. SYNTAX INTEGER { power(1), online(2), busy(3),
  192. paperout(4), fault(5) }
  193. ACCESS read-only
  194. STATUS mandatory
  195. DESCRIPTION
  196. "Identification of a hardware signal."
  197. ::= { paraOutSigEntry 2 }
  198. paraOutSigState OBJECT-TYPE
  199. SYNTAX INTEGER { none(1), on(2), off(3) }
  200. ACCESS read-only
  201. STATUS mandatory
  202. DESCRIPTION
  203. "The current signal state."
  204. ::= { paraOutSigEntry 3 }
  205. paraOutSigChanges OBJECT-TYPE
  206. SYNTAX Counter
  207. ACCESS read-only
  208. STATUS mandatory
  209. DESCRIPTION
  210. "The number of times the signal has changed from
  211. 'on' to 'off' or from 'off' to 'on'."
  212. ::= { paraOutSigEntry 4 }
  213. END