Re: [Lsr] Inconsistence regarding the definition of "Adj-SID Sub-TLV" between OSPF and ISIS extension for Segment Routing
"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Wed, 04 April 2018 19:26 UTC
Return-Path: <ginsberg@cisco.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC1DC124BE8 for <lsr@ietfa.amsl.com>; Wed, 4 Apr 2018 12:26:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 Z1NrVrnr4lOJ for <lsr@ietfa.amsl.com>; Wed, 4 Apr 2018 12:26:22 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 44EE71200B9 for <lsr@ietf.org>; Wed, 4 Apr 2018 12:26:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8954; q=dns/txt; s=iport; t=1522869981; x=1524079581; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=18Yb9JWqvmr6cXRwF+5Hemf9u0+sHc9Yd0EAs1m5BiU=; b=SOfZhyLiJom7a2nH0Xhhsn+F0V+6/6rYAshxftLzk/h2zwzdNdSUGB5S 0AkGyzHDlyrf3vVHUpnpl7tl38AOEPAj6p4kO5gVDsOiJ9TdJm06PhuTQ ynqJMz/EvpL6mRWpbqgSP0D6SuBe6/9VpReVdzDaFeQ+mOLf+ygPjNeEY w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DJAAB1JcVa/5BdJa1cGQEBAQEBAQEBAQEBAQcBAQEBAYNCYW8oCoNViACNCYF0gQ+SVYF6CxgLhGACGoQmITQYAQIBAQEBAQECbBwMhSIBAQEBAwEBIRE6CwwEAgEGAhEDAQEBAQICHwQDAgICJQsUAQgIAgQBDQUIhQUPkF6bPIIciEOCIAWBCYZZgVQ/gQyCCE4ugxEBAQOBMgcBATWCaYJUAocKhHSLQAgChVGFLoEagg6BOhqDP4YhgRCHJoFvhkECERMBgSQBHDiBUnAVOoJDgh0DFxGISIU+b4spDxeBCIEXAQE
X-IronPort-AV: E=Sophos;i="5.48,407,1517875200"; d="scan'208";a="377868493"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Apr 2018 19:26:20 +0000
Received: from XCH-ALN-015.cisco.com (xch-aln-015.cisco.com [173.36.7.25]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id w34JQLH9002265 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 4 Apr 2018 19:26:21 GMT
Received: from xch-aln-001.cisco.com (173.36.7.11) by XCH-ALN-015.cisco.com (173.36.7.25) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 4 Apr 2018 14:26:20 -0500
Received: from xch-aln-001.cisco.com ([173.36.7.11]) by XCH-ALN-001.cisco.com ([173.36.7.11]) with mapi id 15.00.1320.000; Wed, 4 Apr 2018 14:26:20 -0500
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: "Peter Psenak (ppsenak)" <ppsenak@cisco.com>, "Acee Lindem (acee)" <acee@cisco.com>, "Ketan Talaulikar (ketant)" <ketant@cisco.com>, Aijun Wang <wangaijun@tsinghua.org.cn>
CC: "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: [Lsr] Inconsistence regarding the definition of "Adj-SID Sub-TLV" between OSPF and ISIS extension for Segment Routing
Thread-Index: AdPKX89aH7daBvUkQYK90A0ibbwqrwAABY/wAAMor+AADI+6AAAKaB1g//+8yYCAAUKmgP/9+ySA
Date: Wed, 04 Apr 2018 19:26:20 +0000
Message-ID: <c63ed1af77fd4826aee33ab1408d830e@XCH-ALN-001.cisco.com>
References: <008101d3ca60$073f81b0$15be8510$@org.cn> <c5a4d1de5e7943318821018c138b5562@XCH-ALN-008.cisco.com> <1B346347-9242-4EE4-BDA2-F024EF483B8A@tsinghua.org.cn> <aab65c5b06d346d2a5a4ef8cef5ad28b@XCH-ALN-008.cisco.com> <8C26288C-54C3-4C04-91A6-2B99562A1DE9@cisco.com> <5AC32E8B.6090202@cisco.com>
In-Reply-To: <5AC32E8B.6090202@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.6.6]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/HbOI-kaQTIBuh_El5iLBc4Ms2ew>
Subject: Re: [Lsr] Inconsistence regarding the definition of "Adj-SID Sub-TLV" between OSPF and ISIS extension for Segment Routing
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Apr 2018 19:26:25 -0000
A strong +1 from me as well. This is a clear example where the functional content is the same, but differences exist in the encoding for reasons which are specific to each protocol. Les > -----Original Message----- > From: Lsr <lsr-bounces@ietf.org> On Behalf Of Peter Psenak (ppsenak) > Sent: Tuesday, April 03, 2018 12:35 AM > To: Acee Lindem (acee) <acee@cisco.com>; Ketan Talaulikar (ketant) > <ketant@cisco.com>; Aijun Wang <wangaijun@tsinghua.org.cn> > Cc: lsr@ietf.org > Subject: Re: [Lsr] Inconsistence regarding the definition of "Adj-SID Sub-TLV" > between OSPF and ISIS extension for Segment Routing > > On 02/04/18 14:19 , Acee Lindem (acee) wrote: > > Speaking as WG member: > > > > I couldn’t agree more with Ketan. No changes are required to these > > documents. > > as a coauthor of the OSPF/OSPFv3 SR drafts, I fully agree. > > thanks, > Peter > > > > > Thanks, > > > > Acee > > > > *From: *Lsr <lsr-bounces@ietf.org> on behalf of "Ketan Talaulikar > > (ketant)" <ketant@cisco.com> > > *Date: *Monday, April 2, 2018 at 7:36 AM > > *To: *Aijun Wang <wangaijun@tsinghua.org.cn> > > *Cc: *"lsr@ietf.org" <lsr@ietf.org> > > *Subject: *Re: [Lsr] Inconsistence regarding the definition of > > "Adj-SID Sub-TLV" between OSPF and ISIS extension for Segment Routing > > > > Hi Aijun, > > > > I understand what you are referring to now, but these are not > > inconsistencies. ISIS, OSPF and BGP-LS are 3 different protocols. > > Their encodings may not all be the same. ISIS uses 1 byte for > > type/length and has LSP space constraints which you would notice in > > the protocol encodings. OSPF doesn’t have the same challenge and you > > would notice how its TLVs tend to be aligned. BGP-LS is somewhat > > similar to OSPF from these size constraints perspective. > > > > I do not see the implementation challenges in encoding from the two > > IGPs into BGP-LS. It does not make sense to change any of the protocol > > encodings that you ask for currently since implementations have been > > shipping with them for many years. > > > > IMHO it is not necessary to put such constraints for what you call > > “consistency” on these 3 protocol encodings in the future. However, we > > do try to be consistent in semantics as much as possible. > > > > Thanks, > > > > Ketan > > > > *From:*Aijun Wang <wangaijun@tsinghua.org.cn> > > *Sent:* 02 April 2018 16:52 > > *To:* Ketan Talaulikar (ketant) <ketant@cisco.com> > > *Cc:* lsr@ietf.org > > *Subject:* Re: [Lsr] Inconsistence regarding the definition of > > "Adj-SID Sub-TLV" between OSPF and ISIS extension for Segment Routing > > > > Hi, Ketan: > > > > There is one two-bytes “Reserved” field in “Adjacency Segment > > Identifier” TLV for OSPF extension, but this field doesn’t exist in > > the corresponding TLV for ISIS extension. Every other fields are same. > > > > Corresponding definition in BGP-LS is similar with OSPF(not similar > > with ISIS as I mentioned in previous mail). Then when the router > > reports/redistributes the ISIS LSDB information to BGP protocol, the > > router must add two bytes to the “length” field and add/stuff the > > “reserved” field; but for OSPF LSDB, the router need only copy the > > corresponding fields according. > > > > We have found the error arises from this inconsistency from the real > > router and think it is better to align this definition in different > > IGP protocol. > > > > Update to ISIS related extensions draft may be easier. > > > > Aijun Wang > > > > China Telecom > > > > > > 在 2018年4月2日,18:26,Ketan Talaulikar (ketant) > > <ketant@cisco.com<mailto:ketant@cisco.com>> 写道: > > > > Hi Aijun, > > > > Can you clarify what you mean by “inconsistencies”? > > > > Also, you are referring the old version of OSPFv3 SR draft before it > > was aligned with the OSPFv2 SR draft. Please check > > > > https://tools.ietf.org/html/draft-ietf-ospf-ospfv3-segment-routing-ext > > ensions-11#section-6.1 > > > > OSPF and ISIS are different protocols and there are some differences > > between them. I would not call them inconsistencies. BGP-LS spec > > refers to the individual IGP drafts for interpretation of flags. So > > please specifically point out what inconsistency you are referring to. > > > > Thanks, > > > > Ketan > > > > *From:*Lsr <lsr-bounces@ietf.org<mailto:lsr-bounces@ietf.org>> *On > > Behalf Of *Aijun Wang > > *Sent:* 02 April 2018 14:23 > > *To:* lsr@ietf.org<mailto:lsr@ietf.org> > > *Subject:* [Lsr] Inconsistence regarding the definition of "Adj-SID > > Sub-TLV" between OSPF and ISIS extension for Segment Routing > > > > Hi, All: > > > > We found there were some inconsistences for the definition of > > “Adjacency Segment Identifier” between OSPF and ISIS extension for > > segment routing, please see the link below for comparison. > > > > > > https://tools.ietf.org/html/draft-ietf-isis-segment-routing-extensions > > -15#section-2.2.1 > > > > > > https://tools.ietf.org/html/draft-ietf-ospf-ospfv3-segment-routing-ext > > ensions-10#section-7.1 > > > > Here we want to know is there any reason for this inconsistence? We > > think this inconsistence can easily cause error for BGP-LS > > implementation for segment routing extension, as that defined in > > https://tools.ietf.org/html/draft-ietf-idr-bgp-ls-segment-routing-ext- > 04#section-2.2.1, > > which is similar with ISIS extension for SR, but different from OSPF > > extension for SR. > > > > Do we need to make them consistent? It seems change the definition > > in OSPF extension may be less influence for the existing related drafts. > > > > Best Regards. > > > > Aijun Wang > > > > Network R&D and Operation Support Department > > > > China Telecom Corporation Limited Beijing Research > > Institute,Beijing, China. > > > > _______________________________________________ > > Lsr mailing list > > Lsr@ietf.org<mailto:Lsr@ietf.org> > > https://www.ietf.org/mailman/listinfo/lsr > > > > > > > > _______________________________________________ > > Lsr mailing list > > Lsr@ietf.org > > https://www.ietf.org/mailman/listinfo/lsr > > > > _______________________________________________ > Lsr mailing list > Lsr@ietf.org > https://www.ietf.org/mailman/listinfo/lsr
- [Lsr] Inconsistence regarding the definition of "… Aijun Wang
- Re: [Lsr] Inconsistence regarding the definition … Ketan Talaulikar (ketant)
- Re: [Lsr] Inconsistence regarding the definition … Aijun Wang
- Re: [Lsr] Inconsistence regarding the definition … Ketan Talaulikar (ketant)
- Re: [Lsr] Inconsistence regarding the definition … Acee Lindem (acee)
- Re: [Lsr] Inconsistence regarding the definition … Peter Psenak
- Re: [Lsr] Inconsistence regarding the definition … stefano previdi
- [Lsr] 答复: Inconsistence regarding the definition … Aijun Wang
- Re: [Lsr] Inconsistence regarding the definition … Ketan Talaulikar (ketant)
- Re: [Lsr] Inconsistence regarding the definition … Les Ginsberg (ginsberg)
- [Lsr] 答复: Inconsistence regarding the definition … Aijun Wang
- Re: [Lsr] Inconsistence regarding the definition … Ketan Talaulikar (ketant)
- [Lsr] 答复: Inconsistence regarding the definition … Aijun Wang
- Re: [Lsr] Inconsistence regarding the definition … Ketan Talaulikar (ketant)