Re: [MIB-DOCTORS] help with the ADSL-TDIM MIB

"Joan Cucchiara" <jcucchiara@mindspring.com> Thu, 08 March 2012 16:27 UTC

Return-Path: <jcucchiara@mindspring.com>
X-Original-To: mib-doctors@ietfa.amsl.com
Delivered-To: mib-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCDB621F86C4 for <mib-doctors@ietfa.amsl.com>; Thu, 8 Mar 2012 08:27:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.397
X-Spam-Level:
X-Spam-Status: No, score=-2.397 tagged_above=-999 required=5 tests=[AWL=0.201, BAYES_00=-2.599, STOX_REPLY_TYPE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VciVsP2i4rqb for <mib-doctors@ietfa.amsl.com>; Thu, 8 Mar 2012 08:27:34 -0800 (PST)
Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) by ietfa.amsl.com (Postfix) with ESMTP id CDDBA21F854E for <mib-doctors@ietf.org>; Thu, 8 Mar 2012 08:27:33 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=pMx2k8HHLRytIRPDWIQPltbuI1a5VwHEUE7Ec0PLl2YRkZBRG72q4pXysAUQ9bnk; h=Received:Message-ID:From:To:Cc:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [24.41.31.146] (helo=JoanPC) by elasmtp-mealy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <jcucchiara@mindspring.com>) id 1S5gBd-0004Wu-Ga; Thu, 08 Mar 2012 11:27:29 -0500
Message-ID: <3d7401ccfd48$5b266fa0$6601a8c0@JoanPC>
From: Joan Cucchiara <jcucchiara@mindspring.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "Romascanu, Dan (Dan)" <dromasca@avaya.com>
References: <EDC652A26FB23C4EB6384A4584434A0407534B55@307622ANEX5.global.avaya.com><20120306152221.GA2081@elstar.local><CAD3a8TkC=2iCLScacQrJkRqC065pGsjfBMukGNfjB3XjnhQJCg@mail.gmail.com><EDC652A26FB23C4EB6384A4584434A0407534DB5@307622ANEX5.global.avaya.com><20120307121305.GA4853@elstar.local><EDC652A26FB23C4EB6384A4584434A0407534E27@307622ANEX5.global.avaya.com> <20120307143628.GA5078@elstar.local>
Date: Thu, 08 Mar 2012 11:27:29 -0500
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="iso-8859-1"; reply-type="original"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-ELNK-Trace: 4d68bbe9cb71969ea344cf2d1a8e60840a9da525759e2654185ea855c1ac9b1c8dc5e2f254ecfab18483c75118a9a15a350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 24.41.31.146
Cc: Michael MacFaden <mrm@macfaden.com>, mib-doctors@ietf.org
Subject: Re: [MIB-DOCTORS] help with the ADSL-TDIM MIB
X-BeenThere: mib-doctors@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: MIB Doctors list <mib-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mib-doctors>, <mailto:mib-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mib-doctors>
List-Post: <mailto:mib-doctors@ietf.org>
List-Help: <mailto:mib-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mib-doctors>, <mailto:mib-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Mar 2012 16:27:34 -0000

Hi Folks,

I've looked at some of my old MIB reviews where the accessible-for-notify 
has been discussed.
Here are a few excerps:

1) VRRP-UNIFIED-MIB (now:  RFC6527)
" *) Concern on the use of accessible-for-notify:  it might be
a good idea to make these objects read-only, along with a
timestamp type of object.  Notifications are unreliable and
so, could be lost.  Also, some customers do not like to
enable a lot of notifications and prefer polling.
Would you consider making these objects read-only?"

OUTCOME:  The outcome looking at RFC6527 was to change one of the 
accessible-for-notify object to read-only
and have a Discontinuity object.
 In another case the accessible-for-notify became a readonly object
(which does duplicate information in an index).


2)  Another MIB, RFC5643  (OSPFv3-MIB)
There are accessible-for-notify objects and my recollection is that so much 
data would have been saved and timestamped
that it was far easier to do the accessible-for-notify objects. 
Notifications were sent to show specific packet info for errors.
Even though these errors were being counted, the MIB authors did not want to 
save all the information, so it was very
temporary and accessible-for-notify was a decent solution.   (Also, there 
was history here because this was in earlier versions
of OSPFv2-MIB.)


