Re: [imss] MIB doctor review part 1 (SYNTAX Checks):
Keith McCloghrie <kzm@cisco.com> Thu, 29 November 2007 16:21 UTC
Return-path: <imss-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Ixm8o-0004DL-8h; Thu, 29 Nov 2007 11:21:30 -0500
Received: from imss by megatron.ietf.org with local (Exim 4.43) id 1Ixm8m-0003h3-C5 for imss-confirm+ok@megatron.ietf.org; Thu, 29 Nov 2007 11:21:28 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Ixm8l-0003Wn-ND for imss@ietf.org; Thu, 29 Nov 2007 11:21:27 -0500
Received: from sj-iport-1-in.cisco.com ([171.71.176.70] helo=sj-iport-1.cisco.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Ixm8k-00013G-HZ for imss@ietf.org; Thu, 29 Nov 2007 11:21:27 -0500
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-1.cisco.com with ESMTP; 29 Nov 2007 08:21:25 -0800
Received: from sj-core-3.cisco.com (sj-core-3.cisco.com [171.68.223.137]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id lATGLQkW003058; Thu, 29 Nov 2007 08:21:26 -0800
Received: from cisco.com (pita.cisco.com [171.71.177.199]) by sj-core-3.cisco.com (8.12.10/8.12.6) with ESMTP id lATGLPgK007341; Thu, 29 Nov 2007 16:21:25 GMT
Received: (from kzm@localhost) by cisco.com (8.8.8-Cisco List Logging/8.8.8) id IAA17904; Thu, 29 Nov 2007 08:19:42 -0800 (PST)
From: Keith McCloghrie <kzm@cisco.com>
Message-Id: <200711291619.IAA17904@cisco.com>
Subject: Re: [imss] MIB doctor review part 1 (SYNTAX Checks):
To: bwijnen@alcatel-lucent.com
Date: Thu, 29 Nov 2007 08:19:42 -0800
In-Reply-To: <no.id> from "WIJNEN, Bert \(Bert\)" at Nov 26, 2007 03:46:51 PM
X-Mailer: ELM [version 2.5 PL5]
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=9333; t=1196353286; x=1197217286; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=kzm@cisco.com; z=From:=20Keith=20McCloghrie=20<kzm@cisco.com> |Subject:=20Re=3A=20[imss]=20MIB=20doctor=20review=20part=201=20(SYNTAX=2 0Checks)=3A |Sender:=20; bh=IpcWHjKnZOoBdCtrwKrx8Jd7V32VKZIm53Tb7DbdmOI=; b=ua32IRnjFC2DPZqrhWFSxNH+5Sn4/ZTLZizOnVivcfnGajq0HON3EZYYh7+IxVPvf7RelapO 3ulMMAP/IeVcPr9mCeZ4SKDe9FMt6BeQUwTgQ4VJYTLz/xv0hI5ogqhNsddID8MMtbug6QRSQB 8U94vH3af5T5HHDLECJXdkyx8=;
Authentication-Results: sj-dkim-1; header.From=kzm@cisco.com; dkim=pass (sig from cisco.com/sjdkim1004 verified; );
X-Spam-Score: -4.0 (----)
X-Scan-Signature: dd7e0c3fd18d19cffdd4de99a114001d
Cc: imss@ietf.org, Black_David@emc.com
X-BeenThere: imss@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Internet and Management Support for Storage Working Group <imss.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/imss>, <mailto:imss-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:imss@ietf.org>
List-Help: <mailto:imss-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/imss>, <mailto:imss-request@ietf.org?subject=subscribe>
Errors-To: imss-bounces@ietf.org
Bert, I checked the "consistent indexing scheme" items below and concluded that the indexing is fine as-is. So, in ftp://ftpeng.cisco.com/ftp/kzm/draft-ietf-imss-fc-fcsp-mib-01.txt (which I cited in my message yesterday), I included all the fixes that you requested below (including explicitly specifying ranges which are the same as the implicit default range:-). Keith. > 1. T11-FC-SP-TC-MIB > > C:\bwijnen\smicng\imss>smicng T11-FC-SP-TC-MIB.inc > W: f(T11-FC-SP-TC-MIB), (40,15) The first revision should match > the last update for MODULE-IDENTITY t11FcTcMIB > *** 0 errors and 1 warning in parsing > > C:\bwijnen\smicng\imss>smilint ./T11-FC-SP-TC-MIB > ./T11-FC-SP-TC-MIB:44: revision for last update is missing > > I think it would be good to to get the REVISION and LAST-UPDATED > timestamps in sync. No big deal though. > > 2. T11-FC-SP-ZONING-MIB > > C:\bwijnen\smicng\imss>smicng T11-FC-SP-ZONING-MIB.inc > W: f(T11-FC-SP-ZONING-MIB), (404,20) Variable "ifIndex" in > notification > "t11FcSpZsFabricJoinSuccessNotify" is an index for a table > W: f(T11-FC-SP-ZONING-MIB), (420,20) Variable "ifIndex" in > notification > "t11FcSpZsFabricJoinFailureNotify" is an index for a table > > *** 0 errors and 2 warnings in parsing > > C:\bwijnen\smicng\imss>smilint -l 6 -m -s ./T11-FC-SP-ZONING-MIB > .. OK > > I think this is OK in this situation. > > 3. T11-FC-SP-SA-MIB > > C:\bwijnen\smicng\imss>smicng T11-FC-SP-SA-MIB.inc > E: f(T11-FC-SP-SA-MIB), (1781,36) Item "t11FcSpSaTSelSpiDirection" in > sequence "T11FcSpSaTSelSpiEntry" has conflicting syntax specified > > bw: caused by INTEGER and T11FcSaDirection TC (which has underlying > SYNTAX of INTEGER (enumerated). So I am not sure it is a real > error. At the other hand, the/a fix is easy, namely change > > T11FcSpSaTSelSpiEntry ::= SEQUENCE { > t11FcSpSaTSelSpiInboundSpi T11FcSpiIndex, > t11FcSpSaTSelSpiTrafSelIndex Unsigned32, > t11FcSpSaTSelSpiDirection INTEGER, > t11FcSpSaTSelSpiTrafSelPtr Unsigned32 > } > > into: > > T11FcSpSaTSelSpiEntry ::= SEQUENCE { > t11FcSpSaTSelSpiInboundSpi T11FcSpiIndex, > t11FcSpSaTSelSpiTrafSelIndex Unsigned32, > t11FcSpSaTSelSpiDirection T11FcSaDirection, > t11FcSpSaTSelSpiTrafSelPtr Unsigned32 > } > > It would also make it more consistent with other places where you > have used T11FcSaDirection TC. > > E: f(T11-FC-SP-SA-MIB), (512,14) Index item "t11FcSpSaPropIndex" must > be defined with syntax that includes a range > > bw: I tend to agree with that. For example I wonder of zero is a > valid > index value. If it is, then we better explicitly include it (and > add > text to the DESCRIPTION clause what that means). If it is not, > then we better exclude it. > > E: f(T11-FC-SP-SA-MIB), (684,14) Index item > "t11FcSpSaTSelPropListIndex" > must be defined with syntax that includes a range > E: f(T11-FC-SP-SA-MIB), (684,42) Index item "t11FcSpSaTSelPropIndex" > must be defined with syntax that includes a range > > bw: same story for those above 2 error messages. > > E: f(T11-FC-SP-SA-MIB), (928,14) Index item "t11FcSpSaTransListIndex" > must be defined with syntax that includes a range > E: f(T11-FC-SP-SA-MIB), (928,39) Index item "t11FcSpSaTransIndex" > must > be defined with syntax that includes a range > > bw: same story for those above 2 error messages. > > E: f(T11-FC-SP-SA-MIB), (1069,42) Index item > "t11FcSpSaTSelDrByPrecedence" > must be defined with syntax that includes a range > > bw: would be easy to fix in TC module: > > T11FcSpPrecedence ::= TEXTUAL-CONVENTION > DISPLAY-HINT "d" > STATUS current > DESCRIPTION > "The precedence of a Traffic Selector. If a frame > matches with two or more Traffic Selectors, then the match > which takes precedence is the one with the Traffic Selector > having the numerically smallest precedence value. Note that > precedence values are not necessarily contiguous." > SYNTAX Unsigned32 -- the default range: (0..4294967295) > > > Why not just specify that range. It makes sense (I guess) that > a value of zero in this case is valid, and so would also be > a valid/acceptable INDEX value. We betetr make that explicit > (or so I think). > > E: f(T11-FC-SP-SA-MIB), (1259,38) Index item > "t11FcSpSaPairInboundSpi" > must be defined with syntax that includes a range > > bw: same as above. > > E: f(T11-FC-SP-SA-MIB), (1457,38) Index item > "t11FcSpSaTSelNegInIndex" > must be defined with syntax that includes a range > > bw: SO is zero a valid/acceptable index? If so we better explicitly > include that. If not, then we must exclude it. > > E: f(T11-FC-SP-SA-MIB), (1624,38) Index item > "t11FcSpSaTSelNegOutPrecedence" > must be defined with syntax that includes a range > > bw: see comment above on the use of T11FcSpPrecedence TC > > E: f(T11-FC-SP-SA-MIB), (1774,14) Index item > "t11FcSpSaTSelSpiInboundSpi" > must be defined with syntax that includes a range > > bw: see above > > E: f(T11-FC-SP-SA-MIB), (1774,42) Index item > "t11FcSpSaTSelSpiTrafSelIndex" > must be defined with syntax that includes a range > > bw: Is zero a valid/acceptable value. It seems to me that in this > case > we prefer NOT to allow for zero. So make that explicit. > > W: f(T11-FC-SP-SA-MIB), (1257,32) Row "t11FcSpSaPairEntry" does not > have > a consistent indexing scheme - index items from current table must > come > after index items from other tables > W: f(T11-FC-SP-SA-MIB), (1456,32) Row "t11FcSpSaTSelNegInEntry" does > not > have a consistent indexing scheme - cannot specify an index item > from > additional "base row" t11FcSpSaPairEntry, since can have only one > "base row" which is t11FcSpSaIfEntry > W: f(T11-FC-SP-SA-MIB), (1623,32) Row "t11FcSpSaTSelNegOutEntry" does > not > have a consistent indexing scheme - cannot specify an index item > from > additional "base row" t11FcSpSaPairEntry, since can have only one > "base row" which is t11FcSpSaIfEntry > W: f(T11-FC-SP-SA-MIB), (1772,32) Row "t11FcSpSaTSelSpiEntry" does > not > have a consistent indexing scheme - cannot specify an index item > from additional "base row" t11FcSpSaPairEntry, since can have only > one "base row" which is t11FcSpSaIfEntry > > The "non-consistent indexing scheme" issue is possibly just a > warning. > In these cases I always ask the author: Pls check that what you did > is what you intended. If so, then I think the above 4 are fine. > I must say that the indexing certainly is not immediately obvious. > I will need to go look in detail to convince myself. > > *** 12 errors and 4 warnings in parsing > > > C:\bwijnen\smicng\imss>smilint -l 6 -m -s ./T11-FC-SP-ZONING-MIB > .. OK > > 4. T11-FC-SP-POLICY-MIB > > C:\bwijnen\smicng\imss>smicng T11-FC-SP-POLICY-MIB.inc > E: f(T11-FC-SP-POLICY-MIB), (1528,14) Index item > "t11FcSpPoAuthProtIdentifier" must be defined with syntax > that includes a range > > bw: Assuming that http://www.t11.org/ftp/t11/pub/fc/sp/06-157v3.pdf > is the proper document to look at, for table 11. > From that table one could conclude that value zero is part > of the "all others", but at the other hand, I would have put > value zero as reserved at the top of the table if value > zero is valid. > > So... is it valid? In any event, I would make the range (0-4billion) > or 1-4billion) explicit I think. > > E: f(T11-FC-SP-POLICY-MIB), (3443,14) Index item > "t11FcSpPoNaAuthProtIdentifier" must be defined with syntax > that includes a range > > bw: same story. > > *** 2 errors and 0 warnings in parsing > > > C:\bwijnen\smicng\imss>smilint -l 6 -m -s ./T11-FC-SP-POLICY-MIB > .. OK > > 5. T11-FC-SP-CERTS-MIB > > C:\bwijnen\smicng\imss>smicng T11-FC-SP-CERTS-MIB.inc > E: f(T11-FC-SP-CERTS-MIB), (90,38) Index item "t11FcSpCertIndex" > must be defined with syntax that includes a range > > bw: seems (to me) that we would want to exlude zero as an > acceptable value. > > *** 1 error and 0 warnings in parsing > > C:\bwijnen\smicng\imss>smilint -l 6 -m -s ./T11-FC-SP-CERTS-MIB > .. OK > > 6. T11-FC-SP-AUTHENTICATION-MIB > > C:\bwijnen\smicng\imss>smicng T11-FC-SP-AUTHENTICATION-MIB.inc > Successful parsing > > C:\bwijnen\smicng\imss>smilint -l 6 -m -s > ./T11-FC-SP-AUTHENTICATION-MIB > .. OK > > > Bert > > > _______________________________________________ > imss mailing list > imss@ietf.org > https://www1.ietf.org/mailman/listinfo/imss > _______________________________________________ imss mailing list imss@ietf.org https://www1.ietf.org/mailman/listinfo/imss
- [imss] Changes to draft-ietf-imss-fc-fam-mib-00.t… Keith McCloghrie
- [imss] Re: Changes to draft-ietf-imss-fc-fam-mib-… Keith McCloghrie
- Re: [imss] Re: Changes to draft-ietf-imss-fc-fam-… Keith McCloghrie
- [imss] Re: Agenda for next week's T11.5 Managemen… Keith McCloghrie
- Re: [imss] FW: MIB Doctor review draft-ietf-imss-… Keith McCloghrie
- Re: [imss] FW: MIB Doctor review draft-ietf-imss-… Keith McCloghrie
- Re: [imss] FW: MIB Doctor review draft-ietf-imss-… Keith McCloghrie
- Re: [imss] Last Call: 'Fibre-Channel Name Server … Keith McCloghrie
- Re: [imss] Last Call: 'Fibre-Channel Name Server … Keith McCloghrie
- [imss] Re: DISCUSS on Keith McCloghrie
- [imss] Re: AD review of: draft-ietf-imss-fc-fspf-… Keith McCloghrie
- [imss] Re: AD review of: draft-ietf-imss-fc-fspf-… Keith McCloghrie
- [imss] Re: AD review of: draft-ietf-imss-fc-rtm-m… Keith McCloghrie
- [imss] Re: AD review of: draft-ietf-imss-fc-fspf-… Keith McCloghrie
- [imss] Re: AD review of: draft-ietf-imss-fc-fspf-… Claudio DeSanti
- Re: [imss] RE: AD review of: draft-ietf-imss-fc-r… Keith McCloghrie
- Re: [imss] RE: AD review of: draft-ietf-imss-fc-r… Keith McCloghrie
- Re: [imss] imss WG Last Call: Fibre Channel RSCN,… Keith McCloghrie
- Re: [imss] imss WG Last Call: Fibre Channel RSCN,… Keith McCloghrie
- Re: [imss] imss WG Last Call: Fibre Channel RSCN,… Keith McCloghrie
- Re: [imss] WG last call: draft-ietf-imss-fc-rscn-… Keith McCloghrie
- Re: [imss] imss WG Last Call: Fibre Channel RSCN,… Keith McCloghrie
- Re: [imss] WG Last Call: draft-ietf-imss-fc-fcs-m… Keith McCloghrie
- [imss] A couple of loose ends Keith McCloghrie
- Re: [imss] WG last call review: T11-FC-FABRIC-LOC… Keith McCloghrie
- Re: [imss] WG last call review: T11-FC-FABRIC-LOC… Keith McCloghrie
- Re: [imss] WG last call review: T11-FC-FABRIC-LOC… Claudio DeSanti
- Re: [imss] WG last call review: T11-FC-ZONE-SERVE… Keith McCloghrie
- Re: [imss] Last Call comments on draft-ietf-imss-… Keith McCloghrie
- RE: [imss] Last Call comments on draft-ietf-imss-… Black_David
- Re: [imss] Keith McCloghrie
- Re: [imss] Keith McCloghrie
- Re: [imss] T11 MIB issue resolutions Keith McCloghrie
- Re: [imss] T11 MIB issue resolutions Keith McCloghrie
- [imss] Rereview for draft-ietf-imss-fc-rscn-mib-0… Wijnen, Bert (Bert)
- Re: [imss] Rereview of: draft-ietf-imss-fc-fcs-mi… Keith McCloghrie
- RE: [imss] Rereview of: draft-ietf-imss-fc-fcs-mi… Black_David
- Re: [imss] re-view: T11-FC-FABRIC-LOCK-MIB in Keith McCloghrie
- RE: [imss] re-view: T11-FC-FABRIC-LOCK-MIB in Wijnen, Bert (Bert)
- Re: [imss] re-review: T11-FC-ZONE-SERVER-MIB in Keith McCloghrie
- RE: [imss] re-review: T11-FC-ZONE-SERVER-MIB in Wijnen, Bert (Bert)
- Re: [imss] Acceptance of draft-kzm-imss-fc-fcsp-m… Keith McCloghrie
- RE: [imss] Acceptance of draft-kzm-imss-fc-fcsp-m… Romascanu, Dan (Dan)
- Re: [imss] imss WG Last Call: FC-SP MIB Keith McCloghrie
- RE: [imss] imss WG Last Call: FC-SP MIB Black_David
- Re: [imss] imss WG Last Call: FC-SP MIB Keith McCloghrie
- Re: [imss] imss WG Last Call: FC-SP MIB Keith McCloghrie
- RE: [imss] imss WG Last Call: FC-SP MIB WIJNEN, Bert (Bert)
- Re: [imss] imss WG Last Call: FC-SP MIB Keith McCloghrie
- RE: [imss] imss WG Last Call: FC-SP MIB Black_David
- Re: [imss] imss WG Last Call: FC-SP MIB Keith McCloghrie
- RE: [imss] imss WG Last Call: FC-SP MIB WIJNEN, Bert (Bert)
- RE: [imss] imss WG Last Call: FC-SP MIB WIJNEN, Bert (Bert)
- Re: [imss] imss WG Last Call: FC-SP MIB Keith McCloghrie
- Re: [imss] MIB doctor review part 1 (SYNTAX Check… Keith McCloghrie
- Re: [imss] MIB doctor review part 2 (T11-FC-SP-TC… Keith McCloghrie
- RE: [imss] MIB doctor review part 2 (T11-FC-SP-TC… WIJNEN, Bert (Bert)
- RE: [imss] imss WG Last Call: FC-SP MIB WIJNEN, Bert (Bert)
- Re: [imss] AD Review for draft-ietf-imss-fc-fcsp-… Keith McCloghrie
- Re: [imss] AD Review for draft-ietf-imss-fc-fcsp-… Black_David
- Re: [imss] AD Review for draft-ietf-imss-fc-fcsp-… Romascanu, Dan (Dan)