
Hi!
Pete> I didn't see any response from this?
Sorry.
Pete> In summary: Pete> A) is restricting TimeTicks like the below, legal SMIv2?
Pete> testInteger OBJECT-TYPE Pete> SYNTAX TimeTicks (500..12000)
No. RFC 2578 says:
7.1.8. TimeTicks [...] The TimeTicks type may not be sub-typed.
Pete> B) even if it's not, the error message libsmi spits out when Pete> it sees this is totally wrong and misleading:
Pete> the SPPI construct/keyword `MAX-ACCESS' Pete> may not be used in a MIB
Yes, I agree. The resulting error message is completely wrong and misleading. I've fixed it in the version in the anonymous CVS repository and for upcoming releases. Now it says:
/home/strauss/test.mib:22: `TimeTicks' must not be subtyped
Thanks,
-frank