3)  TED-MIB (draft-ietf-ccamp-gmpls-ted-mib-10)
The accessible-for-notify was in earlier versions of this MIB, but was 
changed to include an object from the table,
rather than duplicate indices in accessible-for-notify objects.

--


Wrt to ADSL-TDIM-MIB

The claim that Management Stations have a difficult time parsing the OIDs to 
isolate indices doesn't seem completely plausible.
If an agent can code it, then shouldn't these be able to be decoded by a 
manager?   (maybe I'm just missing something.)

At any rate, getting to the original question:

I would prefer adding a read-only object which is duplicated information, 
rather than making an index read-only.  (This was done in the 
VRRP-UNIFIED-MIB, RFC6527)
(I agree with Bert,  and would have expected to see a read-only index 
flagged as an error.)

Also, I think Juergen raises some good points which my experience also 
suggestions, that accessible-for-notify objects can usually
be rewritten to something maybe more meaningful.   However, the use in the 
OSPFv3-MIB (RFC5643) of accessible-for-notify does seem to be an exception.

Thanks,
  -Joan









----- Original Message ----- 
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
To: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
Cc: "Michael MacFaden" <mrm@macfaden.com>; <mib-doctors@ietf.org>
Sent: Wednesday, March 07, 2012 9:36 AM
Subject: Re: [MIB-DOCTORS] help with the ADSL-TDIM MIB


> Well,
>
> it seems RFC 2578 is relatively clear that auxiliary objects (the
> INDEX objects that are columns of the same conceptual table) are
> not-accessible except in the situation where there are no other
> columns, in which case one of the columns becomes read-only. (The
> other exception is conversion from SMIv1 MIB modules to SMIv2, which
> does not seem to apply here.)
>
> Searching a bit, I found these:
>
> - There was a case where the prtAlertIndex of the Printer-MIB was
>  discussed, which was originally defined as not-accessible but used
>  also in a notification. This was not detected until the module was
>  up for revision and then the solution was to make prtAlertIndex
>  read-only with a MIN-ACCESS of accessible-for-notify.  We are not
>  facing the same situation here since our tools now spot such errors
>  before modules get published.
>
> - The T11-FC-FABRIC-ADDR-MGR-MIB seems to have a construction that is
>  interesting in the sense that they have an accessible-for-notify
>  object t11FamNotifyFabricIndex that they carry in notifications in
>  addition to t11FamLocalSwitchWwn, an object of a table indexed by
>  {fcmInstanceIndex,fcmSwitchIndex,t11FamFabricIndex}. Its hard to
>  understand the logic behind this (I am not a fibre channel guy)
>  because the t11FamNotifyFabricIndex only provides part of the index
>  and hence seems only marginally helpful.
>
> - The TRIP-MIB also has something interesting. They have a
>  notification carrying
>
>    tripOpenMessageError NOTIFICATION-TYPE
>        OBJECTS { tripNotifApplIndex,
>                  tripNotifPeerAddrInetType,
>                  tripNotifPeerAddr,
>                  tripNotifPeerErrCode,
>                  tripNotifPeerErrSubcode,
>                  tripPeerState
>                }
>  and tripPeerState is a column of a table indexed by
>
>        INDEX { applIndex,
>                tripPeerRemoteAddrInetType,
>                tripPeerRemoteAddr,
>                tripPeerRemotePort }
>
>  and again this leaves me puzzled as it again looks somewhat
>  incomplete and arbitrary (I am also not a TRIP guy).
>
> So we end up with "does it make sense to add additional
> accessible-for-notify objects to notifications that carry values of
> auxiliary objects"?
>
> I continue to believe it is a bad idea to do this except we write a
> document updating RFC 2578 that "says experience with RFC 2578's rule
> to force auxiliary objects to be not-accessible tells us that
> implementations still today find it too hard to 'unpack' information
> encoded in the instance identifiers and hence this rule does not apply
> anymore".
>
> The idea to add additional object definitions to work around this rule
> seems just a bad hack to me. In principle, one can also add additional
> read-only columns to tables that duplicate auxiliary objects and this
> would be syntactically be fine wrt. RFC 2578 but still be a violation
> of the intention of RFC 2578.
>
> /js
>
> PS: Working on some constrained platforms lately, I guess I am a bit
>    more sensitive to mandatory to implement redundant information
>    (and this is what it boils down to).
>
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> _______________________________________________
> MIB-DOCTORS mailing list
> MIB-DOCTORS@ietf.org
> https://www.ietf.org/mailman/listinfo/mib-doctors