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

Xufeng Liu <xufeng.liu@ericsson.com> Wed, 14 January 2015 16:43 UTC

Return-Path: <xufeng.liu@ericsson.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 36C551A90BC for <rtg-yang-coord@ietfa.amsl.com>; Wed, 14 Jan 2015 08:43:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 AyCcXxyNKFqG for <rtg-yang-coord@ietfa.amsl.com>; Wed, 14 Jan 2015 08:43:31 -0800 (PST)
Received: from usevmg21.ericsson.net (usevmg21.ericsson.net [198.24.6.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 990421A904D for <rtg-yang-coord@ietf.org>; Wed, 14 Jan 2015 08:43:31 -0800 (PST)
X-AuditID: c6180641-f79916d00000623a-0c-54b63e561e14
Received: from EUSAAHC007.ericsson.se (Unknown_Domain [147.117.188.93]) by usevmg21.ericsson.net (Symantec Mail Security) with SMTP id A5.C3.25146.65E36B45; Wed, 14 Jan 2015 11:00:54 +0100 (CET)
Received: from EUSAAMB107.ericsson.se ([147.117.188.124]) by EUSAAHC007.ericsson.se ([147.117.188.93]) with mapi id 14.03.0195.001; Wed, 14 Jan 2015 11:43:29 -0500
From: Xufeng Liu <xufeng.liu@ericsson.com>
To: Jeff Tantsura <jeff.tantsura@ericsson.com>, Andy Bierman <andy@yumaworks.com>
Thread-Topic: [Rtg-yang-coord] issue :R03: assignment of interfaces to routing instances
Thread-Index: AQHQLs3lKpNtcgDGLkW279NVg125yJy+HaWA///2Y7CAAIIPAIAAT5kAgADL+wCAAAz2IIAAXHAA//+siRCAAFZ3gP//f6IAAAartPA=
Date: Wed, 14 Jan 2015 16:43:29 +0000
Message-ID: <AAB1CC9C17CBA440BDFA169056B93B9EB11472@eusaamb107.ericsson.se>
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>
In-Reply-To: <D0DBD855.889EB%jeff.tantsura@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.10]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDLMWRmVeSWpSXmKPExsUyuXRPrG6Y3bYQg7vXZSwmv53HbPHgyCx2 i6sbfzJaXFg1l83i9/PbzA6sHlN+b2T1WLLkJ5PHhgOeHpsu32H0aOm/yBLAGsVlk5Kak1mW WqRvl8CVsXTODpaCdqmKXy9OMjcw/hHpYuTkkBAwkZjev4cZwhaTuHBvPVsXIxeHkMARRomu tV1MEM5yRomZneuBqjg42AS0JC4/dQRpEBEIltiw5DJYM7PAQUaJTz8SQWxhgUiJzq51YOUi AlESbz/oQJSXSfxZO5sdxGYRUJWYd3EGK0gJr4C3xKIjVhCbbrNIfN+3gAWkhlPAQuLYvAdg 9YxAt30/tYYJYpW4xK0n85kgbhaQWLLnPNT9ohIvH/9jhbCVJCYtPccKUa8jsWD3JzYIW1ti 2cLXYPW8AoISJ2c+YZnAKDYLydhZSFpmIWmZhaRlASPLKkaO0uLUstx0I8NNjMDoOibB5riD ccEny0OMAhyMSjy8BtlbQ4RYE8uKK3MPMUpzsCiJ80Y8Wh8iJJCeWJKanZpakFoUX1Sak1p8 iJGJg1OqgbHv4Yxf75ZZXWPd9DNgVbGZ+qbkjpynfWUX2xgDr3Yfaln9mYfx1ATJn9US+vti Hk3dNlF6XkZJ2oSvv+WSXnlxCk/rdixuXPLRcUltvf8Rnl/WU4KcFh2t4Fp2WMf/xXb2xebB pWG2rfMZ9uqf+lblXXVvfU7wa1/vJ3d2TlpdV7TI7trRw5OUWIozEg21mIuKEwEhPqVdjwIA AA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/HuqRDqils8bfGO7BqHkhBl5sS_0>
Cc: "rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "Acee Lindem \(acee\)" <acee@cisco.com>, 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: Wed, 14 Jan 2015 16:43:34 -0000

Hi Andy,

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.

Thanks,
- Xufeng

> -----Original Message-----
> From: Jeff Tantsura
> Sent: Wednesday, January 14, 2015 11:26 AM
> To: Andy Bierman; Xufeng Liu
> Cc: rtg-yang-coord@ietf.org; Acee Lindem (acee); Juergen Schoenwaelder;
> Ladislav Lhotka
> Subject: Re: [Rtg-yang-coord] issue :R03: assignment of interfaces to routing
> instances
> 
> Andy,
> 
> Agree, routing-instance+interface_name would suffice and also meet existing
> implementations constrains
> 
> Cheers,
> Jeff
> 
> 
> 
> 
> -----Original Message-----
> From: Andy Bierman <andy@yumaworks.com>
> Date: Wednesday, January 14, 2015 at 8:05 AM
> To: Xufeng Liu <xufeng.liu@ericsson.com>
> Cc: "rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>rg>, "Acee Lindem
> (acee)" <acee@cisco.com>om>, 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
> 
> >On Wed, Jan 14, 2015 at 7:59 AM, Xufeng Liu <xufeng.liu@ericsson.com>
> >wrote:
> >>
> >>
> >>> -----Original Message-----
> >>> From: Juergen Schoenwaelder
> >>>[mailto:j.schoenwaelder@jacobs-university.de]
> >>> Sent: Wednesday, January 14, 2015 10:55 AM
> >>> To: Xufeng Liu
> >>> Cc: Ladislav Lhotka; rtg-yang-coord@ietf.org; Acee Lindem (acee)
> >>> Subject: Re: [Rtg-yang-coord] issue :R03: assignment of interfaces
> >>>to routing  instances
> >>>
> >>> On Wed, Jan 14, 2015 at 03:33:02PM +0000, Xufeng Liu wrote:
> >>> > > >
> >>> > [Xufeng] Hi Lada, I acknowledge the difficulties here. However, is
> >>>there a good
> >>> way to handle the following case?
> >>> >     In routing-instance "RI-A", an interface named "IF-1" is
> >>> > already
> >>> configured.
> >>> >     In routing-instance "RI-B", I'd like to configure an different
> >>>interface
> >>> with the same name "IF-1".
> >>>
> >>> In the RFC 7223 interface data model the interface name is used as a
> >>>key and  hence you can't have two different interfaces with the same
> >>>name.
> >>>
> >>> /js
> >>
> >> [Xufeng] This is the issue that we'd like to solve. We have such a
> >>use case.
> >>
> >
> >
> >The interfaces list is for the entire device, and we should not change
> >that.
> >IMO you are describing an implementation detail, not a use-case.
> >The format of the name string can be "RI-1/IF-1" for example.
> >If "IF-1" is not going to be unique, then make up a new arbitrary name.
> >
> >
> >>>
> >>> --
> >>> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> >>> Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
> >>> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> >>
> >> _______________________________________________
> >> Rtg-yang-coord mailing list
> >> Rtg-yang-coord@ietf.org
> >> https://www.ietf.org/mailman/listinfo/rtg-yang-coord
> >
> >Andy
> >
> >_______________________________________________
> >Rtg-yang-coord mailing list
> >Rtg-yang-coord@ietf.org
> >https://www.ietf.org/mailman/listinfo/rtg-yang-coord