bugMibble MIB Parser - Bugs: bug #9962, OIDs are hidden if defined in two...

 
 

bug #9962: OIDs are hidden if defined in two separate MIBs

Submitter:  Per Cederberg <cederberg>
Submitted:  Tue 10 Aug 2004 07:06:41 PM UTC
   
 
Severity:  5 - Major Item Group:  Software
Status:  Fixed Privacy:  Public
Assigned to:  cederberg Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Oct 2004 08:14:36 PM UTC, comment #2: 

Version 2.5 has now been released. Closing this bug.

Per Cederberg <cederberg>
Group administrator
Sun 10 Oct 2004 08:49:33 PM UTC, comment #1: 

This issue should has now been fixed. It has been released in the new 2.5.alpha1 (development) version. Please test and report any issues or errors.

Per Cederberg <cederberg>
Group administrator
Tue 10 Aug 2004 07:06:41 PM UTC, original submission:  

Normally, OIDs are defined by referencing a single parent OID by name and specifying a child number. In some cases, however, it may necessary to reference a grandparent OID instead due to circular references that might otherwise arise. Mibble currently doesn't handle this gracefully, but ignores or hides the last OID subtree added.

To examplify this, consider the ATM-TC-MIB definition:

atmTCMIB MODULE-IDENTITY ... ::= { mib-2 37 3 }

In reality, this should read:

atmTCMIB MODULE-IDENTITY ... ::= { atmMIB 3 }

Due to the ATM-MIB already importing ATM-TC-MIB, the "atmMIB" symbol cannot be imported.

The resolution to this problem is to modify the ObjectIdentifierValue.initialize() and possibly addChild() methods to detect when two ObjectIdentifierValue object have been created with the same numerical component. In this case one of the two must be selected and all the children from the other must be transferred.

Per Cederberg <cederberg>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-26 cederberg Open/ClosedOpen Closed
2004-10-10 cederberg StatusNone Fixed
2004-08-10 cederberg Carbon-Copy- Added thomas --AT-- obidobi --DOT-- net

Back to the top

Powered by Savane 3.14-79a4.
Corresponding source code