Re: [yang-doctors] [Rift] Yangdoctors last call review of draft-ietf-rift-yang-03

zhang.zheng@zte.com.cn Fri, 09 July 2021 01:00 UTC

Return-Path: <zhang.zheng@zte.com.cn>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 640383A3026; Thu, 8 Jul 2021 18:00:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.196
X-Spam-Level:
X-Spam-Status: No, score=-4.196 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Ks4PaEaGoXmL; Thu, 8 Jul 2021 18:00:18 -0700 (PDT)
Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.217.80.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A34783A3024; Thu, 8 Jul 2021 18:00:14 -0700 (PDT)
Received: from mxct.zte.com.cn (unknown [192.168.164.215]) by Forcepoint Email with ESMTPS id 3A15B884F9CD780DC21D; Fri, 9 Jul 2021 09:00:12 +0800 (CST)
Received: from mse-fl1.zte.com.cn (unknown [10.30.14.238]) by Forcepoint Email with ESMTPS id 1D81E7792246461A37E5; Fri, 9 Jul 2021 09:00:12 +0800 (CST)
Received: from njxapp02.zte.com.cn ([10.41.132.201]) by mse-fl1.zte.com.cn with SMTP id 169104Ut029258; Fri, 9 Jul 2021 09:00:04 +0800 (GMT-8) (envelope-from zhang.zheng@zte.com.cn)
Received: from mapi (njxapp02[null]) by mapi (Zmail) with MAPI id mid203; Fri, 9 Jul 2021 09:00:04 +0800 (CST)
Date: Fri, 09 Jul 2021 09:00:04 +0800
X-Zmail-TransId: 2afa60e79f94a5820d26
X-Mailer: Zmail v1.0
Message-ID: <202107090900044397581@zte.com.cn>
In-Reply-To: <162573898729.4670.7837396780950130231@ietfa.amsl.com>
References: 162573898729.4670.7837396780950130231@ietfa.amsl.com
Mime-Version: 1.0
From: zhang.zheng@zte.com.cn
To: noreply@ietf.org
Cc: yang-doctors@ietf.org, draft-ietf-rift-yang.all@ietf.org, last-call@ietf.org, rift@ietf.org
Content-Type: multipart/mixed; boundary="=====_001_next====="
X-MAIL: mse-fl1.zte.com.cn 169104Ut029258
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/7qmLV_jfhDbdiwQR9UW4NnE3Z4A>
Subject: Re: [yang-doctors] [Rift] Yangdoctors last call review of draft-ietf-rift-yang-03
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jul 2021 01:00:21 -0000

Hi Michal, 
Thank you very much for your review!
We'll update the model according to your comments in next version.
Best regards,
Sandy

------------------原始邮件------------------
发件人:MichalVaškoviaDatatracker
收件人:yang-doctors@ietf.org;
抄送人:draft-ietf-rift-yang.all@ietf.org;last-call@ietf.org;rift@ietf.org;
日 期 :2021年07月08日 18:17
主 题 :[Rift] Yangdoctors last call review of draft-ietf-rift-yang-03
Reviewer: Michal Vaško
Review result: Almost Ready

Generally, use references where make sense (features, nodes) and use units
and/or standard types (ietf-yang-types) for leaves (such as grouping
neighbor-node/bandwidth). All links are invalid, better to use references
anyway because the module will be used outside the RFC.

Specific problems:

- description - copyright 2020
- typedef ieee802-1as-timestamp-type - reference in description, put separately
- grouping address-families
- list with a single key can be leaf-list
- would make sense if meant to be augmented with new nodes
- grouping node-flag
- used only once, makes sense if meant to be reused by other modules
- consider using bits type in the leaf
- grouping base-node-info/pod - redundant description, use union of number and
"undefined", or leave out for undefined since it is not mandatory - augment
rift/rx-lie-multicast-address,tx-lie-multicast-address
- default value in description - should be defined in YANG
- consider using
refine on
"addresses"
rx-flood-port - redundant default in description, is obvious in YANG
algorithm-type - empty cases - redundant on their own, are expected to
be augmented? HAL - use lowercase
database/tie/negative_disaggregation_prefixes
- use hyphen instead of underscore
- consider abbreviated/shorter node names
- applicable for the following nodes as well


_______________________________________________
RIFT mailing list
RIFT@ietf.org
https://www.ietf.org/mailman/listinfo/rift