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

Christian Hopps <chopps@gmail.com> Thu, 15 January 2015 12:23 UTC

Return-Path: <chopps@gmail.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 E200A1B2BEE for <rtg-yang-coord@ietfa.amsl.com>; Thu, 15 Jan 2015 04:23:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level:
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_29=0.6, SPF_PASS=-0.001] 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 0hhidn66v6oc for <rtg-yang-coord@ietfa.amsl.com>; Thu, 15 Jan 2015 04:23:35 -0800 (PST)
Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 743561B2BF0 for <rtg-yang-coord@ietf.org>; Thu, 15 Jan 2015 04:23:35 -0800 (PST)
Received: by mail-ig0-f180.google.com with SMTP id h15so14208365igd.1 for <rtg-yang-coord@ietf.org>; Thu, 15 Jan 2015 04:23:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=KgDhCAHPH97pb2XSLHsFbDDkQ95IGoaQ41T4Q+vvJso=; b=pI5f+zEuyIgn4Z1lz3nIw/DuRqEa0moEXLYrz+M90NEYqiAaigazj9XhHDjUyq6RNe GVuWm5OX871QCkJ9pEhY28n6gAbI9gdz4xIG9IlD6BKAx/nyyTEoHG73cXgdid2dgC+2 Dya/Pn3qcqqyHCMPtBiDkcjGoMvvlUduM7OUMANW0B6/4bVpdMn7bA3eVhWQQwF12NFv Wl7sEl6LxSgtlBIDv/y9meuFE77i52yG7yRLtJh+TqdYlGbfTxquSozwKAJlHtFKxAfi LNGQ7u9dCBz+zSkXzt2DiNyFNU0eoaLRWVA0Jlk8+LtJQ7tEumLifPODeuJoDCetoZEF z15g==
X-Received: by 10.107.134.211 with SMTP id q80mr8576107ioi.22.1421324614600; Thu, 15 Jan 2015 04:23:34 -0800 (PST)
Received: from dex.chopps.org (c-68-61-203-90.hsd1.mi.comcast.net. [68.61.203.90]) by mx.google.com with ESMTPSA id y192sm885926iod.21.2015.01.15.04.23.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Jan 2015 04:23:33 -0800 (PST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.1\))
Content-Type: multipart/signed; boundary="Apple-Mail=_E124A3C6-4626-48CB-8CDA-42C04DB1E405"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.5b4
From: Christian Hopps <chopps@gmail.com>
In-Reply-To: <D0D9CB3F.B6C0%acee@cisco.com>
Date: Thu, 15 Jan 2015 07:23:29 -0500
Message-Id: <A4A3CB98-A976-4437-A4EB-F144F6BEDE19@gmail.com>
References: <m2wq6j5skf.fsf@nic.cz> <D0D9CB3F.B6C0%acee@cisco.com>
To: "Acee Lindem (acee)" <acee@cisco.com>
X-Mailer: Apple Mail (2.2070.1)
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/Xv9pnPqe2K8xONyVdOXlxOAS10Q>
X-Mailman-Approved-At: Thu, 15 Jan 2015 08:03:01 -0800
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: Thu, 15 Jan 2015 12:23:37 -0000

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 added to the routing instance interface?

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