Code not generated for my table

Rohini V <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

Hi,

I have used a table in my Test Mib, with name "example".
There is no "Table" keyword attached to it.

So, when I ask mib compiler to generate "iterate" code on node example, 
nothing gets generated there.

Is there any option , using which I can force mib2c to generate iterate code
for 
table node "example".

I have also attached the Test Mib for your reference.

Thanx in advance.

Regards,
Rohini


 <<TEST-MIB.txt>>
TEST-MIB.txt (text/plain, 2.2 KB)
TEST-MIB DEFINITIONS ::= BEGIN

   IMPORTS
        MODULE-IDENTITY, experimental FROM SNMPv2-SMI;

   exModIden MODULE-IDENTITY
        LAST-UPDATED "200508100000Z"
        ORGANIZATION "WSSPL"
        CONTACT-INFO "[email protected]"
        DESCRIPTION "Test Mib"
        ::= { experimental 50 }

   exampleScalar OBJECT-TYPE
        SYNTAX          INTEGER
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION     "example scalar"
        ::= { exModIden 1 }

   example OBJECT-TYPE
             SYNTAX         SEQUENCE OF ExampleEntry
             MAX-ACCESS     read-only
             STATUS         current
             DESCRIPTION    "This is the example table definied to check the
                             encoding and decoding functionality of the PIB2C++
                             translator. This table decfintion has reference to
                             all ASN.1 types"
            ::= { exModIden 2 }

    exampleEntry OBJECT-TYPE
             SYNTAX         ExampleEntry
	     MAX-ACCESS	    read-only
             STATUS         current
             DESCRIPTION    "This is the example row definied to check the
                             encoding and decoding functionality of the PIB2C++
                             translator. This table decfintion has reference to
                             all ASN.1 types"
             INDEX     { exIntAttr }
             ::= { example 1 }

    ExampleEntry ::= SEQUENCE {
                     exIntAttr              INTEGER,
                     exOcts1             OCTET STRING,
                     exOcts2              OCTET STRING
                     }

    exIntAttr      OBJECT-TYPE
       SYNTAX      INTEGER
       MAX-ACCESS  read-only  		
       STATUS      current
       DESCRIPTION "Role Played by exIntAttr"
       ::= { exampleEntry 1 }

    exOcts1     OBJECT-TYPE
       SYNTAX      OCTET STRING
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION "Role Played by exOcts1"
       ::= { exampleEntry 2 }

    exOcts2      OBJECT-TYPE
       SYNTAX      OCTET STRING
       MAX-ACCESS  read-create
       STATUS      current
       DESCRIPTION "Role Played by exOcts2"
       ::= { exampleEntry 3 }

END
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.