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

Xuxiaohu <xuxiaohu@huawei.com> Fri, 13 June 2014 07:51 UTC

Return-Path: <xuxiaohu@huawei.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 7F26B1A01CE; Fri, 13 Jun 2014 00:51:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.852
X-Spam-Level:
X-Spam-Status: No, score=-4.852 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] 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 vAWPmaKRpWam; Fri, 13 Jun 2014 00:51:53 -0700 (PDT)
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 F40A01A016C; Fri, 13 Jun 2014 00:51:52 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml401-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BFJ30623; Fri, 13 Jun 2014 07:51:51 +0000 (GMT)
Received: from NKGEML403-HUB.china.huawei.com (10.98.56.34) by lhreml401-hub.china.huawei.com (10.201.5.240) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 13 Jun 2014 08:51:50 +0100
Received: from NKGEML512-MBS.china.huawei.com ([169.254.8.62]) by nkgeml403-hub.china.huawei.com ([10.98.56.34]) with mapi id 14.03.0158.001; Fri, 13 Jun 2014 15:51:44 +0800
From: Xuxiaohu <xuxiaohu@huawei.com>
To: "isis-wg@ietf.org list" <isis-wg@ietf.org>, OSPF List <ospf@ietf.org>
Thread-Topic: Encoding inconsistency between ISIS and OSPFv2 extensions for SR
Thread-Index: Ac+G3FEp8zYfOWcFTgiN+WbMbdhxlA==
Date: Fri, 13 Jun 2014 07:51:44 +0000
Message-ID: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0828073D@NKGEML512-MBS.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.98.134]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/isis-wg/CexQWCjcobSn9dEv0YMPGsJAJYk
Subject: [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 07:51:56 -0000

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. 

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)?


3. In ISIS-SR, the range of SID/Label values is advertised by the SR Capability sub-TLV. Meanwhile, the data-plane capability is advertised by such sub-TLV as well. In OSPF-SR, the range of SID/Label values is advertised by the label/sid range sub-TLV. I wonder what the special purpose of the data-plane capability advertisement is in the ISIS-SR case. 

4. In ISIS-SR, the Prefix-SID Sub-TLV can be sub-TLV of the SID/Label Binding-TLV and its' the the prefix-sid sub-TLV which is used to associate prefix-sids with the range of prefixes advertised by the SID/Label Binding TLV. In OSPF-SR, the prefix-sid sub-TLV and the SID/label binding sub-TLV are now at the same level of the sub-TLV hierarchy(i.e., both of them are sub-TLVs of the OSPF Extended Prefix TLV ). As a result. it's the SID/Label sub-TLV, rather than the prefix-sid sub-TLV which is used to associate prefix-sids with the range of prefixes.

5. In ISIS-SR, "The SID/Label Sub-TLV (Type: TBD, suggested value 1) contains the SID/Label value as defined in Section 2.3.  It MAY be present in the SID/Label Binding TLV" . However, in OSPF-SR, "SID/Label sub-TLV as described in Section 2.1.  This sub-TLV MUST appear in the SID/Label Binding Sub-TLV". In other words, the sid/label sub-TLV is optional to the SID/Label binding sub-TLV in the ISIS-SR case while the sid/label sub-TLV is mandatory to the SID/label binding TLV in the OSPF-SR case.

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)?

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