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

Andy Bierman <andy@yumaworks.com> Wed, 14 January 2015 16:05 UTC

Return-Path: <andy@yumaworks.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 EBB531A1ABF for <rtg-yang-coord@ietfa.amsl.com>; Wed, 14 Jan 2015 08:05:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.979
X-Spam-Level:
X-Spam-Status: No, score=-1.979 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7, 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 qHmvBAAsHArN for <rtg-yang-coord@ietfa.amsl.com>; Wed, 14 Jan 2015 08:05:37 -0800 (PST)
Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 16D9F1A6FD5 for <rtg-yang-coord@ietf.org>; Wed, 14 Jan 2015 08:05:36 -0800 (PST)
Received: by mail-lb0-f181.google.com with SMTP id l4so8691618lbv.12 for <rtg-yang-coord@ietf.org>; Wed, 14 Jan 2015 08:05:35 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xrOIxU1ucdxfls5tWcj+ionJoqNI/YMZbR24jnr3xPI=; b=HrzkC+7PgOwWWzMEWKsSOXrs8F5Xo2MLTkOZW/yTg75uzxuivfFZVBw+w79MXA+tw/ 79Spm214+Prq5IJw12k15+u7YVi7CxzvzgZkokE9YLEGUwXa+MEcXskIY5kIxGTRAhRD EwCBGW7Ixz2ef3UghVuMiTMl4zlIsc4ZyrTMJx+IzWfMhHoSMO9RBrP0Kjn5TKPqHZLZ XezuSrkhlIz/UiqIeD8jWdmIJh1Mbl545RIiEUuebk2FHoamxkG0od5PetpMgUy2DQN3 Q0ven9DUNImtLvnxvOiOvTrR8/WjbYx7lhucUGrDnYD+De55zwhmzkm2iE26ylr3zbwS SHDw==
X-Gm-Message-State: ALoCoQkSmmsPM2CT0CW2pPOfP7tGXyN2QSLEUqvkNIj5YSAAXXAkKbHF09iodjfqbAAD9P2xbnwP
MIME-Version: 1.0
X-Received: by 10.152.7.206 with SMTP id l14mr4740432laa.1.1421251535100; Wed, 14 Jan 2015 08:05:35 -0800 (PST)
Received: by 10.112.160.41 with HTTP; Wed, 14 Jan 2015 08:05:35 -0800 (PST)
In-Reply-To: <AAB1CC9C17CBA440BDFA169056B93B9EB1139B@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>
Date: Wed, 14 Jan 2015 08:05:35 -0800
Message-ID: <CABCOCHSiWG=x0vTYKKxqhMqd69yK+Nuo0k_Y_=Y_KHkQBDi3FA@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Xufeng Liu <xufeng.liu@ericsson.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/TCkhmdJ1v1J5pOsNcUVJWOhJpaE>
Cc: "rtg-yang-coord@ietf.org" <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: Wed, 14 Jan 2015 16:05:45 -0000

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