
The following does not work:
barMib Imports fooObject, from fooMib
barObj OBJECT-TYPE ... ::= {fooObject 2}
To make it work, I (re)defined 'fooObject' locally in barMib (by importing fooObject's parent).
Steve

Hi!
Steve> The following does not work: Steve> barMib Steve> Imports Steve> fooObject, Steve> from fooMib
Steve> barObj OBJECT-TYPE Steve> ... Steve> ::= {fooObject 2}
Steve> To make it work, I (re)defined 'fooObject' locally in barMib (by Steve> importing fooObject's parent).
Could you please supply concrete MIB code? The definition of a MIB node's OID based on an imported identifier is very common amoung standard MIBs and does not cause any problems as far as I can tell. It seems that there is another reason that I cannot guess from the above pseudo code.
-frank
PS: BTW, do your module names start with an uppercase letter?!
participants (2)
-
Frank Strauss
-
Steve Bucknam