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

Jeffrey Haas <jhaas@pfrc.org> Tue, 24 February 2015 18:29 UTC

Return-Path: <jhaas@slice.pfrc.org>
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 1FFEC1A8790; Tue, 24 Feb 2015 10:29:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.578
X-Spam-Level:
X-Spam-Status: No, score=-1.578 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, 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 mlYhgKZ1_JwS; Tue, 24 Feb 2015 10:29:00 -0800 (PST)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 5CB401A1BE8; Tue, 24 Feb 2015 10:29:00 -0800 (PST)
Received: by slice.pfrc.org (Postfix, from userid 1001) id 839DCC212; Tue, 24 Feb 2015 13:28:59 -0500 (EST)
Date: Tue, 24 Feb 2015 13:28:59 -0500
From: Jeffrey Haas <jhaas@pfrc.org>
To: "Acee Lindem (acee)" <acee@cisco.com>
Message-ID: <20150224182859.GB13211@pfrc>
References: <20150114155450.GA3625@elstar.local> <AAB1CC9C17CBA440BDFA169056B93B9EB1139B@eusaamb107.ericsson.se> <CABCOCHSiWG=x0vTYKKxqhMqd69yK+Nuo0k_Y_=Y_KHkQBDi3FA@mail.gmail.com> <D0DBD855.889EB%jeff.tantsura@ericsson.com> <AAB1CC9C17CBA440BDFA169056B93B9EB11472@eusaamb107.ericsson.se> <20150114174655.GA3932@elstar.local> <D1029726.E4B5%acee@cisco.com> <m2k2zm9kg9.fsf@birdie.labs.nic.cz> <D103A0D5.E60D%acee@cisco.com> <D103A6D1.E624%acee@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D103A6D1.E624%acee@cisco.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/1_5F9aAbgwDEjd_0RLXdT2YbYUo>
Cc: "rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Ladislav Lhotka <lhotka@nic.cz>, Andy Bierman <andy@yumaworks.com>, Xufeng Liu <xufeng.liu@ericsson.com>, Routing WG <rtgwg@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, 24 Feb 2015 18:29:01 -0000

[I'm behind as usual and this may have been discussed already.]

On Fri, Feb 13, 2015 at 06:07:11PM +0000, Acee Lindem (acee) wrote:
> Independent of the hierarchy, I think an interface should be associated
> with one and only routing-instance. I know of no implementation that
> allows this (including the use case of separate instances for IPv4 and
> IPv6). 

While junos does have the interface as part of the routing instance
interface hierarchy, you're also correct in that junos enforces that the
interface is only associated with one instance.

The question is with regard to generic modeling: Should a single unified
interface model with the ability to associate the interface with the
instance?  Should the instance refer to interfaces?

My concern with making the interface model point to associated instances is
how we handle versioning for unknown things that we may want to associate
that interface with.  The interface model is something we want to be rock
solid stable, not something that needs to be revised each time some new
instancing mechanism is created.

-- Jeff