Re: [Rtg-yang-coord] FW: New Version Notification for draft-liu-rtgwg-yang-rip-00.txt
Xufeng Liu <xufeng.liu@ericsson.com> Mon, 27 April 2015 23:47 UTC
Return-Path: <xufeng.liu@ericsson.com>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 808721ACD3B
for <rtg-yang-coord@ietfa.amsl.com>; Mon, 27 Apr 2015 16:47:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 26yI_pk8DUCQ for <rtg-yang-coord@ietfa.amsl.com>;
Mon, 27 Apr 2015 16:47:44 -0700 (PDT)
Received: from usevmg20.ericsson.net (usevmg20.ericsson.net [198.24.6.45])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 9DACE1ACD4E
for <Rtg-yang-coord@ietf.org>; Mon, 27 Apr 2015 16:47:44 -0700 (PDT)
X-AuditID: c618062d-f79a96d000007fb1-f2-553e731e464e
Received: from EUSAAHC007.ericsson.se (Unknown_Domain [147.117.188.93])
by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id
73.91.32689.E137E355; Mon, 27 Apr 2015 19:34:22 +0200 (CEST)
Received: from EUSAAMB107.ericsson.se ([147.117.188.124]) by
EUSAAHC007.ericsson.se ([147.117.188.93]) with mapi id 14.03.0210.002; Mon,
27 Apr 2015 19:47:42 -0400
From: Xufeng Liu <xufeng.liu@ericsson.com>
To: Ladislav Lhotka <lhotka@nic.cz>, "Rtg-yang-coord@ietf.org"
<Rtg-yang-coord@ietf.org>
Thread-Topic: [Rtg-yang-coord] FW: New Version Notification for
draft-liu-rtgwg-yang-rip-00.txt
Thread-Index: AQHQgMmjHac1cDGr7E+G56LwjwR5op1hhfHg
Date: Mon, 27 Apr 2015 23:47:41 +0000
Message-ID: <AAB1CC9C17CBA440BDFA169056B93B9EBC3BFF@eusaamb107.ericsson.se>
References: <20150424141026.19483.31466.idtracker@ietfa.amsl.com>
<AAB1CC9C17CBA440BDFA169056B93B9EBC0EF1@eusaamb107.ericsson.se>
<m21tj67xd3.fsf@birdie.labs.nic.cz>
In-Reply-To: <m21tj67xd3.fsf@birdie.labs.nic.cz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.12]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsUyuXRPrK5csV2oQdMSI4sLq+ayWfx+fpvZ
gcljyZKfTB6bLt9hDGCK4rJJSc3JLEst0rdL4MpY2/uJreCmSsWPjz0sDYzd0l2MnBwSAiYS
V79NY4SwxSQu3FvP1sXIxSEkcJRR4uedB+wQznJGib+N3SxdjBwcbAJaEpefOoI0iAhESdz4
dw6sWVggQWLHi2VMEPFEiSs9k1ghbCOJ96c3MYG0sgioStw8Eg4S5hXwlvhz5SgLiC0ksJJR
YsZLfhCbU8BA4s2n12BxRqB7vp9aAzaSWUBc4taT+UwQdwpILNlznhnCFpV4+fgfK4StJDHn
9TVmiHodiQW7P7FB2NoSyxa+ZobYKyhxcuYTlgmMorOQjJ2FpGUWkpZZSFoWMLKsYuQoLU4t
y003MtjECIyFYxJsujsY97y0PMQowMGoxMP7IN42VIg1say4MvcQozQHi5I476IHB0OEBNIT
S1KzU1MLUovii0pzUosPMTJxcEo1MLbcO+ej9uPr07oo9saa9xpH+qTY9u+bdHKLddBzBv7S
7IV/7p7YvF11e+OJSRWeWbsO1IiZ8E+1O9TYscpVRNO6+v307gc3w1c+m28/IdEsVHP3B90v
T9Ou6+Zsm5uk6N0x74rDn5OmO3e/soi8yBtZ/D3om8yNb20FNk/Xv3/c7Sox81c1b4YSS3FG
oqEWc1FxIgCw0/pTZgIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/DzcArhQu9P4jZvP5ACCP-PLGNQc>
Subject: Re: [Rtg-yang-coord] FW: New Version Notification for
draft-liu-rtgwg-yang-rip-00.txt
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG
models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>,
<mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>,
<mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Apr 2015 23:47:46 -0000
Hi Lada, Thanks for the valuable comments. Will check them and make changes accordingly. - Xufeng > -----Original Message----- > From: Rtg-yang-coord [mailto:rtg-yang-coord-bounces@ietf.org] On Behalf Of > Ladislav Lhotka > Sent: Monday, April 27, 2015 5:08 AM > To: Xufeng Liu; Rtg-yang-coord@ietf.org > Subject: Re: [Rtg-yang-coord] FW: New Version Notification for draft-liu-rtgwg- > yang-rip-00.txt > > Hi, > > I read the draft and here are my comments, mainly YANG-related: > > - I'd suggest to define a common "rip" identity from which both > "ripv2" and "ripng" are derived. That is: > > identity rip { > base rt:routing-protocol; > description > "Identity for the RIP routing protocol."; > } > > identity ripv2 { > base "rip:rip"; > description "RIPv2"; > } > > identity ripng { > base "rip:rip"; > description "RIPng"; > } > > The benefits of doing so will be apparent with YANG 1.1 where the > following "when" statement will be able to cover both versions: > > when "derived-from(rt:type, 'ietf-rip', 'rip')"; > > - The purpose of distribute-list should be explained in more > detail given that it is not a standard function. > > - The definition > > leaf in-out { > type boolean; > description > "false for 'in', and true for 'out'."; > } > > looks quite awkward, and without access to the data model it is > unclear what, e.g. > > "in-out": true > > means. I'd suggest something more reader-friendly, such as > > leaf direction { > type enumeration { > enum "in"; > enum "out"; > } > } > > - The leaf "distance" seems to have the same role as > "rt:protocol/rt:route-preference". Do you have any reason for > not using the latter? > > - The range for route metric is "0..16" but both RFC 2080 and > 2453 state that the metric is a value between 1 and 15. I am > especially wondering about the value of zero - is it really > legal? > > - The "must" statement for leaf "rip:interface" tries to make sure > that either IPv4 or IPv6 is enabled on the interface to which > the leaf refers. I think the setting of the "ip:enabled" leaf > should also be taken into account, so the "must" expression > should be > > must "(../../../rt:type = 'rip:ripv2' and " > + "/if:interfaces/if:interface[name=current()]/" > + "ip:ipv4/ip:enabled = 'true') or " > + "(../../../rt:type = 'rip:ripng' and " > + "/if:interfaces/if:interface[name=current()]/" > + "ip:ipv6/ip:enabled = 'true')" > > Lada > > Xufeng Liu <xufeng.liu@ericsson.com> writes: > > > -----Original Message----- > > From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org] > > Sent: Friday, April 24, 2015 10:10 AM > > To: Prateek Sarda; Xufeng Liu; Prateek Sarda; Xufeng Liu > > Subject: New Version Notification for draft-liu-rtgwg-yang-rip-00.txt > > > > > > A new version of I-D, draft-liu-rtgwg-yang-rip-00.txt has been successfully > submitted by Xufeng Liu and posted to the IETF repository. > > > > Name: draft-liu-rtgwg-yang-rip > > Revision: 00 > > Title: A YANG Data Model for Routing Information Protocol (RIP) > > Document date: 2015-04-24 > > Group: Individual Submission > > Pages: 26 > > URL: http://www.ietf.org/internet-drafts/draft-liu-rtgwg-yang-rip-00.txt > > Status: https://datatracker.ietf.org/doc/draft-liu-rtgwg-yang-rip/ > > Htmlized: http://tools.ietf.org/html/draft-liu-rtgwg-yang-rip-00 > > > > > > Abstract: > > This document describes a data model for Routing Information Protocol > > (RIP). Both RIP version 2 and RIPng are covered. > > > > > > > > > > Please note that it may take a couple of minutes from the time of submission > until the htmlized version and diff are available at tools.ietf.org. > > > > The IETF Secretariat > > > > _______________________________________________ > > Rtg-yang-coord mailing list > > Rtg-yang-coord@ietf.org > > https://www.ietf.org/mailman/listinfo/rtg-yang-coord > > -- > Ladislav Lhotka, CZ.NIC Labs > PGP Key ID: E74E8C0C > > _______________________________________________ > Rtg-yang-coord mailing list > Rtg-yang-coord@ietf.org > https://www.ietf.org/mailman/listinfo/rtg-yang-coord
- [Rtg-yang-coord] FW: New Version Notification for… Xufeng Liu
- Re: [Rtg-yang-coord] FW: New Version Notification… Ladislav Lhotka
- Re: [Rtg-yang-coord] FW: New Version Notification… Xufeng Liu
- Re: [Rtg-yang-coord] FW: New Version Notification… Xufeng Liu