Re: [Rtg-yang-coord] FW: New Version Notification for draft-liu-rtgwg-yang-rip-00.txt
Xufeng Liu <xufeng.liu@ericsson.com> Thu, 16 July 2015 02:18 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 0265E1B3370
for <rtg-yang-coord@ietfa.amsl.com>; Wed, 15 Jul 2015 19:18:36 -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 RXcFTFsM_6dp for <rtg-yang-coord@ietfa.amsl.com>;
Wed, 15 Jul 2015 19:18:34 -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 015751B3373
for <Rtg-yang-coord@ietf.org>; Wed, 15 Jul 2015 19:18:33 -0700 (PDT)
X-AuditID: c618062d-f799e6d00000329e-6e-55a6b8e67055
Received: from EUSAAHC003.ericsson.se (Unknown_Domain [147.117.188.81])
by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id
E8.77.12958.6E8B6A55; Wed, 15 Jul 2015 21:47:50 +0200 (CEST)
Received: from EUSAAMB107.ericsson.se ([147.117.188.124]) by
EUSAAHC003.ericsson.se ([147.117.188.81]) with mapi id 14.03.0210.002; Wed,
15 Jul 2015 22:18:32 -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+G56LwjwR5op3d0tVg
Date: Thu, 16 Jul 2015 02:18:31 +0000
Message-ID: <AAB1CC9C17CBA440BDFA169056B93B9E12731F1D@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+NgFrrMLMWRmVeSWpSXmKPExsUyuXRPoO6zHctCDa6f0ra4sGoum8Xv57eZ
HZg8liz5yeSx6fIdxgCmKC6blNSczLLUIn27BK6MNU8vsBfs16qYu+woSwPjY/kuRk4OCQET
iR3P5rNC2GISF+6tZ+ti5OIQEjjKKLH+yk9WCGc5o8S/d5OZuhg5ONgEtCQuP3UEaRARiJK4
8e8cI4gtLJAgsePFMiaIeKLElZ5JrCDlIgJGEgc+24CEWQRUJXr7voCV8wr4SnR+X8sOYgsJ
rGSUmPGSH8TmFDCQePPpNQuIzQh0z/dTa8BGMguIS9x6Mp8J4k4BiSV7zjND2KISLx//g7pf
SWLO62vMEPU6Egt2f2KDsLUlli18zQyxV1Di5MwnLBMYRWchGTsLScssJC2zkLQsYGRZxchR
WpxalptuZLCJERgLxyTYdHcw7nlpeYhRgINRiYd3wfxloUKsiWXFlbmHGKU5WJTEeR2j8kKF
BNITS1KzU1MLUovii0pzUosPMTJxcEo1MM4+WOF/uGzC+ieLmk8dec9lx1Ikceg4q7nZ3Q3X
p4g9ieCd7CWt+PpK7kkDlTi9faFRux4dOZz+3PXr04V/in9cYm7W/ecmcPLRuoWzRPedmsXG
z5TvfuNcqb3C2rjshdsM9JV01vw5/3vLG/uOc3wme3Yfn/MzcUNzgGTG63s/jpRHvz6tpvRV
iaU4I9FQi7moOBEAuKbZzWYCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/ZrYZin2ZGZ_we88sjtoZdTiEnKE>
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 16 Jul 2015 02:18:36 -0000
Hi Lada, Thanks for the comments. We have updated the model to address them in https://tools.ietf.org/html/draft-liu-rtgwg-yang-rip-01. Please let us know for any further comments. Thanks, - 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')"; > [Xufeng] Updated the model with the extra level of identity 'rip'. > - The purpose of distribute-list should be explained in more > detail given that it is not a standard function. [Xufeng] Updated the model with more descriptions. > > - 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"; > } > } [Xufeng] Took your suggestion to use enumeration instead of Boolean. > > - 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? [Xufeng] Discussed with ospf people. It seems that you have discussed this issue and decided to move this attribute from ip-routing to the individual protocol. > > - 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? [Xufeng] 0 is not legal to be advertised, but the value here is not used for advertisement. It is used for manipulating metric when a route is redistributed. > > - 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')" [Xufeng] We intend to allow an interface to be configured even if IPv4/IPv6 is not enabled. > > 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