Re: [MIB-DOCTORS] 'MIB Doctor' review of draft-ietf-pce-pcep-mib-06

Kiran Agrahara Sreenivasa <kkoushik@Brocade.com> Wed, 17 December 2014 20:18 UTC

Return-Path: <kkoushik@Brocade.com>
X-Original-To: mib-doctors@ietfa.amsl.com
Delivered-To: mib-doctors@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C789B1A906E for <mib-doctors@ietfa.amsl.com>; Wed, 17 Dec 2014 12:18:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3wKMaNMwELPl for <mib-doctors@ietfa.amsl.com>; Wed, 17 Dec 2014 12:18:11 -0800 (PST)
Received: from mx0b-000f0801.pphosted.com (mx0b-000f0801.pphosted.com [IPv6:2620:100:9005:71::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED2681A9007 for <mib-doctors@ietf.org>; Wed, 17 Dec 2014 12:18:10 -0800 (PST)
Received: from pps.filterd (m0048192 [127.0.0.1]) by mx0b-000f0801.pphosted.com (8.14.5/8.14.5) with SMTP id sBHJT7AW026504; Wed, 17 Dec 2014 12:18:06 -0800
Received: from hq1wp-exchub02.corp.brocade.com ([144.49.131.13]) by mx0b-000f0801.pphosted.com with ESMTP id 1rax1naa2j-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 17 Dec 2014 12:18:05 -0800
Received: from BRMWP-EXCHUB02.corp.brocade.com (172.16.187.99) by HQ1WP-EXCHUB02.corp.brocade.com (10.70.38.101) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 17 Dec 2014 12:18:04 -0800
Received: from brm-excashub-2.corp.brocade.com (172.16.187.74) by BRMWP-EXCHUB02.corp.brocade.com (172.16.187.99) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 17 Dec 2014 13:18:04 -0700
Received: from brm-exch-3.corp.brocade.com ([169.254.1.206]) by brm-excashub-2.corp.brocade.com ([172.16.187.74]) with mapi; Wed, 17 Dec 2014 13:18:02 -0700
From: Kiran Agrahara Sreenivasa <kkoushik@Brocade.com>
To: Jonathan Hardwick <Jonathan.Hardwick@metaswitch.com>, Daniel King <daniel@olddog.co.uk>, "emile.stephan@orange.com" <emile.stephan@orange.com>, "qzhao@huawei.com" <qzhao@huawei.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Date: Wed, 17 Dec 2014 13:18:02 -0700
Thread-Topic: 'MIB Doctor' review of draft-ietf-pce-pcep-mib-06
Thread-Index: AQHPFUN7izR+wEEUAESdVWcEoB7VXpyUfyHwgAAYLoCAAUitgIAAYLmwgAABxFA=
Message-ID: <C051D5C82AA58D49B08200C1A16C643107184717B3@BRM-EXCH-3.corp.brocade.com>
References: <20140119182231.GB42438@elstar.local> <09CE6C3BE5E1EA40B987BF5F25D8DDBA010B3F9F77@ENFICSMBX1.datcon.co.uk> <009501d01960$ec400dc0$c4c02940$@olddog.co.uk> <20141217142504.GA67974@elstar.local> <09CE6C3BE5E1EA40B987BF5F25D8DDBA010B3FBEF3@ENFICSMBX1.datcon.co.uk>
In-Reply-To: <09CE6C3BE5E1EA40B987BF5F25D8DDBA010B3FBEF3@ENFICSMBX1.datcon.co.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68, 1.0.33, 0.0.0000 definitions=2014-12-17_06:2014-12-17,2014-12-17,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1412170188
Archived-At: http://mailarchive.ietf.org/arch/msg/mib-doctors/3g2tX14mDrQV51DHiWzBmUh9Nog
X-Mailman-Approved-At: Wed, 17 Dec 2014 14:07:59 -0800
Cc: "mib-doctors@ietf.org" <mib-doctors@ietf.org>
Subject: Re: [MIB-DOCTORS] 'MIB Doctor' review of draft-ietf-pce-pcep-mib-06
X-BeenThere: mib-doctors@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 17 Dec 2014 20:18:18 -0000

Hi Jon
No comments - Thanks for fixing this.

Thanks
Kiran


-----Original Message-----
From: Jonathan Hardwick [mailto:Jonathan.Hardwick@metaswitch.com] 
Sent: Wednesday, December 17, 2014 2:16 PM
To: Daniel King; Kiran Agrahara Sreenivasa; emile.stephan@orange.com; qzhao@huawei.com; Juergen Schoenwaelder
Cc: mib-doctors@ietf.org
Subject: RE: 'MIB Doctor' review of draft-ietf-pce-pcep-mib-06

Juergen, many thanks for this.

PCEP MIB co-authors:

As per Juergen's advice, I have commented out the offending restriction, as follows.  This has resolved the warning.  Please let me know ASAP if you have any comments on this.

-- The following restriction is commented out because of a limitation
-- in SMIv2 which does not allow index objects to be restricted in
-- scope.  Nevertheless, this object is intended to be restricted in
-- scope, as follows.
--
--     OBJECT       pcePcepPeerAddrType
--     SYNTAX       InetAddressType { unknown(0), ipv4(1), ipv6(2) }
--     DESCRIPTION  "Only unknown(0), ipv4(1), and ipv6(2) support
--                   is required."

Thanks
Jon

-----Original Message-----
From: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de]
Sent: 17 December 2014 14:25
To: Daniel King
Cc: mib-doctors@ietf.org; kkoushik@brocade.com; emile.stephan@orange.com; qzhao@huawei.com; Jonathan Hardwick
Subject: Re: 'MIB Doctor' review of draft-ietf-pce-pcep-mib-06

On Tue, Dec 16, 2014 at 06:48:45PM +0000, Daniel King wrote:
> Copying in mib-doctors as well.
> 
> In summary, the object (pcePcepPeerAddrType) is an index so we cannot 
> put it in a group, yet when we restrict the scope (in Compliance 
> clause) the compiler complains it is not in a group. :-/
> 
> https://tools.ietf.org/html/draft-ietf-pce-pcep-mib-11
>

This is one of the odd things in SMIv2. Congratulation for hitting it. ;-)

My recommendation is to write down the syntax variation and to comment it out. This way, it clear for the human what was meant and SMIv2 compilers will be happy as well.

/js

-- 
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/>