Re: [Rtg-yang-coord] rtg-cfg hierachy (PLEASE REPLY TO THIS ONE WITH THE CORRECT MAIL ALIASES)
Ladislav Lhotka <lhotka@nic.cz> Mon, 23 February 2015 19:51 UTC
Return-Path: <lhotka@nic.cz>
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 2FC771A6EF0;
Mon, 23 Feb 2015 11:51:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.361
X-Spam-Level:
X-Spam-Status: No, score=-0.361 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904,
MIME_8BIT_HEADER=0.3, T_RP_MATCHES_RCVD=-0.01] autolearn=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 VBF_9nHeOI8y; Mon, 23 Feb 2015 11:51:44 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 8A9AF1A6EE8;
Mon, 23 Feb 2015 11:51:44 -0800 (PST)
Received: from [IPv6:2a01:5e0:29:ffff:54ad:feb6:3ad3:9330] (unknown
[IPv6:2a01:5e0:29:ffff:54ad:feb6:3ad3:9330])
by mail.nic.cz (Postfix) with ESMTPSA id 24D461439D9;
Mon, 23 Feb 2015 20:51:43 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nic.cz; s=default;
t=1424721103; bh=SNw2gcIa7oYnKAB02JsliocrcuQ84snZamQwe/53F7g=;
h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:
Content-Transfer-Encoding:Message-Id:References:To;
b=Nx8yAY9sr/S5RpEv1APTo782NZc0H8NIrgGawZ6IfS81fzf6c9IXqyssPwjXiVP4d
BhoMjMRXMna/NtURJsVA35GFy4EpqWHl8PrIOdi5W1Tzwmole983/1qcxXs0YvpZVE
t+dM+2SHMsyTCfSPMI6TTMC6oyj1/4z3+PzBwyJY=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <20150223.203140.655664249325530031.mbj@tail-f.com>
Date: Mon, 23 Feb 2015 20:51:44 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <7A0379E8-AFA9-4DCB-B5D5-1148985778E0@nic.cz>
References: <14011_1423852286_54DE42FE_14011_2207_1_D103AD28.E652%acee@cisco.com>
<54E47928.8050108@orange.com> <m2a904zti2.fsf@birdie.labs.nic.cz>
<20150223.203140.655664249325530031.mbj@tail-f.com>
To: =?utf-8?Q?Martin_Bj=C3=B6rklund?= <mbj@tail-f.com>
X-Mailer: Apple Mail (2.2070.6)
X-Virus-Scanned: clamav-milter 0.98.1 at mail
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/KIkLSoOaMfvoClIVfNh6AQeAT0U>
Cc: rtg-yang-coord@ietf.org, thomas.morin@orange.com, acee@cisco.com,
rtgwg@ietf.org
Subject: Re: [Rtg-yang-coord] rtg-cfg hierachy (PLEASE REPLY TO THIS ONE
WITH THE CORRECT MAIL ALIASES)
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, 23 Feb 2015 19:51:46 -0000
> On 23 Feb 2015, at 20:31, Martin Bjorklund <mbj@tail-f.com> wrote: > > Ladislav Lhotka <lhotka@nic.cz> wrote: >> Thomas Morin <thomas.morin@orange.com> writes: >>> Additionally, Lada, you say that based on my comments "in rev. -03 the >>> list of RIBs (then called "routing-table") was the moved out of the >>> routing instance (then called "router") and became global.". But if I >>> look at -03, "routing-table" is still a child of "router". The change >>> to make "routing-table" global was made in -05. >>> >>> I guess you need to find out what was the motivation for the change in >>> -05, a few months after my initial comments were address. >> >> Yes, you are right, it seems the immediate motivation for this change >> was this review by Martin Bjorklund: >> >> http://www.ietf.org/mail-archive/web/netmod/current/msg06962.html > > I don't really understand what exactly in this review led to that > change? Last bullet about sec. 5.2: o 5.2 list recipient-routing-table { ... leaf name { type leafref { path "/routing/router/routing-tables/" + "routing-table/name"; } This should also be a relative path. A relative path would make sense only if the leafref points within the same router (later renamed to routing-instance). Consequently, it would be impossible to pass routes between tables in different routers. On the other hand, the global path as shown above could lead to ambiguous references, because different routers could have routing-tables with identical names. I therefore decided to keep the global path but make sure the names of routing tables are globally unique. Having a single list of routing-tables was the most straightforward way to achieve this. Lada > > > /martin -- Ladislav Lhotka, CZ.NIC Labs PGP Key ID: E74E8C0C
- Re: [Rtg-yang-coord] rtg-cfg hierachy (PLEASE REP… Acee Lindem (acee)
- Re: [Rtg-yang-coord] rtg-cfg hierachy (PLEASE REP… Thomas Morin
- Re: [Rtg-yang-coord] rtg-cfg hierachy (PLEASE REP… Acee Lindem (acee)
- Re: [Rtg-yang-coord] rtg-cfg hierachy (PLEASE REP… Ladislav Lhotka
- Re: [Rtg-yang-coord] rtg-cfg hierachy (PLEASE REP… Martin Bjorklund
- Re: [Rtg-yang-coord] rtg-cfg hierachy (PLEASE REP… Ladislav Lhotka