Re: [mpls] MPLS label and LSE data models

Jeffrey Haas <jhaas@pfrc.org> Mon, 10 July 2017 20:11 UTC

Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7185A12ECB5; Mon, 10 Jul 2017 13:11:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 HD3vrX79TKPY; Mon, 10 Jul 2017 13:11:47 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id F37831318BD; Mon, 10 Jul 2017 13:11:38 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001) id 378DA1E34A; Mon, 10 Jul 2017 16:21:02 -0400 (EDT)
Date: Mon, 10 Jul 2017 16:21:02 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: Xufeng Liu <Xufeng_Liu@jabil.com>
Cc: Greg Mirsky <gregimirsky@gmail.com>, "draft-ietf-mpls-static-yang@ietf.org" <draft-ietf-mpls-static-yang@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>, "draft-ietf-rtgwg-routing-types@ietf.org" <draft-ietf-rtgwg-routing-types@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
Message-ID: <20170710202101.GC12373@pfrc.org>
References: <CA+RyBmVH=KCi3T8u2dB_WaKBOLheYwT4q0d+tpYdT-Z2iTZ+og@mail.gmail.com> <D55B6659.B21B8%acee@cisco.com> <CA+RyBmVyHKGhxitGgQ6RRMmHKwvs=b_GkKMq80rE=Ys8WetGaQ@mail.gmail.com> <BN3PR0201MB08676A90584EC7E8414244B3F1CB0@BN3PR0201MB0867.namprd02.prod.outlook.com> <CA+RyBmWHvfXt_Vdhc5w70ugQTSS5qffTWbQ+Lb9D_6PpfP10QQ@mail.gmail.com> <BN3PR0201MB0867AA3D4476A1DD25B3FC88F1CB0@BN3PR0201MB0867.namprd02.prod.outlook.com> <20170620205021.GG2289@pfrc.org> <BN3PR0201MB0867B31271FFD40ED11B2B6EF1DB0@BN3PR0201MB0867.namprd02.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <BN3PR0201MB0867B31271FFD40ED11B2B6EF1DB0@BN3PR0201MB0867.namprd02.prod.outlook.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/xMkF5w5Y2lh2MkNj445YY9-jEwo>
Subject: Re: [mpls] MPLS label and LSE data models
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Jul 2017 20:11:50 -0000

Xufeng,

I see that draft-ietf-mpls-static-yang-04 was issued.  My comment is against
that version now.

On Thu, Jun 22, 2017 at 03:44:28PM +0000, Xufeng Liu wrote:
> > I'm not conversant with common Yang tool suites, but it seems if the ordered-by
> > user rather than the default of system, then the tooling might present the
> > bottom of stack entry as the first or last node of the list rather than requiring the
> > consumer to have to run a sort of the nodes based on the id number and then
> > select the first node.
> 
> [Xufeng] Are you suggesting to use the position to order instead of the ID
> value? If so, what would be the semantics of the ID value? If we cannot
> get rid of the ID key, I don't know if using a separate ordering mechanism
> will make the usability better.

I see that you changed things to use a constrained index range with id 0
being special for top of stack.

So, if you have labels with indexes 0, 5, 10, 15, then 15 would be the
bottom of stack?

-- Jeff