
Hi,
In my mib, the declaration of objects in the <Table>Entry and in the below definition part are not in the same order. No warning is given by the libsmi tool. I just want to confirm, whether this is legally allowed or it shud not be done.
TestEntry ::= SEQUENCE { Index1, Index2, object1 }
Index2 OBJECT-TYPE . . ::= {TestEntry 2}
Index1 OBJECT-TYPE . . ::= {TestEntry 1}
Whether the declaration and definition parts need not have the objects in the same order???
Thanks & Regards, Vivekanandan.V
*************************************************************************** This message is proprietary to Future Software Limited (FSL) and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended.
If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. FSL accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus. ***************************************************************************

Hi!
[I have not worked on the libsmi stuff for quite some time and I'm now catching up with some messages hanging around in my mailfolder or on the libsmi mailinglist to which I've not seen a response. So, sorry for this late response.]
In my mib, the declaration of objects in the <Table>Entry and in the below definition part are not in the same order. No warning is given by the libsmi tool. I just want to confirm, whether this is legally allowed or it shud not be done.
TestEntry ::= SEQUENCE {
Index1, Index2, object1 }
Index2 OBJECT-TYPE
. . ::= {TestEntry 2}
Index1 OBJECT-TYPE
. . ::= {TestEntry 1}
Whether the declaration and definition parts need not have the objects in the same order???
The above example shows quite a lot of syntactical flaws. :-) But to answer your question: The order of OBJECT-TYPEs is not significant.
-frank
participants (2)
-
Frank Strauss
-
Vivekanandan V