Re: [Rtg-yang-coord] issue :R03: assignment of interfaces to routing instances

Ladislav Lhotka <lhotka@nic.cz> Fri, 16 January 2015 09:19 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 03B281AC3F3 for <rtg-yang-coord@ietfa.amsl.com>; Fri, 16 Jan 2015 01:19:19 -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_29=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 IKzGH5NreZVK for <rtg-yang-coord@ietfa.amsl.com>; Fri, 16 Jan 2015 01:19:17 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id B91161AC3E4 for <rtg-yang-coord@ietf.org>; Fri, 16 Jan 2015 01:19:15 -0800 (PST)
Received: from localhost (unknown [195.113.220.110]) by trail.lhotka.name (Postfix) with ESMTPSA id DAC0F1CC0027; Fri, 16 Jan 2015 10:19:26 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Christian Hopps <chopps@gmail.com>, "Acee Lindem \(acee\)" <acee@cisco.com>
In-Reply-To: <A4A3CB98-A976-4437-A4EB-F144F6BEDE19@gmail.com>
References: <m2wq6j5skf.fsf@nic.cz> <D0D9CB3F.B6C0%acee@cisco.com> <A4A3CB98-A976-4437-A4EB-F144F6BEDE19@gmail.com>
User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.4.51.2 (x86_64-apple-darwin14.0.0)
Date: Fri, 16 Jan 2015 10:19:16 +0100
Message-ID: <m2fvbbaxrf.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/4ESPh_uGf7lcOLCQdakYOgfMPjA>
Cc: Christian Hopps <chopps@gmail.com>, "rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>
Subject: Re: [Rtg-yang-coord] issue :R03: assignment of interfaces to routing instances
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: Fri, 16 Jan 2015 09:19:19 -0000

Christian Hopps <chopps@gmail.com> writes:

> Hi,
>
> Looking at a couple models (isis and ospf), they appear to add their
> own interface lists and then refer back to the routing instance
> list. If we have a list of interfaces in the routing instance does it
> make sense for routing protocols to augment the routing-instance list
> rather than create their own? If not then what other data will be

I think each protocol instance needs a list of interfaces it runs on.

> added to the routing instance interface?

Currently we have IPv6 RA data there, it is actually another issue we
have to resolve:

http://www.ietf.org/mail-archive/web/rtg-yang-coord/current/msg00132.html

Do you have any suggestion?

Thanks, Lada

>
> Thanks,
> Chris.
>
>> On Jan 12, 2015, at 8:11 PM, Acee Lindem (acee) <acee@cisco.com> wrote:
>> 
>> Hi,
>> 
>> Lada and I have been discussing this issue for some time and were hoping
>> for some comments from the routing community. The question is basically
>> whether to have a list of interfaces in routing-instance that reference
>> the RFC 7223 interfaces:
>> 
>>        container interfaces {
>>           description
>>             "Configuration of the routing instance's interfaces.";
>>           list interface {
>>             key "name";
>>             description
>>               "List of network layer interfaces assigned to the routing
>>                instance.";
>>             leaf name {
>>               type if:interface-ref;
>>               description
>>                 "A reference to the name of a configured network layer
>>                  interface.";
>>             }
>>           }
>>         }
>> 
>> 
>> 
>> Or to augment the RFC 7223 interfaces to point to the routing-instance.
>> 
>> 
>> Thanks,
>> Acee
>> 
>> On 11/25/14, 8:16 AM, "Ladislav Lhotka" <lhotka@nic.cz> wrote:
>> 
>>> Hi,
>>> 
>>> this issue refers the YANG module "ietf-routing" contained in
>>> 
>>> http://tools.ietf.org/html/draft-ietf-netmod-routing-cfg-16
>>> 
>>> Please indicate your preference or add comments.
>>> 
>>> ***** :R03: assignment of interfaces to routing instances
>>>     In -16 it is done by including a network-layer interface in the
>>>     list rt:interface under rt:routing-instance. An advantage of
>>>     this organization is that the rt:interface list should contain
>>>     only network layer interfaces for which the assignment makes
>>>     sense. A drawback is that the assignment is detached from the
>>>     specification of IP addresses in if:interface.
>>> 
>>> ****** Solution R03-1
>>>      No change.
>>> 
>>> ****** Solution R03-2
>>>      Do the assignment of an interface to a routing instance inside
>>>      the if:interface entry.
>>> 
>>> --
>>> 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 mailing list
>> Rtg-yang-coord@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtg-yang-coord
>
> _______________________________________________
> 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