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

Quintin zhao <quintin.zhao@huawei.com> Thu, 18 December 2014 00:24 UTC

Return-Path: <quintin.zhao@huawei.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 9A6EB1A00BD for <mib-doctors@ietfa.amsl.com>; Wed, 17 Dec 2014 16:24:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.078
X-Spam-Level: **
X-Spam-Status: No, score=2.078 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, CHARSET_FARAWAY_HEADER=3.2, CN_BODY_35=0.339, MIME_8BIT_HEADER=0.3, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 CyiA9hZwPxqz for <mib-doctors@ietfa.amsl.com>; Wed, 17 Dec 2014 16:24:15 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8C88D1A000F for <mib-doctors@ietf.org>; Wed, 17 Dec 2014 16:24:14 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml404-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BNA70363; Thu, 18 Dec 2014 00:24:12 +0000 (GMT)
Received: from SJCEML703-CHM.china.huawei.com (10.212.94.49) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 18 Dec 2014 00:24:11 +0000
Received: from SJCEML701-CHM.china.huawei.com ([169.254.3.253]) by SJCEML703-CHM.china.huawei.com ([169.254.5.204]) with mapi id 14.03.0158.001; Wed, 17 Dec 2014 16:24:07 -0800
From: Quintin zhao <quintin.zhao@huawei.com>
To: Jonathan Hardwick <Jonathan.Hardwick@metaswitch.com>, Daniel King <daniel@olddog.co.uk>, "kkoushik@brocade.com" <kkoushik@brocade.com>, "emile.stephan@orange.com" <emile.stephan@orange.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Thread-Topic: 'MIB Doctor' review of draft-ietf-pce-pcep-mib-06
Thread-Index: AQHPFUN7izR+wEEUAESdVWcEoB7VXpyUfyHwgACeS4CAAUisgIAAYgcA//++U2A=
Date: Thu, 18 Dec 2014 00:24:06 +0000
Message-ID: <11208E03C9803E4CB4C3D898F153D6C03085E8E0@SJCEML701-CHM.china.huawei.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: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.133.194]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/mib-doctors/r4ROzd2tSwm4szR9042eCt2q9iQ
X-Mailman-Approved-At: Wed, 17 Dec 2014 23:29:44 -0800
Cc: "mib-doctors@ietf.org" <mib-doctors@ietf.org>
Subject: [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: Thu, 18 Dec 2014 00:24:16 -0000

Jon,

Thanks for fixing this and I have no further comments.

Quintin


-----邮件原件-----
发件人: Jonathan Hardwick [mailto:Jonathan.Hardwick@metaswitch.com] 
发送时间: 2014年12月17日 15:16
收件人: Daniel King; kkoushik@brocade.com; emile.stephan@orange.com; Quintin zhao; Juergen Schoenwaelder
抄送: mib-doctors@ietf.org
主题: 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/>