Re: [i2rs] Yangdoctors early review of draft-ietf-i2rs-yang-l2-network-topology-04

Ladislav Lhotka <lhotka@nic.cz> Fri, 04 May 2018 08:04 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 175D6127444; Fri, 4 May 2018 01:04:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 xdc6d_B8Miyd; Fri, 4 May 2018 01:04:47 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 7CDA1127869; Fri, 4 May 2018 01:04:41 -0700 (PDT)
Received: from birdie (unknown [IPv6:2001:718:1a02:1::380]) by mail.nic.cz (Postfix) with ESMTPSA id F3BA360571; Fri, 4 May 2018 10:04:38 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1525421079; bh=/RrHPiQeLnt0Hx77MSSS0EH6DhWitumUckV9iHuuBBM=; h=From:To:Date; b=X/PacDswbI3U8/y46jH+yILbl5kCvBqiVF4c7/yUKcO9ro9AuoB88+RvTS9UdV1Bp q5rZqkBexAczn68ctreA0Acm9VRq2xPmMMh/2yd7utLkCQli9DkZs0U2KqqtO8xTxW BeZog9X8V4/h0Z+NsdH41LHzYyK2/fQkg+7seI/k=
Message-ID: <8978121dad28df18a46b45770649e33039f5917f.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Cc: "i2rs@ietf.org" <i2rs@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "draft-ietf-i2rs-yang-l2-network-topology.all@ietf.org" <draft-ietf-i2rs-yang-l2-network-topology.all@ietf.org>
Date: Fri, 04 May 2018 10:04:48 +0200
In-Reply-To: <76CD132C3ADEF848BD84D028D243C92798440318@NKGEML515-MBS.china.huawei.com>
References: <152526794842.11272.8213634409290285584@ietfa.amsl.com> <76CD132C3ADEF848BD84D028D243C92798440318@NKGEML515-MBS.china.huawei.com>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.28.1
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/hSrhIoMykI1qQmswrqQTGd9MzoM>
Subject: Re: [i2rs] Yangdoctors early review of draft-ietf-i2rs-yang-l2-network-topology-04
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2018 08:04:50 -0000

On Fri, 2018-05-04 at 02:08 +0000, Dongjie (Jimmy) wrote:
> Hi Lada, 
> 
> Thanks a lot for your review comments. Please see some replies inline:
> 
> > -----Original Message-----
> > From: Ladislav Lhotka [mailto:lhotka@nic.cz]
> > Sent: Wednesday, May 02, 2018 9:32 PM
> > To: yang-doctors@ietf.org
> > Cc: i2rs@ietf.org; ietf@ietf.org;
> > draft-ietf-i2rs-yang-l2-network-topology.all@ietf.org
> > Subject: Yangdoctors early review of draft-ietf-i2rs-yang-l2-network-
> > topology-04
> > 
> > Reviewer: Ladislav Lhotka
> > Review result: Ready
> > 
> > This draft and YANG modules contained therein fit into the framework of I2RS
> > network topology models. I have no substantial comments, from the YANG point
> > of view this document is ready to be published.
> > 
> > Comments and questions:
> > 
> > 1. What is the purpose of the 'flag-type' type and 'flag-identity' identity?
> > There are no identities derived from the latter.
> 
> The "flag-type" type is used in the grouping "l2-network-attributes", "l2-
> node-attributes" and "l2-link-attributes".
> 
> While there is no identities derived from the "flag-identity", it is used in
> the typedef flag-type. Is this OK?

>From the YANG point of view it is certainly OK. Do you expect other modules to
define identities derived from "flag-identity"?

> 
> > 2. Some descriptions overuse capitalization. For example, instead of 'VLAN
> > Name'
> > I would suggest 'VLAN name'.
> 
> Thanks for catching this. Will fix in next revision.
> 
> > 3. An example of an instance document in an appendix would be very helpful.
> 
> Thanks for your suggestion. We will add an example to the appendix.

Thanks, Lada

> 
> Best regards,
> Jie
> 
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67