
21 Feb
2003
21 Feb
'03
7:02 p.m.
Hi!
Randy> Is the the 'format' field of the SmiNode structure ever used in Randy> libsmi?
Yes, try 'smiquery type SNMPv2-TC::DisplayString'.
Randy> hmmm... correct me if I'm wrong, but, that's the Randy> format field of the 'SmiType' structure, not the Randy> format field of the *SmiNode* structure?
In this case and for all SMIv2 definitions, you are right. However, libsmi contains code to parse (an early draft of) SMIng, which allows to apply "formats" (display hints) also to scalar and columnar object types.
If you use just SMIv1 and/or SMIv2 MIB modules, you will never see any values for SmiNode.format.
-frank