summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_tree.def
blob: 2e88e5ed54fb3c2e5558d49a717a631234424b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
#-
# Copyright (c) 2006 Shteryana Shopova <syrinx@FreeBSD.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD$
#

#include "tc.def"

typedef RowStatus ENUM (
	1 active
	2 notInService
	3 notReady
	4 createAndGo
	5 createAndWait
	6 destroy
)

typedef TruthValue ENUM (
	1 true
	2 false
)

typedef StpPortState ENUM (
	1 disabled
	2 blocking
	3 listening
	4 learning
	5 forwarding
	6 broken
)

typedef StpPortAdminPointToPointType ENUM (
	0 forceTrue
	1 forceFalse
	2 auto
)

typedef BaseType ENUM (
	1 unknown
	2 transparent-only
	3 sourceroute-only
	4 srt
)

typedef TpFdbStatus ENUM (
	1 other
	2 invalid
	3 learned
	4 self
	5 mgmt
)

(1 internet
  (2 mgmt
    (1 mib_2
      (17 dot1dBridge
        (0 dot1dNotifications
          (1 newRoot OID op_snmp_trap)
          (2 topologyChange OID op_snmp_trap)
        )
        (1 dot1dBase
          (1 dot1dBaseBridgeAddress OCTETSTRING | MacAddress op_dot1d_base GET)
          (2 dot1dBaseNumPorts INTEGER32 op_dot1d_base GET)
          (3 dot1dBaseType BaseType op_dot1d_base GET)
          (4 dot1dBasePortTable
            (1 dot1dBasePortEntry : INTEGER op_dot1d_base_port
              (1 dot1dBasePort INTEGER GET)
              (2 dot1dBasePortIfIndex INTEGER GET)
              (3 dot1dBasePortCircuit OID GET)
              (4 dot1dBasePortDelayExceededDiscards COUNTER GET)
              (5 dot1dBasePortMtuExceededDiscards COUNTER GET)
          ))
        )
        (2 dot1dStp
          (1 dot1dStpProtocolSpecification ENUM ( 1 unknown 2 decLb100 3 ieee8021d ) op_dot1d_stp GET)
          (2 dot1dStpPriority INTEGER op_dot1d_stp GET SET)
          (3 dot1dStpTimeSinceTopologyChange TIMETICKS op_dot1d_stp GET)
          (4 dot1dStpTopChanges COUNTER op_dot1d_stp GET)
          (5 dot1dStpDesignatedRoot OCTETSTRING | BridgeId op_dot1d_stp GET)
          (6 dot1dStpRootCost INTEGER32 op_dot1d_stp GET)
          (7 dot1dStpRootPort INTEGER32 op_dot1d_stp GET)
          (8 dot1dStpMaxAge INTEGER op_dot1d_stp GET)
          (9 dot1dStpHelloTime INTEGER op_dot1d_stp GET)
          (10 dot1dStpHoldTime INTEGER32 op_dot1d_stp GET)
          (11 dot1dStpForwardDelay INTEGER op_dot1d_stp GET)
          (12 dot1dStpBridgeMaxAge INTEGER op_dot1d_stp GET SET)
          (13 dot1dStpBridgeHelloTime INTEGER op_dot1d_stp GET SET)
          (14 dot1dStpBridgeForwardDelay INTEGER op_dot1d_stp GET SET)
          (15 dot1dStpPortTable
            (1 dot1dStpPortEntry : INTEGER op_dot1d_stp_port
              (1 dot1dStpPort INTEGER GET)
              (2 dot1dStpPortPriority INTEGER GET SET)
              (3 dot1dStpPortState StpPortState GET)
              (4 dot1dStpPortEnable ENUM ( 1 enabled 2 disabled ) GET SET)
              (5 dot1dStpPortPathCost INTEGER GET SET)
              (6 dot1dStpPortDesignatedRoot OCTETSTRING | BridgeId GET)
              (7 dot1dStpPortDesignatedCost INTEGER32 GET)
              (8 dot1dStpPortDesignatedBridge OCTETSTRING | BridgeId GET)
              (9 dot1dStpPortDesignatedPort OCTETSTRING | BridgePortId GET)
              (10 dot1dStpPortForwardTransitions COUNTER GET)
          ))
          (16 dot1dStpVersion ENUM ( 0 stpCompatible 2 rstp ) op_dot1d_stp GET SET)
          (17 dot1dStpTxHoldCount INTEGER op_dot1d_stp GET SET)
          (19 dot1dStpExtPortTable
            (1 dot1dStpExtPortEntry : INTEGER op_dot1d_stp_ext_port
              (1 dot1dStpPortProtocolMigration TruthValue GET)	# SET
              (2 dot1dStpPortAdminEdgePort TruthValue GET SET)
              (3 dot1dStpPortOperEdgePort TruthValue GET)
              (4 dot1dStpPortAdminPointToPoint StpPortAdminPointToPointType GET SET)
              (5 dot1dStpPortOperPointToPoint TruthValue GET)
              (6 dot1dStpPortAdminPathCost INTEGER GET SET)
          ))
        )
        (3 dot1dSr
        )
        (4 dot1dTp
          (1 dot1dTpLearnedEntryDiscards COUNTER op_dot1d_tp GET)
          (2 dot1dTpAgingTime INTEGER op_dot1d_tp GET SET)
          (3 dot1dTpFdbTable
            (1 dot1dTpFdbEntry : OCTETSTRING | MacAddress op_dot1d_tp_fdb
              (1 dot1dTpFdbAddress OCTETSTRING | MacAddress GET)
              (2 dot1dTpFdbPort INTEGER32 GET)
              (3 dot1dTpFdbStatus TpFdbStatus GET)
          ))
          (4 dot1dTpPortTable
            (1 dot1dTpPortEntry : INTEGER op_dot1d_tp_port
              (1 dot1dTpPort INTEGER GET)
              (2 dot1dTpPortMaxInfo INTEGER32 GET)
              (3 dot1dTpPortInFrames COUNTER GET)
              (4 dot1dTpPortOutFrames COUNTER GET)
              (5 dot1dTpPortInDiscards COUNTER GET)
          ))
        )
        (5 dot1dStatic
        )
        (8 dot1dConformance
          (1 dot1dGroups
          )
          (2 dot1dCompliances
          )
        )
      )
      (134 rstpMIB
        (0 rstpNotifications
        )
        (1 rstpObjects
        )
        (2 rstpConformance
          (1 rstpGroups
          )
          (2 rstpCompliances
          )
        )
  )))
  (4 private
    (1 enterprises
      (12325 fokus
        (1 begemot
          (205 begemotBridge
            (0 begemotBridgeNotifications
              (1 begemotBridgeNewRoot OID op_snmp_trap)
              (2 begemotBridgeTopologyChange OID op_snmp_trap)
            )
            (1 begemotBridgeBase
              (1 begemotBridgeBaseTable
                (1 begemotBridgeBaseEntry : OCTETSTRING | BridgeIfName op_begemot_base_bridge
                  (1 begemotBridgeBaseName OCTETSTRING | BridgeIfName GET)
                  (2 begemotBridgeBaseAddress OCTETSTRING | MacAddress GET)
                  (3 begemotBridgeBaseNumPorts INTEGER32 GET)
                  (4 begemotBridgeBaseType BaseType GET)
                  (5 begemotBridgeBaseStatus RowStatus GET SET)
              ))
              (2 begemotBridgeBasePortTable
                (1 begemotBridgeBasePortEntry : OCTETSTRING | BridgeIfName INTEGER op_begemot_base_port
                  (1 begemotBridgeBasePort INTEGER GET)
                  (2 begemotBridgeBasePortIfIndex INTEGER GET)
                  (3 begemotBridgeBaseSpanEnabled ENUM ( 1 enabled 2 disabled ) GET SET)
                  (4 begemotBridgeBasePortDelayExceededDiscards COUNTER GET)
                  (5 begemotBridgeBasePortMtuExceededDiscards COUNTER GET)
                  (6 begemotBridgeBasePortStatus RowStatus GET SET)
                  (7 begemotBridgeBasePortPrivate TruthValue GET SET)
              ))
            )
            (2 begemotBridgeStp
              (1 begemotBridgeStpTable
                (1 begemotBridgeStpEntry : OCTETSTRING | BridgeIfName op_begemot_stp
                  (1 begemotBridgeStpProtocolSpecification ENUM ( 1 unknown 2 decLb100 3 ieee8021d ) GET)
                  (2 begemotBridgeStpPriority INTEGER GET SET)
                  (3 begemotBridgeStpTimeSinceTopologyChange TIMETICKS GET)
                  (4 begemotBridgeStpTopChanges COUNTER GET)
                  (5 begemotBridgeStpDesignatedRoot OCTETSTRING | BridgeId GET)
                  (6 begemotBridgeStpRootCost INTEGER32 GET)
                  (7 begemotBridgeStpRootPort INTEGER32 GET)
                  (8 begemotBridgeStpMaxAge INTEGER GET)
                  (9 begemotBridgeStpHelloTime INTEGER GET)
                  (10 begemotBridgeStpHoldTime INTEGER32 GET)
                  (11 begemotBridgeStpForwardDelay INTEGER GET)
                  (12 begemotBridgeStpBridgeMaxAge INTEGER GET SET)
                  (13 begemotBridgeStpBridgeHelloTime INTEGER GET SET)
                  (14 begemotBridgeStpBridgeForwardDelay INTEGER GET SET)
                  (15 begemotBridgeStpVersion ENUM ( 0 stpCompatible 2 rstp ) GET SET)
                  (16 begemotBridgeStpTxHoldCount INTEGER GET SET)
              ))
              (2 begemotBridgeStpPortTable
                (1 begemotBridgeStpPortEntry : OCTETSTRING | BridgeIfName INTEGER op_begemot_stp_port
                  (1 begemotBridgeStpPort INTEGER GET)
                  (2 begemotBridgeStpPortPriority INTEGER GET SET)
                  (3 begemotBridgeStpPortState StpPortState GET)
                  (4 begemotBridgeStpPortEnable ENUM ( 1 enabled 2 disabled ) GET SET)
                  (5 begemotBridgeStpPortPathCost INTEGER GET SET)
                  (6 begemotBridgeStpPortDesignatedRoot OCTETSTRING | BridgeId GET)
                  (7 begemotBridgeStpPortDesignatedCost INTEGER32 GET)
                  (8 begemotBridgeStpPortDesignatedBridge OCTETSTRING | BridgeId GET)
                  (9 begemotBridgeStpPortDesignatedPort OCTETSTRING | BridgePortId GET)
                  (10 begemotBridgeStpPortForwardTransitions COUNTER GET)
              ))
              (3 begemotBridgeStpExtPortTable
                (1 begemotBridgeStpExtPortEntry : OCTETSTRING | BridgeIfName INTEGER op_begemot_stp_ext_port
                  (1 begemotBridgeStpPortProtocolMigration TruthValue GET)	# SET
                  (2 begemotBridgeStpPortAdminEdgePort TruthValue GET SET)
                  (3 begemotBridgeStpPortOperEdgePort TruthValue GET)
                  (4 begemotBridgeStpPortAdminPointToPoint StpPortAdminPointToPointType GET SET)
                  (5 begemotBridgeStpPortOperPointToPoint TruthValue GET)
                  (6 begemotBridgeStpPortAdminPathCost INTEGER GET SET)
              ))
            )
            (3 begemotBridgeTp
              (1 begemotBridgeTpTable
                (1 begemotBridgeTpEntry : OCTETSTRING | BridgeIfName op_begemot_tp
                  (1 begemotBridgeTpLearnedEntryDiscards COUNTER GET)
                  (2 begemotBridgeTpAgingTime INTEGER GET SET)
                  (3 begemotBridgeTpMaxAddresses INTEGER GET SET)
              ))
              (2 begemotBridgeTpFdbTable
                (1 begemotBridgeTpFdbEntry : OCTETSTRING | BridgeIfName OCTETSTRING | MacAddress op_begemot_tp_fdb
                  (1 begemotBridgeTpFdbAddress OCTETSTRING | MacAddress GET)
                  (2 begemotBridgeTpFdbPort INTEGER32 GET)
                  (3 begemotBridgeTpFdbStatus TpFdbStatus GET)
              ))
              (3 begemotBridgeTpPortTable
                (1 begemotBridgeTpPortEntry : OCTETSTRING | BridgeIfName INTEGER op_begemot_tp_port
                  (1 begemotBridgeTpPort INTEGER GET)
                  (2 begemotBridgeTpPortMaxInfo INTEGER32 GET)
                  (3 begemotBridgeTpPortInFrames COUNTER GET)
                  (4 begemotBridgeTpPortOutFrames COUNTER GET)
                  (5 begemotBridgeTpPortInDiscards COUNTER GET)
              ))
            )
            (4 begemotBridgePf
              (1 begemotBridgePfilStatus TruthValue op_begemot_bridge_pf GET SET)
              (2 begemotBridgePfilMembers TruthValue op_begemot_bridge_pf GET SET)
              (3 begemotBridgePfilIpOnly TruthValue op_begemot_bridge_pf GET SET)
              (4 begemotBridgeLayer2PfStatus ENUM ( 1 enabled 2 disabled ) op_begemot_bridge_pf GET SET)
            )
            (5 begemotBridgeConfigObjects
              (1 begemotBridgeDefaultBridgeIf OCTETSTRING | BridgeIfNameOrEmpty op_begemot_bridge_config GET SET)
              (2 begemotBridgeDataUpdate INTEGER op_begemot_bridge_config GET SET)
              (3 begemotBridgeDataPoll INTEGER op_begemot_bridge_config GET SET)
	    )
  )))))
)
OpenPOWER on IntegriCloud