Re: rtg-cfg hierachy (PLEASE REPLY TO THIS ONE WITH THE CORRECT MAIL ALIASES)

Ladislav Lhotka <lhotka@nic.cz> Mon, 23 February 2015 12:45 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93B151A1A88; Mon, 23 Feb 2015 04:45:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level:
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_14=0.6] 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 Ibxv8KgXWyJ7; Mon, 23 Feb 2015 04:45:27 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 3693B1A1A8B; Mon, 23 Feb 2015 04:45:27 -0800 (PST)
Received: from localhost (unknown [195.113.220.110]) by trail.lhotka.name (Postfix) with ESMTPSA id 0F3AE1CC0249; Mon, 23 Feb 2015 13:45:32 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Thomas Morin <thomas.morin@orange.com>, "Acee Lindem (acee)" <acee@cisco.com>, Routing YANG <rtg-yang-coord@ietf.org>, Routing WG <rtgwg@ietf.org>
Subject: Re: rtg-cfg hierachy (PLEASE REPLY TO THIS ONE WITH THE CORRECT MAIL ALIASES)
In-Reply-To: <54E47928.8050108@orange.com>
References: <14011_1423852286_54DE42FE_14011_2207_1_D103AD28.E652%acee@cisco.com> <54E47928.8050108@orange.com>
User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/24.4.51.2 (x86_64-apple-darwin14.0.0)
Date: Mon, 23 Feb 2015 13:45:25 +0100
Message-ID: <m2a904zti2.fsf@birdie.labs.nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtgwg/mDMKpMwllG0n1jFlqC_azq3sYQk>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Feb 2015 12:45:29 -0000

Hi Thomas,

I apologize for a late response, I was on holiday last week.

Thomas Morin <thomas.morin@orange.com> writes:

> Hi Acee, Lada,
>
> It seems that my comment that you quote was more related to filters than 
> to routing tables, and indeed, *filters* were moved from "router" to 
> "global" in revision -03 that followed my review.

Right, but each filter could then be specified for either
"connected-routing-table" or "recipient-routing-table", and if the
'remote' routing table is in a different routing instance, it IMO makes
more sense to have routing tables (RIBs) as global objects
accessible to all routing instances.

In fact, even if RIBs are routing-instance specific, it will still be
possible to access a RIB in a foreign routing instance, it will just be
more laborious - one will have to specify the target routing instance &
RIB. Also, names of RIBs will no more be unique system-wide.

>
> 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

Thanks, Lada

>
> Best,
>
> -Thomas
>
>
>
>
>
> 2015-02-13, Acee Lindem (acee):
>>
>> Hi Lada, Thomas,
>>
>> On 2/13/15, 5:10 AM, "Ladislav Lhotka" <lhotka@nic.cz> wrote:
>>
>>> Hi,
>>>
>>> "Acee Lindem (acee)" <acee@cisco.com> writes:
>>>
>>>> Hi Thomas,
>>>>
>>>> It is my understanding that the RIBs were moved out of the
>>>> routing-instance in response to your comment that a RIB would need to be
>>>> attached to multiple routing instances. I don¹t agree with this
>>>> model. I
>>>
>>> Acee refers to this comment that Thomas made in his review of
>>> draft-ietf-netmod-routing-cfg-02 on 2012-03-23:
>>>
>>> "Allowing multiple "routers" is a good starting point for using these
>>> specs in the context of RFC4364 (MPLS/BGP IP VPNs). However, if I
>>> understand correctly Yang syntax, the way the filters are defined would
>>> not work in the context of RFC4364, where a BGP routing instance in the
>>> master "router" exports selected routes in each of the routing table of
>>> each VPN (VRF).  The VRF also export routes to the master instance."
>>>
>>> And indeed, 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.
>>
>> Then do you agree to move the RIBs back into the routing-instance? Both
>> the BGP YANG drafts model L3VPN definitions under the corresponding
>> address family in BGP.
>>
>> http://www.ietf.org/id/draft-shaikh-idr-bgp-model-00.txt
>> http://www.ietf.org/id/draft-zhdankin-idr-bgp-cfg-00.txt
>>
>> Thanks,
>> Acee
>>
>>
>>
>>>
>>> Lada
>>>
>>>> believe that a routing instance implies a VRF, virtual router or
>>>> something
>>>> in between and that a RIB should be associated with one and only one
>>>> routing instance. Additionally, I feel that RIBs are basically passive
>>>> entities with respect to import/export of routes between RIBs in the
>>>> same
>>>> or other routing-instances. Rather, all import/export is under the
>>>> control
>>>> of a routing-protocol. For example, this would be handled by a BGP
>>>> routing-protocol instance for L3VPNs.
>>>>
>>>> I¹d like to get the opinions of others on this fundamental aspect of the
>>>> rtg-cfg model.
>>>>
>>>> Thanks,
>>>> Acee
>>>>
>>>>
>>>
>>> --
>>> Ladislav Lhotka, CZ.NIC Labs
>>> PGP Key ID: E74E8C0C
>>
>>
>>
>

-- 
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C