
I assume you mean "smidump -f xsd" on the rfc2863 mib (after running it through smistrip) and not really "smilint -f xsd". I did this and the parses generated an error:
/IF-MIB:1134: index element `ifRcvAddressAddress' of row `ifRcvAddressEntry' must have a size restriction
So I added a size restriction to the mib and ran smidump -f xsd again and there were no errors. But, when I opened the xsd, there was no "ifTable" or "IfEntry", just the "ifEntry". If fact, the xsd output never seems to include tables, just the entries. Is this intentional? I am using libsmi from cvs.
Steve
-----Original Message----- From: Frank Strauss [mailto:strauss@ibr.cs.tu-bs.de] Sent: Wednesday, October 23, 2002 11:47 AM To: Steve Bucknam Cc: libsmi@ibr.cs.tu-bs.de Subject: Re: [libsmi] xsd output
Hi!
Steve> I am generating the xsd for the version of RCF1213 retrieved from
Steve> mibcentral. I get no errors or warnings, yet "ifTable" has no Steve> entry. The "ifEntry" is present and contains the sequence of OIDs
Steve> that should appear under "IfEntry". "IfEntry" is also missing.
Steve> Is this a design feature to minimize unnecessary nodes, or a bug?
Well, RFC 1213 is a bug. :-)
We don't care a lot about obsolete SMIv1 MIBs. The ifTable is defined in the current Standards Track version of the IF-MIB which is published in RFC 2863.
If you use the IF-MIB (it also comes with libsmi), then `smilint -f xsd' should produce a better result.
-frank