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

Ladislav Lhotka <lhotka@nic.cz> Tue, 13 January 2015 09:31 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 5BD341ACCC7 for <rtg-yang-coord@ietfa.amsl.com>; Tue, 13 Jan 2015 01:31:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.061
X-Spam-Level:
X-Spam-Status: No, score=-0.061 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, J_CHICKENPOX_29=0.6, 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 WJUxucUOSC5v for <rtg-yang-coord@ietfa.amsl.com>; Tue, 13 Jan 2015 01:31:36 -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 55F841A8A78 for <rtg-yang-coord@ietf.org>; Tue, 13 Jan 2015 01:31:35 -0800 (PST)
Received: from [IPv6:2001:718:1a02:1:5986:e949:ca0f:de59] (unknown [IPv6:2001:718:1a02:1:5986:e949:ca0f:de59]) by mail.nic.cz (Postfix) with ESMTPSA id 38E8513FA15; Tue, 13 Jan 2015 10:31:33 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nic.cz; s=default; t=1421141493; bh=h/fp8wMIzAMZGU4UXcYWOwnQsmPZsxOKf3VMb25feb0=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=kRZY8t0CU7HIlv7PVPDueXhxuvxv1jWa+BDsNluGvX/d7P6I4+QWgRDfgQcMwEhhC iXt1U33gTeJNf+8u1V+Lq3RXv8n4sej/uHnhSTbhPb0drFEUzAazyXsbjP9fKvQomi fk5pFkrsrHeJXTGEKD8tVmIryRVUAbXPr7BkAwTQ=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <D0D9CB3F.B6C0%acee@cisco.com>
Date: Tue, 13 Jan 2015 10:31:33 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <8022061D-AB8F-4A97-84E7-A6E4F898F57F@nic.cz>
References: <m2wq6j5skf.fsf@nic.cz> <D0D9CB3F.B6C0%acee@cisco.com>
To: "Acee Lindem (acee)" <acee@cisco.com>
X-Mailer: Apple Mail (2.1993)
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/OGX5s9QaTNN_dw5cO470n7xO_kQ>
Cc: "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: Tue, 13 Jan 2015 09:31:38 -0000

> On 13 Jan 2015, at 02:11, 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.

Please see also my earlier mail:

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

Thanks, Lada

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

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