Re: [mpls] MPLS label and LSE data models

Xufeng Liu <Xufeng_Liu@jabil.com> Thu, 13 July 2017 16:14 UTC

Return-Path: <Xufeng_Liu@jabil.com>
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 F359613146A; Thu, 13 Jul 2017 09:14:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jabil.onmicrosoft.com
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 pqt_eFKLjODS; Thu, 13 Jul 2017 09:14:20 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0128.outbound.protection.outlook.com [104.47.37.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 240F2124BE8; Thu, 13 Jul 2017 09:14:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jabil.onmicrosoft.com; s=selector1-jabil-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xcDavlyQQHTX2q46Ov9DzsAwCM2LfD7aBQ1wrd4eiWs=; b=NmStyDUkFa7Uox6qp4xcYDQBwMOjVsVSipqKibwmX50+uweqqTaH2ZIPmPIQE8l8aWvK8BU57npIb0AGeLUepJRs1XycId7/WW4Jo7XPUBUFhcQ5mPpbGLsJpuz162qez1hlug8uqNd9NpW2N4CZ25u71Ge+EUij70ilDZ71WLM=
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com (10.160.154.13) by BN3PR0201MB0866.namprd02.prod.outlook.com (10.160.154.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Thu, 13 Jul 2017 16:14:18 +0000
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com ([10.160.154.13]) by BN3PR0201MB0867.namprd02.prod.outlook.com ([10.160.154.13]) with mapi id 15.01.1261.017; Thu, 13 Jul 2017 16:14:18 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: Jeffrey Haas <jhaas@pfrc.org>
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>
Thread-Topic: MPLS label and LSE data models
Thread-Index: AQHS3ksFqqRkmLzX6Uy60rxp1VrMZKIW8faAgAANVICAAOdm8IAAScyAgAAHoPCAFhj3gIACyBDAgByeYACABHCGsA==
Date: Thu, 13 Jul 2017 16:14:18 +0000
Message-ID: <BN3PR0201MB08670C450E7800A07F116716F1AC0@BN3PR0201MB0867.namprd02.prod.outlook.com>
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> <20170710202101.GC12373@pfrc.org>
In-Reply-To: <20170710202101.GC12373@pfrc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNceGxpdVxhcHBkYXRhXHJvYW1pbmdcMDlkODQ5YjYtMzJkMy00YTQwLTg1ZWUtNmI4NGJhMjllMzViXG1zZ3NcbXNnLTUwMWFmMTE3LTY3ZTYtMTFlNy05YzFhLTE4NWUwZmUzYzQ1Y1xhbWUtdGVzdFw1MDFhZjExOS02N2U2LTExZTctOWMxYS0xODVlMGZlM2M0NWNib2R5LnR4dCIgc3o9IjE3NDYiIHQ9IjEzMTQ0NDM2MDU1NzAxNTE5OSIgaD0ieEN6UjVqTHlnbzEzSVdCTnJSUVF1aHpjZis4PSIgaWQ9IiIgYmw9IjAiIGJvPSIxIi8+PC9tZXRhPg==
authentication-results: pfrc.org; dkim=none (message not signed) header.d=none;pfrc.org; dmarc=none action=none header.from=jabil.com;
x-originating-ip: [98.191.72.170]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR0201MB0866; 7:MpWlYIW8Jg25edSssV/nGzmB1UJPAwadljaH2q1tSgU90mIeKWK/wUqcVs12GEfA7VTSeYlrh4Tb/mkQop1O105SIH2ay+A7CLdq1J4nOmDwBDhYrz0sMsDLYa9P0CfU7p/qV5jUVY1LbXl64NfC4T07+JPEEeJs+wI8H6oHYMAa7tm+ff8X86VJqmmF3w2IepZEyevN+/ei+dRmVROFZ4DyUVz47HfAi2CGeW3cclOnFAnklIsPnR9gCmwUzXpt1wnACxxqV8BilpgJNLq0JSQ6xOrCdeizNxXkblRe1IupepLBc6GiHBaTPos/Cd9Gv1qiJCDJmuZ8QdhZcQVZ0bnnNQN1BwKW1wkuNK+7XWj6GoZAf86u3xiyYKT+a9CWpjWqXYptqpgRb2PYjlC7IqcugZcO0hANx9ZdqWtpuYF7iSXNUdxTqiVASglHXlSgDx4Vj5fhueMl/NdXVaz+oCHKGhhv1e8xR+8gyVneIKM2DQ3Y+R04x9WllHlNKNlYykyozgIydSJfdhlqR05402CbFaO/xU4tNAmJQiXiRw+zymK2Lebm10NzOc+t+wHQToHmZc++otzO/5kIL99V3k+SvuN4mZW0UxXLSULsog1YksLApSO7iarFeNV/5K9pq2Fd2nrq3PltbhNM4oVs4Gk7DUss1kbGLK5GlGsilP8LReSici4O0eAA3eCsbcUg/fPaPGNm/4g02ZogRglVYy1rrded7nDkLoGPopokVsosk2u8vNw+oQyW9JFCm6xJFiNvH2ZyXOOF9fGYnbE709qXG/Zp4oAEDIxcXn7xppk=
x-ms-office365-filtering-correlation-id: dc229a17-02df-40f2-268b-08d4ca0a36cc
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR0201MB0866;
x-ms-traffictypediagnostic: BN3PR0201MB0866:
x-exchange-antispam-report-test: UriScan:(236129657087228)(48057245064654)(21534305686606);
x-microsoft-antispam-prvs: <BN3PR0201MB086684B2571B45E846C3C088F1AC0@BN3PR0201MB0866.namprd02.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0201MB0866; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0201MB0866;
x-forefront-prvs: 0367A50BB1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(39840400002)(39850400002)(39400400002)(39450400003)(39410400002)(76104003)(13464003)(24454002)(377454003)(6246003)(9686003)(54906002)(7736002)(55016002)(110136004)(6506006)(38730400002)(305945005)(99286003)(4326008)(72206003)(2906002)(39060400002)(6436002)(66066001)(53936002)(74316002)(7696004)(68736007)(53546010)(2950100002)(80792005)(229853002)(14454004)(33656002)(8936002)(8676002)(81166006)(6916009)(50986999)(2900100001)(86362001)(3280700002)(77096006)(3660700001)(189998001)(54356999)(93886004)(76176999)(5660300001)(3846002)(478600001)(25786009)(6116002)(102836003)(170073001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0201MB0866; H:BN3PR0201MB0867.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: jabil.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2017 16:14:18.2665 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0201MB0866
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/q-nAjdWVLHqiN4yoeoq8OwDZTuU>
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: Thu, 13 Jul 2017 16:14:23 -0000

Hi Jeff,

Thanks for looking at this. You are right, but we are still discussing various approaches for the static MPLS and the conclusion has not been reached yet. 
We'd like to hear what you think and appreciate your comments.

Best,
- Xufeng

> -----Original Message-----
> From: Jeffrey Haas [mailto:jhaas@pfrc.org]
> Sent: Monday, July 10, 2017 4:21 PM
> To: Xufeng Liu <Xufeng_Liu@jabil.com>
> Cc: Greg Mirsky <gregimirsky@gmail.com>; draft-ietf-mpls-static-yang@ietf.org;
> mpls@ietf.org; draft-ietf-rtgwg-routing-types@ietf.org; rtgwg@ietf.org
> Subject: Re: MPLS label and LSE data models
> 
> 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