Re: [Isis-wg] Encoding inconsistency between ISIS and OSPFv2 extensions for SR

Peter Psenak <ppsenak@cisco.com> Fri, 13 June 2014 08:31 UTC

Return-Path: <ppsenak@cisco.com>
X-Original-To: isis-wg@ietfa.amsl.com
Delivered-To: isis-wg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A32A1A0312; Fri, 13 Jun 2014 01:31:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.152
X-Spam-Level:
X-Spam-Status: No, score=-10.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 91PfOaVfmNvL; Fri, 13 Jun 2014 01:31:40 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B28871A021E; Fri, 13 Jun 2014 01:31:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3804; q=dns/txt; s=iport; t=1402648300; x=1403857900; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=1g4YqG6oqmuQc4K3tjw/8q0WrQZ4dyN52YJYE3B/oaw=; b=m1KutfkD33yG6fp7yvgudpsLWe7yCyRwdKkiczgS5OUbBHpGj5qYgzGs GaJN0v6J0DLDDvRJ1/LjpWxDaR0nWyZSEK/DnvMOzIVfYzSwfpo/58sof uK1On4UM4wqbF0h8sfbjArSJJ5XrME+fSLnDQEf6pqMGrk3SOXIXdi6SU M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: As0FAB22mlOtJssW/2dsb2JhbABag1+qMQEEAQUBkWOHPAGBG3WEAwEBAQMBAQEBNTYKBgsLGAkWDwkDAgECARUwBgEMBgIBAYg2CA3RfheFXINShTWEQQEDmjaBQ4U3jFqDPjs
X-IronPort-AV: E=Sophos;i="5.01,470,1400025600"; d="scan'208";a="79960486"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP; 13 Jun 2014 08:31:38 +0000
Received: from [10.55.51.202] (ams-ppsenak-8719.cisco.com [10.55.51.202]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id s5D8Vb3w015408; Fri, 13 Jun 2014 08:31:37 GMT
Message-ID: <539AB6E9.3070108@cisco.com>
Date: Fri, 13 Jun 2014 10:31:37 +0200
From: Peter Psenak <ppsenak@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Xuxiaohu <xuxiaohu@huawei.com>, "isis-wg@ietf.org list" <isis-wg@ietf.org>, OSPF List <ospf@ietf.org>
References: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0828073D@NKGEML512-MBS.china.huawei.com>
In-Reply-To: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0828073D@NKGEML512-MBS.china.huawei.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/isis-wg/BTBjILZVQcnIKZ7Z2f2xOC2zr3A
Subject: Re: [Isis-wg] Encoding inconsistency between ISIS and OSPFv2 extensions for SR
X-BeenThere: isis-wg@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 13 Jun 2014 08:31:42 -0000

Xiaohu,

please see inline:

On 6/13/14 09:51 , Xuxiaohu wrote:
> Hi all,
>
> There are some encoding inconsistencies between OSPFv2 extensions and ISIS extensions for SR as follows:
>
> 1. In ISIS-SR, the prefix-sid advertisement is piggybacked on the IP reachability advertisement. In OSPF-SR, the prefix-sid advertisement is piggybacked on OSPF Extended Prefix LSA which is used to advertise other attributes associated with the prefix, rather than the reachability. IMHO, the OSPF encoding is more flexible since the label distribution and the reachability advertisement are independent. As a result, the route summary on area boundaries at least can be enabled as before. Besides, the prefix-SID sub-TLV can be used to advertise a range of prefix/SID pairs (see item2). In fact, ISIS allows us to do the same way as OSPF with a much lower cost (see section 3 of http://tools.ietf.org/html/draft-xu-isis-global-label-sid-adv-00). Of course, it seems that you co-authors prefer to the piggyback way.

OSPF LSAs that are used to advertise the prefixex are not extensible, so 
we had to define a new LSA for the purpose of advertising a prefix 
related attributes. ISIS is different, as they can add sub-TLVs to 
existing TLVs.

>
> 2. In ISIS-SR, the Prefix-SID Sub-TLV can only be used to advertise an SID for a single prefix. And it relays on the SID/Label Binding TLV to advertise a range of prefix/SID pairs. In contrast, In OSPF-SR, the prefix-sid sub-TLV can be used to specify a range of addresses and their associated Prefix SIDs. By the way, in the 4.3.  SID/Label Binding sub-TLV. it has the following text: "Range Size: usage is the same as described in Section 4.2." Did you co-authors want to propose two ways (i.e., prefix-sid sub-TLV and SID-Label Binding sub-TLV) to achieve the same goal (i..e, advertise a range of prefix/SID pairs)?

because in OSPF advertisement of the prefix SID is decoupled from the 
advertisement of prefix reachability, we can afford to advertise the 
range of SIDs in the prefix-SID sub-TLV as such.

No, we do not define two ways to achieve the same thing. Binding TLV is 
used for a different purpose and the same usage is only applicable to 
the Range semantics, not to the whole Binding TLV.

> 6. In ISIS-SR, the prefix-SID sub-TLV doesn't contain the MT-ID field since the MT-ID field is already contained in the parent TLV of the prefix-SID sub-TLV. In OSPF, the MT-ID field is contained in the Prefix SID Sub-TLV since the parent TLV of the prefix-sid sub-TLV doesn't contain that MT-ID field. IMHO, it's better to contain the MT-ID in the parent prefix-specific TLV of the prefix-SID sub-TLV. In other words, why not contain the MT-ID in the OSPF Extended Prefix TLV, instead of the prefix-sid sub-TLV (see section 3 of http://tools.ietf.org/html/draft-xu-ospf-global-label-sid-adv-00)?

no, we do not want to put the MT-ID in the OSPF Extended Prefix TLV. The 
reason is that attributes are MT specific, not the prefix itself - e.g. 
you may want to advertise different metrics for the same prefix in 
different topologies, not the same prefix twice.

regards,
Peter





>
> Anyway, although it is unavoidable for us to define extensions to both ISIS and OSPF for the same thing due to the fact that both protocols have been widely used, could we try our best to keep the encodings of ISIS and OSPF as consistent as possible for the same functionality? In this way, once someone has read the ISIS extension draft, he or she can easily think of what has been done in the OSPF extension draft accordingly, and vice verse.
>
> Best regards,
> Xiaohu
>
> _______________________________________________
> Isis-wg mailing list
> Isis-wg@ietf.org
> https://www.ietf.org/mailman/listinfo/isis-wg
> .
>