Re: [mpls] Poll for WG adoption fordraft-pac-mpls-lsp-ping-tlvs-and-sub-tlvs-registry-02

Mach Chen <mach.chen@huawei.com> Fri, 17 May 2013 08:07 UTC

Return-Path: <mach.chen@huawei.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 0F0A321F939E for <mpls@ietfa.amsl.com>; Fri, 17 May 2013 01:07:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YmPTJht+1IJm for <mpls@ietfa.amsl.com>; Fri, 17 May 2013 01:07:43 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 3D97B21F9347 for <mpls@ietf.org>; Fri, 17 May 2013 01:07:39 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml204-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.5-GA FastPath queued) with ESMTP id ASW65634; Fri, 17 May 2013 08:07:38 +0000 (GMT)
Received: from LHREML405-HUB.china.huawei.com (10.201.5.242) by lhreml204-edg.china.huawei.com (172.18.7.223) with Microsoft SMTP Server (TLS) id 14.1.323.7; Fri, 17 May 2013 09:07:03 +0100
Received: from SZXEML402-HUB.china.huawei.com (10.82.67.32) by lhreml405-hub.china.huawei.com (10.201.5.242) with Microsoft SMTP Server (TLS) id 14.1.323.7; Fri, 17 May 2013 09:07:32 +0100
Received: from szxeml558-mbs.china.huawei.com ([169.254.8.134]) by szxeml402-hub.china.huawei.com ([::1]) with mapi id 14.01.0323.007; Fri, 17 May 2013 16:07:25 +0800
From: Mach Chen <mach.chen@huawei.com>
To: "Carlos Pignataro (cpignata)" <cpignata@cisco.com>, "t.petch" <ietfc@btconnect.com>
Thread-Topic: [mpls] Poll for WG adoption fordraft-pac-mpls-lsp-ping-tlvs-and-sub-tlvs-registry-02
Thread-Index: AQHOUlPi+b2P81ATe02MErbswaxvkZkI/oeg
Date: Fri, 17 May 2013 08:07:23 +0000
Message-ID: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE255B876A5@szxeml558-mbs.china.huawei.com>
References: <62CCD4C52ACDAD4481149BD5D8A72FD316C3ED09@CH1PRD0510MB355.namprd05.prod.outlook.com><2FE467D3673DCE409A84D67EC2F607BB0FA778AF@xmb-rcd-x10.cisco.com><CAA=duU3PufWhnvhAJxsXp7yTWoxyJ5cuQ9z0FBu9C9+vuT9MKg@mail.gmail.com><F73A3CB31E8BE34FA1BBE3C8F0CB2AE255B86EE0@szxeml558-mbs.china.huawei.com> <CAA=duU1qDTMaeJCzJGt2QXznWL7w6_AP5f5x3Goek6L+VMTbWg@mail.gmail.com> <002901ce5229$511090e0$4001a8c0@gateway.2wire.net> <95067C434CE250468B77282634C96ED322B58488@xmb-aln-x02.cisco.com>
In-Reply-To: <95067C434CE250468B77282634C96ED322B58488@xmb-aln-x02.cisco.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.96.176]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: Ross Callon <rcallon@juniper.net>, "<mpls@ietf.org>" <mpls@ietf.org>, "<mpls-chairs@tools.ietf.org>" <mpls-chairs@tools.ietf.org>, "<draft-pac-mpls-lsp-ping-tlvs-and-sub-tlvs-registry@tools.ietf.org>" <draft-pac-mpls-lsp-ping-tlvs-and-sub-tlvs-registry@tools.ietf.org>
Subject: Re: [mpls] Poll for WG adoption fordraft-pac-mpls-lsp-ping-tlvs-and-sub-tlvs-registry-02
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Fri, 17 May 2013 08:07:48 -0000

Hi Carlos,

Please see inline...

Sniped
> 
> Mach, please see below.
> 
> >> The current "TLVs and sub-TLVs" structure works very well if specific
> >> sub-TLVs only belong to a single TLV. But with increasing of TLVs and
> >> sub-TLVs, there are more and more TLVs trying to share sub-TLVs
> > defined for
> >> other TLV. For example, Type 16 TLV is designed to reuse all existing
> > and
> >> future sub-TLVs defined for Type 1 TLV. Type 21 TLV is also intended
> > to
> >> apply all the existing and future defined sub-TLVs of Type 1 TLV, and
> > at
> >> the same time, it also defines its own dedicated sub-TLVs, it's
> > difficult
> >> or even impossible to achieve this with the current "TLV and sub-TLVs"
> >> allocation rules and policies. Since if one TLV wants to inherit/reuse
> > all
> >> sub-TLVs of one TLV, they actually share the same name space, there is
> > no
> >> safe way to define TLV dedicated sub-TLVs. ****
> >>
> >> ** **
> >>
> >> For example, Type 1 TLV has defined 25 sub-TLVs so far, it will define
> >> more in the future, Type 21 TLV applies these sub-TLVs for itself;
> > then
> >> Type 21 TLV wants to define its own sub-TLV, what code points should
> > be
> >> allocated to the sub-TLV?  If allocating 26 to it, then when Type 1
> > TLV
> >> defines one more new sub-TLV, it will probably be allocated 26 as the
> > code
> >> point, then confliction occurs. And even if you allocate a much bigger
> >> number (e.g., 1000) to the new sub-TLV, in theory, the confliction
> > cannot
> >> be avoided completely. ****
> >>
> 
> The current proposal does not solve this problem either. If Type 21 wants to
> allocate a sub-TLV that it applies to it but not to Type 1, how do you record that
> with a global sub-TLV space?

One of the purposes of this draft is to simplify the IANA registry, the IANA registry does not need to record which sub-TLVs apply to which TLVs, it just records which RFC defines the sub-TLVs, it likes most of definitions and registries of "capabilities", "flags", "objects", as how to use these capabilities, flags and objects is left to the relevant RFCs that define/apply them. 

> 
> >> ** **
> >>
> >> The required changes proposed in the draft will not impact the
> >> implementation, it just changes the way on how to register a sub-TLV.
> > ****
> >>
> >> ** **
> >>
> >> In addition, the similar definition/usage is not novel, for example,
> > the
> >> Attribute Flag TLV can be carried/shared in/by many Objects, but flags
> > are
> >> defined and register in a common space.****
> >>
> >> ** **
> >>
> >> There are a lot of discussions online/offline about the TLV and
> > sub-TLVs
> >> allocations rules and policies on progressing the draft-ietf-mpls
> >> -return-path-specified-lsp-ping,  and the draft is still stuck by this
> >> allocation issue. Seems this is the best solution that we could think
> > of so
> >> far.  ****
> >>
> 
> Have you considered these?
> 1. Have TLV 21 be an "I follow TLV 1" definition.
> 2. Have new sub-TLVs added to 1.
> 3. If you need sub-TLVs that do not apply to both TLV 1 and TLV21, then define a
> new TLV.

I have considered 1 and 2, the new sub-TLVs may apply to both TLVs, with this, the final result seems the same as the "common sub-TLVs" registry solution, the sub-TLV registry of type 1 TLV is equivalent to the "common sub-TLVs". 

Best regards,
Mach

> 
> Thanks,
> 
> -- Carlos.