Re: Comments on draft-ietf-atommib-atm2-12.txt

Gary Hanson <gary@kentrox.com> Fri, 20 March 1998 18:15 UTC

Delivery-Date: Fri, 20 Mar 1998 13:15:28 -0500
Return-Path: aileen@thumper.bellcore.com
Received: from cnri.reston.va.us (cnri [132.151.1.1]) by ns.ietf.org (8.8.7/8.8.7a) with ESMTP id NAA24994 for <ietf-archive@ietf.org>; Fri, 20 Mar 1998 13:15:27 -0500 (EST)
Received: from thumper.bellcore.com (thumper.bellcore.com [128.96.41.1]) by cnri.reston.va.us (8.8.5/8.8.7a) with ESMTP id NAA23635 for <ietf-archive@cnri.reston.va.us>; Fri, 20 Mar 1998 13:17:59 -0500 (EST)
Received: from kentrox.com (root@kentrox.kentrox.com [192.228.59.2]) by thumper.bellcore.com (8.8.8/8.8.8) with SMTP id KAA18312 for <atommib@thumper.bellcore.com>; Fri, 20 Mar 1998 10:55:17 -0500 (EST)
Received: from kentrox.com by kentrox.com (Smail-3.2.0.91 1997-Jan-14 #1) id <m0yG48Q-003Cd6C@kentrox.com>; Fri, 20 Mar 1998 07:55:06 -0800 (PST)
Received: from localhost by kentrox.com (4.1/SMI-4.1_KTX1.1) id AA18118; Fri, 20 Mar 98 07:54:58 PST
Date: Fri, 20 Mar 1998 07:54:58 -0800 (PST)
From: Gary Hanson <gary@kentrox.com>
X-Sender: gary@skeeter
To: Peter Jones <peter@atmospherenet.com>
Cc: atommib@thumper.bellcore.com, Kaj Tesink <kaj@cc.bellcore.com>, John Neil <jn@aus.atmospherenet.com>
Subject: Re: Comments on draft-ietf-atommib-atm2-12.txt
In-Reply-To: <351215F4.F5A35497@atmospherenet.com>
Message-Id: <Pine.SUN.3.96.980320070026.18024A-100000@skeeter>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Peter,

Thanks for noticing these.  My old SMIv2 compiler tends to log so many
warnings and false errors that I had not noticed these yet.  :-(

Now that you mention it, however, I must admit that I am more confused
about the DisplayString TEXTUAL-CONVENTION than I was before.  In RFC
1903, the SYNTAX of DisplayString is OCTET STRING (SIZE(0..255)).  If
an object is defined as a DisplayString, I would assume that the SMIv2
MIB compiler would convert the SYNTAX of DisplayString to that defined
in the TEXTUAL-CONVENTION, namely OCTET STRING (SIZE(0..255)).

I am not sure I fully understand how an SMIv2 compiler should treat an
object SYNTAX that is then specified either as DisplayString (0..255)
or as DisplayString (SIZE(0..255)).  I would think that these macro
conversions would have to result in the following weird results.

In source SMIv2:
  SYNTAX  DisplayString (0..255)
After macro conversion:
  SYNTAX  OCTET STRING (SIZE(0..255)) (0..255)

In source SMIv2:
  SYNTAX  DisplayString (SIZE(0..255))
After macro conversion:
  SYNTAX  OCTET STRING (SIZE(0..255)) (SIZE(0..255))

Do EITHER of these usages of DisplayString and their macro conversions
make sense?  Or am I mistakenly trying to apply my understanding of C
preprocessor rules in the context of SMIv2 macro conversion, where it
may not be appropriate?  (Maybe we aren't in Kansas anymore, Toto....)
Can someone explain how an SMIv2 compiler is expected to treat either
of the above cases?

Thanks for any explanations offered.

Gary


On Fri, 20 Mar 1998, Peter Jones wrote:

> Hi There,
> 
> In compiling this version of the MIB, I found a couple of problems:
> 
> 1)      atm2MIBConformance needs to change from {atm2MIB 2} to 
>         {atm2MIB 3} to avoid clashing with atm2MIBTraps.
> 
> 2)      The sytax used to restrict the Display String size 
>         seesm to be incorrect, e.g. 
>                 atmVpCrossConnectUserName OBJECT-TYPE
>                         SYNTAX       DisplayString (0..255)
> 
>         An example from RFC2233: IF-MIB follows
> 
>                 ifAlias   OBJECT-TYPE
>                         SYNTAX      DisplayString (SIZE(0..64))



> regards
> Peter Jones
> 
> 
> -- 
> ______________________________________________________________________
> Peter Jones                           Atmosphere Networks
> Manager of Software Development       4th Floor, Balcroft Building
>                                       Garden Office Park
>                                       345 Harborne Street
>                                       Osborne Park WA 6017, Australia
> Direct: +61 (8) 9443 0105             Main: +61 (8) 9443 0100
>                                       Fax:  +61 (8) 9443 6610
> mailto:peter@atmospherenet.com        http://www.atmospherenet.com
> _______________________________________________________________________
>