Re: [Isis-wg] WG Adoption Call for draft-xu-isis-encapsulation-cap

Xuxiaohu <xuxiaohu@huawei.com> Thu, 10 March 2016 04:14 UTC

Return-Path: <xuxiaohu@huawei.com>
X-Original-To: isis-wg@ietfa.amsl.com
Delivered-To: isis-wg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 25B7312DD68 for <isis-wg@ietfa.amsl.com>; Wed, 9 Mar 2016 20:14:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.222
X-Spam-Level:
X-Spam-Status: No, score=-4.222 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-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 AnJj6sZ1BkKV for <isis-wg@ietfa.amsl.com>; Wed, 9 Mar 2016 20:14:20 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7AE0F12DD80 for <isis-wg@ietf.org>; Wed, 9 Mar 2016 20:14:16 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml701-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CFR20184; Thu, 10 Mar 2016 04:14:13 +0000 (GMT)
Received: from NKGEML401-HUB.china.huawei.com (10.98.56.32) by lhreml701-cah.china.huawei.com (10.201.5.93) with Microsoft SMTP Server (TLS) id 14.3.235.1; Thu, 10 Mar 2016 04:14:12 +0000
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by nkgeml401-hub.china.huawei.com ([10.98.56.32]) with mapi id 14.03.0235.001; Thu, 10 Mar 2016 12:14:07 +0800
From: Xuxiaohu <xuxiaohu@huawei.com>
To: Philip Christian <philip.christian@pscan.eu>, Marc Binderberger <marc@sniff.de>, "isis-wg@ietf.org list" <isis-wg@ietf.org>
Thread-Topic: [Isis-wg] WG Adoption Call for draft-xu-isis-encapsulation-cap
Thread-Index: AQHRKSDxXbJVQhnqekavuHHCUhP+K561QAMAgEMqEQCAAxscAIBDRWkAgAFi1ICAAAkzAIAACjoAgAItagCAAB7jgIAAVicAgAF+OsCACJtqAIACut2Q///Fx4CAAXfmwIAAAqGAgACePzD//9eFgIABPeUg
Date: Thu, 10 Mar 2016 04:14:06 +0000
Message-ID: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0D52826D@NKGEML515-MBX.china.huawei.com>
References: <4C33F1DA-351A-4E4C-AB2D-EB9C530EBA36@chopps.org> <05BB1848-0F89-4A06-B1C6-7E955C41C9E9@chopps.org> <2d9f516b68fd4443853f512a533bd9d6@XCH-ALN-001.cisco.com> <1B502206DFA0C544B7A6046915200863514605D3@eusaamb105.ericsson.se> <1B502206DFA0C544B7A60469152008635152D9E1@eusaamb105.ericsson.se> <3741852a2e494e6ca54fd6ffe847ba14@XCH-ALN-001.cisco.com> <20160227175134.GA16059@gredler.at> <623aa7aca98449d68305bb75bf9744dd@XCH-ALN-001.cisco.com> <20160228194314146283.17ea4e23@sniff.de> <b9b35fb6bfe44819922dfcffc218c8a8@XCH-ALN-001.cisco.com> <20160229024208162275.1495b944@sniff.de> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0D514403@NKGEML515-MBX.china.huawei.com> <20160306125630991244.b2923b6f@sniff.de> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0D526C7F@NKGEML515-MBX.china.huawei.com> <56DEB2E7.1060304@pscan.eu> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0D527ECF@NKGEML515-MBX.china.huawei.com> <56DFF06F.2020809@pscan.eu> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0D528009@NKGEML515-MBX.china.huawei.com> <56E05339.3000403@pscan.eu>
In-Reply-To: <56E05339.3000403@pscan.eu>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.99.55]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.56E0F495.00D1, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: bdd887311f8b0102e1543b0cb8f054b1
Archived-At: <http://mailarchive.ietf.org/arch/msg/isis-wg/pCXkruevDrxD8UolebHvbXPQizc>
Cc: Les Ginsberg <ginsberg@cisco.com>, Christian Hopps <chopps@chopps.org>
Subject: Re: [Isis-wg] WG Adoption Call for draft-xu-isis-encapsulation-cap
X-BeenThere: isis-wg@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF IS-IS working group <isis-wg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/isis-wg/>
List-Post: <mailto:isis-wg@ietf.org>
List-Help: <mailto:isis-wg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Mar 2016 04:14:23 -0000


