
From e.cardona@CableLabs.com  Thu Apr 30 18:01:46 2009
Return-Path: <e.cardona@CableLabs.com>
X-Original-To: ietfmibs@core3.amsl.com
Delivered-To: ietfmibs@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D2FBA3A6839 for <ietfmibs@core3.amsl.com>; Thu, 30 Apr 2009 18:01:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.951
X-Spam-Level: *
X-Spam-Status: No, score=1.951 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, HELO_EQ_MODEMCABLE=0.768, HOST_EQ_MODEMCABLE=1.368]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WCzSj7QDTCtb for <ietfmibs@core3.amsl.com>; Thu, 30 Apr 2009 18:01:46 -0700 (PDT)
Received: from ondar.cablelabs.com (ondar.cablelabs.com [192.160.73.61]) by core3.amsl.com (Postfix) with ESMTP id 255913A67E6 for <ietfmibs@ietf.org>; Thu, 30 Apr 2009 18:01:46 -0700 (PDT)
Received: from kyzyl.cablelabs.com (kyzyl [10.253.0.7]) by ondar.cablelabs.com (8.14.3/8.14.3) with ESMTP id n41138FO014764 for <ietfmibs@ietf.org>; Thu, 30 Apr 2009 19:03:08 -0600
Received: from srvxchg3.cablelabs.com (10.5.0.25) by kyzyl.cablelabs.com (F-Secure/fsigk_smtp/511/kyzyl.cablelabs.com); Thu, 30 Apr 2009 19:03:08 -0700 (MST)
X-Virus-Status: clean(F-Secure/fsigk_smtp/511/kyzyl.cablelabs.com)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 30 Apr 2009 19:03:08 -0600
Message-ID: <B1ED8A2E683E16479C92C3F4AE13677B0167D2E1@srvxchg3.cablelabs.com>
In-Reply-To: <004201c9a404$1b173520$0601a8c0@allison>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Enumerations with underscores
Thread-Index: AcmkDL6eeZ+6OlWaSj2I69I4IcjyQAl6pHMQ
References: <e9a260f20902252154q1285182q324b874edf668e92@mail.gmail.com><007301c9983c$34e125c0$6801a8c0@oemcomputer><e9a260f20902261708m1897e7a3wd747d7336980dc23@mail.gmail.com><006b01c9989b$b09e7fa0$6801a8c0@oemcomputer><e9a260f20902262355w1d754effled07d8a4ea398330@mail.gmail.com><01d301c99912$9954c3a0$6801a8c0@oemcomputer> <004201c9a404$1b173520$0601a8c0@allison>
From: "Eduardo Cardona" <e.cardona@CableLabs.com>
To: <ietfmibs@ietf.org>
X-Approved: ondar
Subject: [IETFMIBS] Enumerations with underscores
X-BeenThere: ietfmibs@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF MIB Discussion list <ietfmibs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietfmibs>
List-Post: <mailto:ietfmibs@ietf.org>
List-Help: <mailto:ietfmibs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 May 2009 01:01:46 -0000

Hi,=20

I couldn't find a restriction in RFC 2578, or a recommendation guideline
in RFC 4181 that prohibits the use of underscores in integer enumerated
values labels.=20
smilint 0.4.3 complains and NET-SNMP 5.1.x (aka. libsmi) complained
about the existence of underscores in an enumeration

Is there any clarification in some place about underscores usage? =20

Thanks for any suggestion

Eduardo

