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

"Russ White" <russw@riw.us> Sun, 18 January 2015 13:25 UTC

Return-Path: <russw@riw.us>
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 280591B29CD for <rtg-yang-coord@ietfa.amsl.com>; Sun, 18 Jan 2015 05:25:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.79
X-Spam-Level:
X-Spam-Status: No, score=0.79 tagged_above=-999 required=5 tests=[BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 v_9ASs2Lv9BV for <rtg-yang-coord@ietfa.amsl.com>; Sun, 18 Jan 2015 05:25:02 -0800 (PST)
Received: from server.riw.us (server.riw.us [162.144.32.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3AFDA1B29C7 for <rtg-yang-coord@ietf.org>; Sun, 18 Jan 2015 05:25:01 -0800 (PST)
Received: from 108-78-210-25.lightspeed.chrlnc.sbcglobal.net ([108.78.210.25]:60264 helo=RussPC) by server.riw.us with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from <russw@riw.us>) id 1YCpqW-0008SJ-Ub; Sun, 18 Jan 2015 13:24:53 +0000
From: "Russ White" <russw@riw.us>
To: "'Xufeng Liu'" <xufeng.liu@ericsson.com>, "'Jeff Tantsura'" <jeff.tantsura@ericsson.com>, "'Andy Bierman'" <andy@yumaworks.com>
References: <m2wq6j5skf.fsf@nic.cz> <D0D9CB3F.B6C0%acee@cisco.com> <8022061D-AB8F-4A97-84E7-A6E4F898F57F@nic.cz> <AAB1CC9C17CBA440BDFA169056B93B9EB10521@eusaamb107.ericsson.se> <35023717-7EE8-4F45-B2F4-B24E0F86FA5A@nic.cz> <20150113212732.GD1545@elstar.local> <23976026-499F-4C9C-844A-DB53BE244992@nic.cz> <AAB1CC9C17CBA440BDFA169056B93B9EB1128D@eusaamb107.ericsson.se> <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>
In-Reply-To: <AAB1CC9C17CBA440BDFA169056B93B9EB11472@eusaamb107.ericsson.se>
Date: Sun, 18 Jan 2015 08:24:46 -0500
Message-ID: <00a001d03322$21b662d0$65232870$@riw.us>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQE6RmhwFDw7jYPOXpdztTVPovM8eAGH/4EqAjQUf5ABdAzTXgFSYRzWAW6nGiMDAqxV0AMNCtojAYzEAoQCVk1+0wISv3tEAiCdXFsCYK5kuZ0t9hlw
Content-Language: en-us
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server.riw.us
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - riw.us
X-Get-Message-Sender-Via: server.riw.us: authenticated_id: russw@riw.us
X-Source:
X-Source-Args:
X-Source-Dir:
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/U4qzntApQXpbMZYu59YHtROqGSM>
Cc: rtg-yang-coord@ietf.org, "'Acee Lindem \(acee\)'" <acee@cisco.com>, 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>, 'Ladislav Lhotka' <lhotka@nic.cz>
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: Sun, 18 Jan 2015 13:25:04 -0000

> The concatenated string format is actually what we plan to do. However, to
> me, it is more like a hack than an engineered solution. The model fails to
> capture such a relationship properly.

How would you plan on "showing" such a pair of interfaces from a potential
CLI? If you switch into a "routing instance mode," then the user is likely
to think of these as different "contexts," and hence having two "devices" on
the same physical box is probably the cleanest solution from the YANG model
perspective. If you add something to the interface name (the routing
instance, or something similar), then the user is already associating that
name with the interface name in a "concatenated" way, so doing the same in
the YANG interface name shouldn't be an issue.

:-)

Russ