NET-SNMP-VACM-MIB.txt 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. NET-SNMP-VACM-MIB DEFINITIONS ::= BEGIN
  2. --
  3. -- Defines Net-SNMP extensions to the standard VACM view table.
  4. --
  5. IMPORTS
  6. SnmpAdminString
  7. FROM SNMP-FRAMEWORK-MIB
  8. netSnmpObjects, netSnmpGroups
  9. FROM NET-SNMP-MIB
  10. vacmGroupName, vacmAccessContextPrefix, vacmAccessSecurityModel,
  11. vacmAccessSecurityLevel
  12. FROM SNMP-VIEW-BASED-ACM-MIB
  13. OBJECT-TYPE, MODULE-IDENTITY
  14. FROM SNMPv2-SMI
  15. OBJECT-GROUP, NOTIFICATION-GROUP
  16. FROM SNMPv2-CONF
  17. TEXTUAL-CONVENTION, DisplayString, RowStatus, StorageType
  18. FROM SNMPv2-TC;
  19. netSnmpVacmMIB MODULE-IDENTITY
  20. LAST-UPDATED "200608270000Z"
  21. ORGANIZATION "www.net-snmp.org"
  22. CONTACT-INFO
  23. "postal: Wes Hardaker
  24. P.O. Box 382
  25. Davis CA 95617
  26. email: net-snmp-coders@lists.sourceforge.net"
  27. DESCRIPTION
  28. "Defines Net-SNMP extensions to the standard VACM view table."
  29. REVISION "200608270000Z"
  30. DESCRIPTION
  31. "First draft"
  32. ::= { netSnmpObjects 9 }
  33. nsVacmAccessTable OBJECT-TYPE
  34. SYNTAX SEQUENCE OF NsVacmAccessEntry
  35. MAX-ACCESS not-accessible
  36. STATUS current
  37. DESCRIPTION "Net-SNMP extensions to vacmAccessTable."
  38. ::= { netSnmpVacmMIB 1 }
  39. nsVacmAccessEntry OBJECT-TYPE
  40. SYNTAX NsVacmAccessEntry
  41. MAX-ACCESS not-accessible
  42. STATUS current
  43. DESCRIPTION "Net-SNMP extensions to vacmAccessTable."
  44. INDEX { vacmGroupName,
  45. vacmAccessContextPrefix,
  46. vacmAccessSecurityModel,
  47. vacmAccessSecurityLevel,
  48. nsVacmAuthType
  49. }
  50. ::= { nsVacmAccessTable 1 }
  51. NsVacmAccessEntry ::= SEQUENCE
  52. {
  53. nsVacmAuthType SnmpAdminString,
  54. nsVacmContextMatch INTEGER,
  55. nsVacmViewName SnmpAdminString,
  56. nsVacmStorageType StorageType,
  57. nsVacmStatus RowStatus
  58. }
  59. nsVacmAuthType OBJECT-TYPE
  60. SYNTAX SnmpAdminString (SIZE(0..32))
  61. MAX-ACCESS not-accessible
  62. STATUS current
  63. DESCRIPTION "The type of processing that the specified view
  64. should be applied to. See 'snmpd.conf(5)' and
  65. 'snmptrapd.conf(5)' for details."
  66. ::= { nsVacmAccessEntry 1 }
  67. nsVacmContextMatch OBJECT-TYPE
  68. SYNTAX INTEGER
  69. { exact (1), -- exact match of prefix and contextName
  70. prefix (2) -- Only match to the prefix
  71. }
  72. MAX-ACCESS read-create
  73. STATUS current
  74. DESCRIPTION "If the value of this object is exact(1), then all
  75. rows where the contextName exactly matches
  76. vacmAccessContextPrefix are selected.
  77. If the value of this object is prefix(2), then all
  78. rows where the contextName whose starting octets
  79. exactly match vacmAccessContextPrefix are selected.
  80. This allows for a simple form of wildcarding.
  81. The value of this object should be consistent across
  82. all nsVacmAccessEntries corresponding to a single
  83. row of the vacmAccessTable.
  84. "
  85. DEFVAL { exact }
  86. ::= { nsVacmAccessEntry 2 }
  87. nsVacmViewName OBJECT-TYPE
  88. SYNTAX SnmpAdminString (SIZE(0..32))
  89. MAX-ACCESS read-create
  90. STATUS current
  91. DESCRIPTION "The MIB view authorised for the appropriate style
  92. of processing (as indicated by nsVacmToken).
  93. The interpretation of this value is the same as for
  94. the standard VACM ViewName objects."
  95. DEFVAL { ''H } -- the empty string
  96. ::= { nsVacmAccessEntry 3 }
  97. nsVacmStorageType OBJECT-TYPE
  98. SYNTAX StorageType
  99. MAX-ACCESS read-create
  100. STATUS current
  101. DESCRIPTION "The storage type for this (group of) conceptual rows.
  102. Conceptual rows having the value 'permanent' need not
  103. allow write-access to any columnar objects in the row.
  104. The value of this object should be consistent across
  105. all nsVacmAccessEntries corresponding to a single
  106. row of the vacmAccessTable.
  107. "
  108. DEFVAL { nonVolatile }
  109. ::= { nsVacmAccessEntry 4 }
  110. nsVacmStatus OBJECT-TYPE
  111. SYNTAX RowStatus
  112. MAX-ACCESS read-create
  113. STATUS current
  114. DESCRIPTION "The status of this (group of) conceptual rows.
  115. The RowStatus TC [RFC2579] requires that this
  116. DESCRIPTION clause states under which circumstances
  117. other objects in this row can be modified:
  118. The value of this object has no effect on whether
  119. other objects in this conceptual row can be modified.
  120. The value of this object should be consistent across
  121. all nsVacmAccessEntries corresponding to a single
  122. row of the vacmAccessTable.
  123. "
  124. ::= { nsVacmAccessEntry 5 }
  125. END