From mark@ellisonsoftware.com  Thu Apr 30 18:36:44 2009
Return-Path: <mark@ellisonsoftware.com>
X-Original-To: ietfmibs@core3.amsl.com
Delivered-To: ietfmibs@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 73F813A69E2 for <ietfmibs@core3.amsl.com>; Thu, 30 Apr 2009 18:36:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.599
X-Spam-Level: 
X-Spam-Status: No, score=-4.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, GB_I_LETTER=-2]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cj2st9PRRbTa for <ietfmibs@core3.amsl.com>; Thu, 30 Apr 2009 18:36:43 -0700 (PDT)
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by core3.amsl.com (Postfix) with ESMTP id B387F28C166 for <ietfmibs@ietf.org>; Thu, 30 Apr 2009 18:36:04 -0700 (PDT)
Received: by qw-out-2122.google.com with SMTP id 3so2234267qwe.31 for <ietfmibs@ietf.org>; Thu, 30 Apr 2009 18:37:27 -0700 (PDT)
Received: by 10.224.67.11 with SMTP id p11mr2659290qai.268.1241141847721; Thu, 30 Apr 2009 18:37:27 -0700 (PDT)
Received: from ?192.168.1.205? (pool-71-168-120-18.cncdnh.fios.myfairpoint.net [71.168.120.18]) by mx.google.com with ESMTPS id 6sm5330097qwk.8.2009.04.30.18.37.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 30 Apr 2009 18:37:27 -0700 (PDT)
Message-ID: <49FA531C.6090001@ieee.org>
Date: Thu, 30 Apr 2009 21:40:44 -0400
From: Mark Ellison <mark@ellisonsoftware.com>
Organization: Ellison Software Consulting, Inc.
User-Agent: Thunderbird 2.0b2 (X11/20070116)
MIME-Version: 1.0
To: Eduardo Cardona <e.cardona@CableLabs.com>
References: <e9a260f20902252154q1285182q324b874edf668e92@mail.gmail.com><007301c9983c$34e125c0$6801a8c0@oemcomputer><e9a260f20902261708m1897e7a3wd747d7336980dc23@mail.gmail.com><006b01c9989b$b09e7fa0$6801a8c0@oemcomputer><e9a260f20902262355w1d754effled07d8a4ea398330@mail.gmail.com><01d301c99912$9954c3a0$6801a8c0@oemcomputer>	<004201c9a404$1b173520$0601a8c0@allison> <B1ED8A2E683E16479C92C3F4AE13677B0167D2E1@srvxchg3.cablelabs.com>
In-Reply-To: <B1ED8A2E683E16479C92C3F4AE13677B0167D2E1@srvxchg3.cablelabs.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ietfmibs@ietf.org
Subject: Re: [IETFMIBS] Enumerations with underscores
X-BeenThere: ietfmibs@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ellison@ieee.org
List-Id: IETF MIB Discussion list <ietfmibs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietfmibs>
List-Post: <mailto:ietfmibs@ietf.org>
List-Help: <mailto:ietfmibs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 May 2009 01:36:44 -0000

Hi Eduardo,

On 04/30/2009 09:03 PM, Eduardo Cardona wrote:
> I couldn't find a restriction in RFC 2578, or a recommendation guideline
> in RFC 4181 that prohibits the use of underscores in integer enumerated
> values labels. 
> smilint 0.4.3 complains and NET-SNMP 5.1.x (aka. libsmi) complained
> about the existence of underscores in an enumeration
>
> Is there any clarification in some place about underscores usage?  
>
>   
In RFC 2578 on page 21, section 7.1.1,  "Integer32 and INTEGER", the 
last paragraph states:

       Finally, a label for a named-number enumeration must consist of one
       or more letters or digits, up to a maximum of 64 characters, and the
       initial character must be a lower-case letter.  (However, labels
       longer than 32 characters are not recommended.)  Note that hyphens
       are not allowed by this specification (except for use by information
       modules converted from SMIv1 which did allow hyphens).

Hyphens are specifically addressed because they were allowed in SMIv1.  
Now, while an underscore is not a hyphen it is also not a 'letter' or a 
'digit', so your SMIv2 syntax compilers are going to complain.
> Thanks for any suggestion
>
> Eduardo
>   
HTH,

Mark
http://EllisonSoftware.com/


