1Dell-SMARTPORTS-MIB DEFINITIONS ::= BEGIN 2 3 4-- ------------------------------------------------------------- 5-- Banner MIB 6-- Title: Dell Smart Ports Private MIB 7-- This Private MIB manages smart ports macros 8-- Version: 7.47 9-- Date: 30 July 2008 10-- 11-- ------------------------------------------------------------- 12 13IMPORTS 14 rnd FROM Dell-MIB 15 TEXTUAL-CONVENTION,DisplayString FROM SNMPv2-TC 16 InterfaceIndexOrZero FROM IF-MIB 17 SnmpAdminString FROM SNMP-FRAMEWORK-MIB 18 EnabledStatus FROM P-BRIDGE-MIB 19 RowStatus FROM SNMPv2-TC 20 OBJECT-TYPE FROM SNMPv2-SMI; 21 22 23 rlSmartPorts MODULE-IDENTITY 24 LAST-UPDATED "200807300000Z" 25 ORGANIZATION "Dell" 26 CONTACT-INFO 27 "www.dell.com" 28 DESCRIPTION 29 "The private MIB module definition for Smart Ports - 30 provide a convenient way to save and share common configurations. 31 Smart Ports group a group of command to be applied on a port or a trunk 32 OR on a global configuration context. In addition Smart port 33 application provide a database per interface (or global configuration) 34 to list applied macros. 35 Each smart port macro can either a user-defined or pre-defined." 36 REVISION "200807300000Z" 37 DESCRIPTION 38 "Initial revision." 39 ::= { rnd 140 } 40 41 42-- ------------------------------------------------------------- 43-- Textual Conventions 44-- ------------------------------------------------------------- 45 46 47MacroType ::= TEXTUAL-CONVENTION 48 STATUS current 49 DESCRIPTION "Smart Ports macro type." 50 SYNTAX INTEGER { 51 rlSmartPortsMacroInterfaceVendorProvided(1), 52 rlSmartPortsMacroGloablVendorProvided(2), 53 rlSmartPortsMacroUserCreated(3) 54 55} 56 57RlSmartPortsMacroName ::= TEXTUAL-CONVENTION 58 STATUS current 59 DESCRIPTION 60 "Macro name." 61 SYNTAX DisplayString(SIZE(1..32)) 62 63RlSmartPortsMacroNameOrZero ::= TEXTUAL-CONVENTION 64 STATUS current 65 DESCRIPTION 66 "Macro name." 67 SYNTAX DisplayString(SIZE(0..32)) 68-- ------------------------------------------------------------- 69-- --------- Tables -------------------------------------- 70-- ------------------------------------------------------------- 71 72-- ------------------------------------------------------------- 73-- --------- rlSmartPortsMacroManageTable ---------------- 74-- ------------------------------------------------------------- 75 76 rlSmartPortsMacroManageTable OBJECT-TYPE 77 SYNTAX SEQUENCE OF RlSmartPortsMacroManageEntry 78 MAX-ACCESS not-accessible 79 STATUS current 80 DESCRIPTION 81 " The table listing available smart ports macros, 82 holding: 83 macro name 84 macro type: user defined, 85 Dell provided per interface 86 Dell provided globally 87 and matches a macro index to be used as identifier in 88 rlSmartPortsMacroContentTable where the macro content really IS 89 Allow to add/remove user defined macros." 90 ::= {rlSmartPorts 1 } 91 92 rlSmartPortsMacroManageEntry OBJECT-TYPE 93 SYNTAX RlSmartPortsMacroManageEntry 94 MAX-ACCESS not-accessible 95 STATUS current 96 DESCRIPTION 97 " An entry in the rlSmartPortsMacroManageTable." 98 INDEX { IMPLIED rlSmartPortsMacroName } 99 ::= {rlSmartPortsMacroManageTable 1 } 100 101 RlSmartPortsMacroManageEntry ::= SEQUENCE { 102 rlSmartPortsMacroName RlSmartPortsMacroName, 103 rlSmartPortsMacroIndex INTEGER, 104 rlSmartPortsMacroType MacroType, 105 rlSmartPortsMacroStatus RowStatus, 106 rlSmartPortsMacroKeywords DisplayString, 107 rlSmartPortsMacroDesc1 DisplayString, 108 rlSmartPortsMacroDesc2 DisplayString 109 } 110 111 rlSmartPortsMacroName OBJECT-TYPE 112 SYNTAX RlSmartPortsMacroName 113 MAX-ACCESS not-accessible 114 STATUS current 115 DESCRIPTION 116 "Macro name." 117 ::= { rlSmartPortsMacroManageEntry 1 } 118 119 rlSmartPortsMacroIndex OBJECT-TYPE 120 SYNTAX INTEGER 121 MAX-ACCESS read-write 122 STATUS current 123 DESCRIPTION 124 "This variable identifies the macro's index. 125 An arbitrary incremental Index used as identifier in 126 rlSmartPortsMacroContentTable where the macro content really IS." 127 ::= { rlSmartPortsMacroManageEntry 2 } 128 129 rlSmartPortsMacroType OBJECT-TYPE 130 SYNTAX MacroType 131 MAX-ACCESS read-only 132 STATUS current 133 DESCRIPTION 134 "This variable identifies the macro type: user defined, 135 Dell provided per interface 136 Dell provided globally" 137 ::= { rlSmartPortsMacroManageEntry 3 } 138 139 140 rlSmartPortsMacroStatus OBJECT-TYPE 141 SYNTAX RowStatus 142 MAX-ACCESS read-write 143 STATUS current 144 DESCRIPTION 145 "The status of a table entry. 146 It is used to delete/Add an entry from this table." 147 ::= { rlSmartPortsMacroManageEntry 4 } 148 149 150 rlSmartPortsMacroKeywords OBJECT-TYPE 151 SYNTAX DisplayString(SIZE(0..160)) 152 MAX-ACCESS read-only 153 STATUS current 154 DESCRIPTION 155 "List of Macro Keywords. if there are" 156 ::= { rlSmartPortsMacroManageEntry 5 } 157 158 rlSmartPortsMacroDesc1 OBJECT-TYPE 159 SYNTAX DisplayString(SIZE(0..160)) 160 MAX-ACCESS read-only 161 STATUS current 162 DESCRIPTION 163 "List of Macro descriptions. if there are" 164 ::= { rlSmartPortsMacroManageEntry 6 } 165 166 rlSmartPortsMacroDesc2 OBJECT-TYPE 167 SYNTAX DisplayString(SIZE(0..160)) 168 MAX-ACCESS read-only 169 STATUS current 170 DESCRIPTION 171 "continue List of Macro descriptions. if there are" 172 ::= { rlSmartPortsMacroManageEntry 7 } 173 174 175 176-- ------------------------------------------------------------- 177-- --------- rlSmartPortsMacroContentTable ---------------- 178-- ------------------------------------------------------------- 179 180 rlSmartPortsMacroContentTable OBJECT-TYPE 181 SYNTAX SEQUENCE OF RlSmartPortsMacroContentEntry 182 MAX-ACCESS not-accessible 183 STATUS current 184 DESCRIPTION 185 "The table holds smart ports macro's content. 186 Entries are allowed to be added ONLY on macro indexes that 187 1) has a corresponding entry in rlSmartPortsMacroManageTable 188 2) has rlSmartPortsMacroType = rlSmartPortsMacroUserCreated" 189 ::= {rlSmartPorts 2 } 190 191 rlSmartPortsMacroContentEntry OBJECT-TYPE 192 SYNTAX RlSmartPortsMacroContentEntry 193 MAX-ACCESS not-accessible 194 STATUS current 195 DESCRIPTION 196 " An entry in the elSmartPortsMacroManageTable." 197 INDEX { rlSmartPortsMacroIndex,rlSmartPortsMacroOctetIndex} 198 ::= {rlSmartPortsMacroContentTable 1 } 199 200 RlSmartPortsMacroContentEntry ::= SEQUENCE { 201 rlSmartPortsMacroOctetIndex INTEGER (1..19), 202 rlSmartPortsMacroText SnmpAdminString 203 204 } 205 206 rlSmartPortsMacroOctetIndex OBJECT-TYPE 207 SYNTAX INTEGER (1..19) 208 MAX-ACCESS not-accessible 209 STATUS current 210 DESCRIPTION 211 "This variable identifies the line number in the macro's content text. 212 To allow full macro size of 3k = 19 * 160 = 3040" 213 ::= { rlSmartPortsMacroContentEntry 1 } 214 215 rlSmartPortsMacroText OBJECT-TYPE 216 SYNTAX SnmpAdminString 217 MAX-ACCESS read-write 218 STATUS current 219 DESCRIPTION 220 "Macro content." 221 ::= { rlSmartPortsMacroContentEntry 2 } 222 223-- ------------------------------------------------------------- 224-- --------- rlSmartPortsMacroDescriptionTable ---------------- 225-- ------------------------------------------------------------- 226 227 228 rlSmartPortsMacroDescriptionTable OBJECT-TYPE 229 SYNTAX SEQUENCE OF RlSmartPortsMacroDescriptionEntry 230 MAX-ACCESS not-accessible 231 STATUS current 232 DESCRIPTION 233 "The table holds smart ports macro's name 234 globally (rlSmartPortsMacroDescriptionIndex == 0) 235 interface (port or trunk)." 236 ::= {rlSmartPorts 3 } 237 238 rlSmartPortsMacroDescriptionEntry OBJECT-TYPE 239 SYNTAX RlSmartPortsMacroDescriptionEntry 240 MAX-ACCESS not-accessible 241 STATUS current 242 DESCRIPTION 243 " An entry in the rlSmartPortsMacroInterfaceTable." 244 INDEX { rlSmartPortsMacroDescriptionIndex} 245 ::= {rlSmartPortsMacroDescriptionTable 1 } 246 247 RlSmartPortsMacroDescriptionEntry ::= SEQUENCE { 248 rlSmartPortsMacroDescriptionIndex InterfaceIndexOrZero, 249 rlSmartPortsMacroDescriptionText SnmpAdminString, 250 rlSmartPortsMacroDescriptionStatus RowStatus 251 } 252 253 rlSmartPortsMacroDescriptionIndex OBJECT-TYPE 254 SYNTAX InterfaceIndexOrZero 255 MAX-ACCESS not-accessible 256 STATUS current 257 DESCRIPTION 258 "This variable identifies global configuration when equals 0 OR 259 local port or trunk on which the user saved Macro's name." 260 ::= { rlSmartPortsMacroDescriptionEntry 1 } 261 262 rlSmartPortsMacroDescriptionText OBJECT-TYPE 263 SYNTAX SnmpAdminString 264 MAX-ACCESS read-write 265 STATUS current 266 DESCRIPTION 267 "Macro name." 268 ::= { rlSmartPortsMacroDescriptionEntry 2 } 269 270 rlSmartPortsMacroDescriptionStatus OBJECT-TYPE 271 SYNTAX RowStatus 272 MAX-ACCESS read-write 273 STATUS current 274 DESCRIPTION 275 "The status of a table entry. 276 It is used to delete/Add an entry from this table." 277 ::= { rlSmartPortsMacroDescriptionEntry 3 } 278-- ------------------------------------------------------------- 279-- --------- rlSmartPortsFreeIndexes ---------------- 280-- ------------------------------------------------------------- 281 rlSmartPortsFreeIndexes OBJECT-TYPE 282 SYNTAX INTEGER 283 MAX-ACCESS read-only 284 STATUS current 285 DESCRIPTION 286 "Returns free index to set in rlSmartPortsMacroIndex when macro is added." 287 ::= { rlSmartPorts 4 } 288 289-- ------------------------------------------------------------- 290-- --------- rlSmartPorts Diagnostics --------------------- 291-- ------------------------------------------------------------- 292 rlSmartPortsDiagMacroName OBJECT-TYPE 293 SYNTAX DisplayString(SIZE(0..32)) 294 MAX-ACCESS read-only 295 STATUS current 296 DESCRIPTION 297 "In case the last macro had failed you will get this name from the 298 specific terminal you had used ." 299 ::= { rlSmartPorts 5 } 300 301 rlSmartPortsDiagLineNumber OBJECT-TYPE 302 SYNTAX INTEGER 303 MAX-ACCESS read-only 304 STATUS current 305 DESCRIPTION 306 "In case the last macro had failed you will get i'ts line number from 307 specific terminal you had used ." 308 ::= { rlSmartPorts 6 } 309 310 rlSmartPortsDiagCommandLine OBJECT-TYPE 311 SYNTAX SnmpAdminString 312 MAX-ACCESS read-only 313 STATUS current 314 DESCRIPTION 315 "In case the last macro had failed you will get i'ts command line number 316 from specific terminal you had used ." 317 ::= { rlSmartPorts 7 } 318 319 320 rlSmartPortsCondenseMode OBJECT-TYPE 321 SYNTAX INTEGER { 322 enabled (1), 323 disabled (2) 324 } 325 MAX-ACCESS read-write 326 STATUS current 327 DESCRIPTION 328 "disabled - in macro description macro such as x no_x will be removed 329 enabled - in macro description macro such as x no_x will not be removed 330 when condense mode is enabled (by default) each time a macro with the name 331 no_x is applied and prior to that a macro x was applied , they will be removed 332 from the list... 333 334 " 335 336 DEFVAL {enabled} 337 ::= { rlSmartPorts 8 } 338 339 340 341 342END 343