> -----Original Message-----
> From: Philip Christian [mailto:philip.christian@pscan.eu]
> Sent: Thursday, March 10, 2016 12:46 AM
> To: Xuxiaohu; Marc Binderberger; isis-wg@ietf.org list
> Cc: Les Ginsberg; Christian Hopps
> Subject: Re: [Isis-wg] WG Adoption Call for draft-xu-isis-encapsulation-cap
> 
> Hi Xiaohu,
> 
> >> If mechanisms other than GRE are wanted such as L2TPv3 or IPSec, then
> >> there are 254 sub-TLVs left to define them, this is why we went for a
> >> sub-TLV approach.
> >
> > What about MPLS-in-IP?
> 
> It would be simple to define a new sub-TLV for MPLS-in-IP in the existing G.7712
> auto-encap TLV.  There is no need to define an entire new way of advertising
> encapsulation capability.  It would basically consist of taking your RFC5512
> sub-TLVs out of Router Capability TLVs and putting them into the auto-encap
> TLVs instead.  All you would need to do is avoid sub-TLV 1.

It's not that simple as you imagined.

> > I would have to remind you that the above text is quoted from the main
> > text (see section 3.3) rather than the annex.
> 
> The main text can be changed.  In the end these are both standards for flooding

The whole document can be changed:)

> of encapsulation capabilities.  Provided that it doesn't break
> G.7712 it can be changed but remain compatible.

Remain compatible? See below.

> > Is the approach as described in draft-ietf-isis-auto-encap workable in
> > the inter-area/inter-level scenario? In other words, could a router
> > advertise its encapsulation capability across levels? If the answer is
> > no, then they are not the same thing since the approach as described
> > in my draft is workable in both intra- and inter-area scenario.
> >
> 
> This is the most difficult aspect.  Router Capability TLVs have the flags to control
> whether features are advertised out of area or not.
> When the auto-encap feature of G.7712 was written this was not considered.
> An auto-encap TLV can be using in either L1 or L2 but the flooding of the
> information across the boundary was not considered.  At the time this seemed
> dangerous, and the idea really was that the L1-L2 router should natively support
> all protocols which means that no tunnels would ever need to cross the
> boundary, and so no leaking of encap capability across the boundary would be
> needed either.  This feature would have to be replicated with a new sub-TLV to
> tell the L1-L2 router whether to flood the information in/out of an area, with the
> default being to not flood it I suppose.

It seems that you wanna reinvent a new instance of router capability TLV:). Even so, how do you ensure that " it doesn't break G.7712 it can be changed but remain compatible."

> Because G.7712 auto-encap was written from the beginning with sub-TLVs, just
> like Router Capability, it can expanded to contain any feature you wish, including
> all of the ones present in draft-xu-isis-encapsulation-cap.

According to the following text from RFC4271:

"   This document defines a new optional IS-IS TLV named CAPABILITY,
   formed of multiple sub-TLVs, which allows a router to announce its
   capabilities within an IS-IS level or the entire routing domain.  The
   applications mentioned above require the specification of new sub-
   TLVs carried within the CAPABILITY TLV defined in this document.

   Definition of these sub-TLVs is outside the scope of this document."

It's straightforward to use a sub-TLV of the Router Capability TLV to advertise a certain capability of a router.

Anyway, even there was some implementation of G.7712 which in turn depends on an expired I-D, it should not prevent the IETF to define a more reasonable solution. The relationship between RFC5512 and https://tools.ietf.org/html/draft-ietf-idr-tunnel-encaps-01 is a good example.

Best regards,
Xiaohu

> regards, Philip