From e.cardona@CableLabs.com  Thu Apr 30 18:39:57 2009
Return-Path: <e.cardona@CableLabs.com>
X-Original-To: ietfmibs@core3.amsl.com
Delivered-To: ietfmibs@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1132C3A68D5 for <ietfmibs@core3.amsl.com>; Thu, 30 Apr 2009 18:39:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.256
X-Spam-Level: 
X-Spam-Status: No, score=-0.256 tagged_above=-999 required=5 tests=[AWL=2.207,  BAYES_00=-2.599, GB_I_LETTER=-2, HELO_EQ_MODEMCABLE=0.768, HOST_EQ_MODEMCABLE=1.368]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mu06nuuBRLCa for <ietfmibs@core3.amsl.com>; Thu, 30 Apr 2009 18:39:56 -0700 (PDT)
Received: from ondar.cablelabs.com (ondar.cablelabs.com [192.160.73.61]) by core3.amsl.com (Postfix) with ESMTP id 4F81C3A67E6 for <ietfmibs@ietf.org>; Thu, 30 Apr 2009 18:39:56 -0700 (PDT)
Received: from kyzyl.cablelabs.com (kyzyl [10.253.0.7]) by ondar.cablelabs.com (8.14.3/8.14.3) with ESMTP id n411f9f5016597; Thu, 30 Apr 2009 19:41:09 -0600
Received: from srvxchg3.cablelabs.com (10.5.0.25) by kyzyl.cablelabs.com (F-Secure/fsigk_smtp/511/kyzyl.cablelabs.com); Thu, 30 Apr 2009 19:41:09 -0700 (MST)
X-Virus-Status: clean(F-Secure/fsigk_smtp/511/kyzyl.cablelabs.com)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 30 Apr 2009 19:41:08 -0600
Message-ID: <B1ED8A2E683E16479C92C3F4AE13677B0167D2E3@srvxchg3.cablelabs.com>
In-Reply-To: <49FA531C.6090001@ieee.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [IETFMIBS] Enumerations with underscores
Thread-Index: AcnJ/WO3+tQSwEudRvS8nuwUB5xB3gAAGNUA
References: <e9a260f20902252154q1285182q324b874edf668e92@mail.gmail.com><007301c9983c$34e125c0$6801a8c0@oemcomputer><e9a260f20902261708m1897e7a3wd747d7336980dc23@mail.gmail.com><006b01c9989b$b09e7fa0$6801a8c0@oemcomputer><e9a260f20902262355w1d754effled07d8a4ea398330@mail.gmail.com><01d301c99912$9954c3a0$6801a8c0@oemcomputer>	<004201c9a404$1b173520$0601a8c0@allison> <B1ED8A2E683E16479C92C3F4AE13677B0167D2E1@srvxchg3.cablelabs.com> <49FA531C.6090001@ieee.org>
From: "Eduardo Cardona" <e.cardona@CableLabs.com>
To: <ellison@ieee.org>
X-Approved: ondar
Cc: ietfmibs@ietf.org
Subject: Re: [IETFMIBS] Enumerations with underscores
X-BeenThere: ietfmibs@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF MIB Discussion list <ietfmibs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietfmibs>
List-Post: <mailto:ietfmibs@ietf.org>
List-Help: <mailto:ietfmibs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietfmibs>, <mailto:ietfmibs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 May 2009 01:39:57 -0000

Thanks Mark,=20
That explains the issue clear.=20

Eduardo

-----Original Message-----
From: Mark Ellison [mailto:mark@ellisonsoftware.com]=20
Sent: Thursday, April 30, 2009 7:41 PM
To: Eduardo Cardona
Cc: ietfmibs@ietf.org
Subject: Re: [IETFMIBS] Enumerations with underscores

Hi Eduardo,

On 04/30/2009 09:03 PM, Eduardo Cardona wrote:
> I couldn't find a restriction in RFC 2578, or a recommendation
guideline
> in RFC 4181 that prohibits the use of underscores in integer
enumerated
> values labels.=20
> smilint 0.4.3 complains and NET-SNMP 5.1.x (aka. libsmi) complained
> about the existence of underscores in an enumeration
>
> Is there any clarification in some place about underscores usage? =20
>
>  =20
In RFC 2578 on page 21, section 7.1.1,  "Integer32 and INTEGER", the=20
last paragraph states:

       Finally, a label for a named-number enumeration must consist of
one
       or more letters or digits, up to a maximum of 64 characters, and
the
       initial character must be a lower-case letter.  (However, labels
       longer than 32 characters are not recommended.)  Note that
hyphens
       are not allowed by this specification (except for use by
information
       modules converted from SMIv1 which did allow hyphens).

Hyphens are specifically addressed because they were allowed in SMIv1. =20
Now, while an underscore is not a hyphen it is also not a 'letter' or a=20
'digit', so your SMIv2 syntax compilers are going to complain.
> Thanks for any suggestion
>
> Eduardo
>  =20
HTH,

Mark
http://EllisonSoftware.com/

