bridge_tree.def revision 164410
1#- 2# Copyright (c) 2006 Shteryana Shopova <syrinx@FreeBSD.org> 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright 9# notice, this list of conditions and the following disclaimer. 10# 2. Redistributions in binary form must reproduce the above copyright 11# notice, this list of conditions and the following disclaimer in the 12# documentation and/or other materials provided with the distribution. 13# 14# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24# SUCH DAMAGE. 25# 26# $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_tree.def 164410 2006-11-19 15:42:48Z syrinx $ 27# 28 29#include "tc.def" 30 31typedef TruthValue ENUM ( 32 1 true 33 2 false 34) 35 36typedef RowStatus ENUM ( 37 1 active 38 2 notInService 39 3 notReady 40 4 createAndGo 41 5 createAndWait 42 6 destroy 43) 44 45typedef StpPortState ENUM ( 46 1 disabled 47 2 blocking 48 3 listening 49 4 learning 50 5 forwarding 51 6 broken 52) 53 54typedef BaseType ENUM ( 55 1 unknown 56 2 transparent-only 57 3 sourceroute-only 58 4 srt 59) 60 61typedef TpFdbStatus ENUM ( 62 1 other 63 2 invalid 64 3 learned 65 4 self 66 5 mgmt 67) 68 69(1 internet 70 (2 mgmt 71 (1 mib_2 72 (17 dot1dBridge 73 (0 dot1dNotifications 74 (1 newRoot OID op_snmp_trap) 75 (2 topologyChange OID op_snmp_trap) 76 ) 77 (1 dot1dBase 78 (1 dot1dBaseBridgeAddress OCTETSTRING | MacAddress op_dot1d_base GET) 79 (2 dot1dBaseNumPorts INTEGER32 op_dot1d_base GET) 80 (3 dot1dBaseType BaseType op_dot1d_base GET) 81 (4 dot1dBasePortTable 82 (1 dot1dBasePortEntry : INTEGER op_dot1d_base_port 83 (1 dot1dBasePort INTEGER GET) 84 (2 dot1dBasePortIfIndex INTEGER GET) 85 (3 dot1dBasePortCircuit OID GET) 86 (4 dot1dBasePortDelayExceededDiscards COUNTER GET) 87 (5 dot1dBasePortMtuExceededDiscards COUNTER GET) 88 )) 89 ) 90 (2 dot1dStp 91 (1 dot1dStpProtocolSpecification ENUM ( 1 unknown 2 decLb100 3 ieee8021d ) op_dot1d_stp GET) 92 (2 dot1dStpPriority INTEGER op_dot1d_stp GET SET) 93 (3 dot1dStpTimeSinceTopologyChange TIMETICKS op_dot1d_stp GET) 94 (4 dot1dStpTopChanges COUNTER op_dot1d_stp GET) 95 (5 dot1dStpDesignatedRoot OCTETSTRING | BridgeId op_dot1d_stp GET) 96 (6 dot1dStpRootCost INTEGER32 op_dot1d_stp GET) 97 (7 dot1dStpRootPort INTEGER32 op_dot1d_stp GET) 98 (8 dot1dStpMaxAge INTEGER op_dot1d_stp GET) 99 (9 dot1dStpHelloTime INTEGER op_dot1d_stp GET) 100 (10 dot1dStpHoldTime INTEGER32 op_dot1d_stp GET) 101 (11 dot1dStpForwardDelay INTEGER op_dot1d_stp GET) 102 (12 dot1dStpBridgeMaxAge INTEGER op_dot1d_stp GET SET) 103 (13 dot1dStpBridgeHelloTime INTEGER op_dot1d_stp GET SET) 104 (14 dot1dStpBridgeForwardDelay INTEGER op_dot1d_stp GET SET) 105 (15 dot1dStpPortTable 106 (1 dot1dStpPortEntry : INTEGER op_dot1d_stp_port 107 (1 dot1dStpPort INTEGER GET) 108 (2 dot1dStpPortPriority INTEGER GET SET) 109 (3 dot1dStpPortState StpPortState GET) 110 (4 dot1dStpPortEnable ENUM ( 1 enabled 2 disabled ) GET SET) 111 (5 dot1dStpPortPathCost INTEGER GET SET) 112 (6 dot1dStpPortDesignatedRoot OCTETSTRING | BridgeId GET) 113 (7 dot1dStpPortDesignatedCost INTEGER32 GET) 114 (8 dot1dStpPortDesignatedBridge OCTETSTRING | BridgeId GET) 115 (9 dot1dStpPortDesignatedPort OCTETSTRING | BridgePortId GET) 116 (10 dot1dStpPortForwardTransitions COUNTER GET) 117 )) 118 ) 119 (3 dot1dSr 120 ) 121 (4 dot1dTp 122 (1 dot1dTpLearnedEntryDiscards COUNTER op_dot1d_tp GET) 123 (2 dot1dTpAgingTime INTEGER op_dot1d_tp GET SET) 124 (3 dot1dTpFdbTable 125 (1 dot1dTpFdbEntry : OCTETSTRING | MacAddress op_dot1d_tp_fdb 126 (1 dot1dTpFdbAddress OCTETSTRING | MacAddress GET) 127 (2 dot1dTpFdbPort INTEGER32 GET) 128 (3 dot1dTpFdbStatus TpFdbStatus GET) 129 )) 130 (4 dot1dTpPortTable 131 (1 dot1dTpPortEntry : INTEGER op_dot1d_tp_port 132 (1 dot1dTpPort INTEGER GET) 133 (2 dot1dTpPortMaxInfo INTEGER32 GET) 134 (3 dot1dTpPortInFrames COUNTER GET) 135 (4 dot1dTpPortOutFrames COUNTER GET) 136 (5 dot1dTpPortInDiscards COUNTER GET) 137 )) 138 ) 139 (5 dot1dStatic 140 ) 141 (8 dot1dConformance 142 (1 dot1dGroups 143 ) 144 (2 dot1dCompliances 145 ) 146 ) 147 ))) 148 (4 private 149 (1 enterprises 150 (12325 fokus 151 (1 begemot 152 (205 begemotBridge 153 (0 begemotBridgeNotifications 154 (1 begemotBridgeNewRoot OID op_snmp_trap) 155 (2 begemotBridgeTopologyChange OID op_snmp_trap) 156 ) 157 (1 begemotBridgeBase 158 (1 begemotBridgeBaseTable 159 (1 begemotBridgeBaseEntry : OCTETSTRING | BridgeIfName op_begemot_base_bridge 160 (1 begemotBridgeBaseName OCTETSTRING | BridgeIfName GET) 161 (2 begemotBridgeBaseAddress OCTETSTRING | MacAddress GET) 162 (3 begemotBridgeBaseNumPorts INTEGER32 GET) 163 (4 begemotBridgeBaseType BaseType GET) 164 (5 begemotBridgeBaseStatus RowStatus GET SET) 165 )) 166 (2 begemotBridgeBasePortTable 167 (1 begemotBridgeBasePortEntry : OCTETSTRING | BridgeIfName INTEGER op_begemot_base_port 168 (1 begemotBridgeBasePort INTEGER GET) 169 (2 begemotBridgeBasePortIfIndex INTEGER GET) 170 (3 begemotBridgeBaseSpanEnabled ENUM ( 1 enabled 2 disabled ) GET SET) 171 (4 begemotBridgeBasePortDelayExceededDiscards COUNTER GET) 172 (5 begemotBridgeBasePortMtuExceededDiscards COUNTER GET) 173 (6 begemotBridgeBasePortStatus RowStatus GET SET) 174 )) 175 ) 176 (2 begemotBridgeStp 177 (1 begemotBridgeStpTable 178 (1 begemotBridgeStpEntry : OCTETSTRING | BridgeIfName op_begemot_stp 179 (1 begemotBridgeStpProtocolSpecification ENUM ( 1 unknown 2 decLb100 3 ieee8021d ) GET) 180 (2 begemotBridgeStpPriority INTEGER GET SET) 181 (3 begemotBridgeStpTimeSinceTopologyChange TIMETICKS GET) 182 (4 begemotBridgeStpTopChanges COUNTER GET) 183 (5 begemotBridgeStpDesignatedRoot OCTETSTRING | BridgeId GET) 184 (6 begemotBridgeStpRootCost INTEGER32 GET) 185 (7 begemotBridgeStpRootPort INTEGER32 GET) 186 (8 begemotBridgeStpMaxAge INTEGER GET) 187 (9 begemotBridgeStpHelloTime INTEGER GET) 188 (10 begemotBridgeStpHoldTime INTEGER32 GET) 189 (11 begemotBridgeStpForwardDelay INTEGER GET) 190 (12 begemotBridgeStpBridgeMaxAge INTEGER GET SET) 191 (13 begemotBridgeStpBridgeHelloTime INTEGER GET SET) 192 (14 begemotBridgeStpBridgeForwardDelay INTEGER GET SET) 193 )) 194 (2 begemotBridgeStpPortTable 195 (1 begemotBridgeStpPortEntry : OCTETSTRING | BridgeIfName INTEGER op_begemot_stp_port 196 (1 begemotBridgeStpPort INTEGER GET) 197 (2 begemotBridgeStpPortPriority INTEGER GET SET) 198 (3 begemotBridgeStpPortState StpPortState GET) 199 (4 begemotBridgeStpPortEnable ENUM ( 1 enabled 2 disabled ) GET SET) 200 (5 begemotBridgeStpPortPathCost INTEGER GET SET) 201 (6 begemotBridgeStpPortDesignatedRoot OCTETSTRING | BridgeId GET) 202 (7 begemotBridgeStpPortDesignatedCost INTEGER32 GET) 203 (8 begemotBridgeStpPortDesignatedBridge OCTETSTRING | BridgeId GET) 204 (9 begemotBridgeStpPortDesignatedPort OCTETSTRING | BridgePortId GET) 205 (10 begemotBridgeStpPortForwardTransitions COUNTER GET) 206 )) 207 ) 208 (3 begemotBridgeTp 209 (1 begemotBridgeTpTable 210 (1 begemotBridgeTpEntry : OCTETSTRING | BridgeIfName op_begemot_tp 211 (1 begemotBridgeTpLearnedEntryDiscards COUNTER GET) 212 (2 begemotBridgeTpAgingTime INTEGER GET SET) 213 (3 begemotBridgeTpMaxAddresses INTEGER GET SET) 214 )) 215 (2 begemotBridgeTpFdbTable 216 (1 begemotBridgeTpFdbEntry : OCTETSTRING | BridgeIfName OCTETSTRING | MacAddress op_begemot_tp_fdb 217 (1 begemotBridgeTpFdbAddress OCTETSTRING | MacAddress GET) 218 (2 begemotBridgeTpFdbPort INTEGER32 GET) 219 (3 begemotBridgeTpFdbStatus TpFdbStatus GET) 220 )) 221 (3 begemotBridgeTpPortTable 222 (1 begemotBridgeTpPortEntry : OCTETSTRING | BridgeIfName INTEGER op_begemot_tp_port 223 (1 begemotBridgeTpPort INTEGER GET) 224 (2 begemotBridgeTpPortMaxInfo INTEGER32 GET) 225 (3 begemotBridgeTpPortInFrames COUNTER GET) 226 (4 begemotBridgeTpPortOutFrames COUNTER GET) 227 (5 begemotBridgeTpPortInDiscards COUNTER GET) 228 )) 229 ) 230 (4 begemotBridgePf 231 (1 begemotBridgePfilStatus TruthValue op_begemot_bridge_pf GET SET) 232 (2 begemotBridgePfilMembers TruthValue op_begemot_bridge_pf GET SET) 233 (3 begemotBridgePfilIpOnly TruthValue op_begemot_bridge_pf GET SET) 234 (4 begemotBridgeLayer2PfStatus ENUM ( 1 enabled 2 disabled ) op_begemot_bridge_pf GET SET) 235 ) 236 (5 begemotBridgeConfigObjects 237 (1 begemotBridgeDefaultBridgeIf OCTETSTRING | BridgeIfNameOrEmpty op_begemot_bridge_config GET SET) 238 (2 begemotBridgeDataUpdate INTEGER op_begemot_bridge_config GET SET) 239 (3 begemotBridgeDataPoll INTEGER op_begemot_bridge_config GET SET) 240 ) 241 ))))) 242) 243