
I have a table entry with an index that happens to be an enumeration. An excerpt from the mib follows. When I run smidump on the mib, the enumerations are lost. The generated type is "Enumeration". I would have expected there to be a Type of integer with an enumeration of restrictions just as if the index was any other element in the entry. I assume this is either a bug or functionality that hasn't been completed. I would expect to see the restriction information in the XSD file. Am I wrong?
Steve
MIB:
subsysEntry OBJECT-TYPE SYNTAX SubsysEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The information about a Subsystem." INDEX { subsysId } ::= { subsysTable 1 }
subsysId OBJECT-TYPE SYNTAX INTEGER { platform(1), management(2), ss7(3), auth(4), radius(5), clientIf(6), sessionMgr(7), accounting(8) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "The SubSystem ID." ::= { subsysEntry 1 }
Generated XSD:
<xsd:attribute name="subsysId" type="Enumeration"> xsd:annotation xsd:appinfo <maxAccess>not-accessible</maxAccess> <status>current</status> <oid>1.3.6.1.4.1.14707.1.1.5.1.1.1</oid> </xsd:appinfo> xsd:documentation The SubSystem ID. </xsd:documentation> </xsd:annotation> </xsd:attribute>