Re: [Isis-wg] [OSPF] Comments on draft-ietf-isis-segment-routing-extensions-01

"Stefano Previdi (sprevidi)" <sprevidi@cisco.com> Fri, 13 June 2014 06:55 UTC

Return-Path: <sprevidi@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 6358D1B28DA; Thu, 12 Jun 2014 23:55:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.852
X-Spam-Level:
X-Spam-Status: No, score=-12.852 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MANGLED_SIDE=2.3, RCVD_IN_DNSWL_HI=-5, 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 cmh_G7SJW-mJ; Thu, 12 Jun 2014 23:55:42 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 176EF1B28D8; Thu, 12 Jun 2014 23:55:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8814; q=dns/txt; s=iport; t=1402642542; x=1403852142; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=3+jdkfifidrsnPtJGkakQRd8sydvxKE1eeSKZo8uGyI=; b=ZTQotbkEXYLPYv7dL1wm7rUxL/z6nXXuwuWi6mwRxhKp3mi3b4/9sCeP fN62aaql7BZP56EprVsYtrMwSfeuYi4mbVHQNwB+l/Jh920FtjUeGMeY6 q+TH2IelmOq1lZNXfZceW5CIL7KF+Q6Zd2MqYZryjKs74FXbr+W0rGWza k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApQGABCgmlOtJV2P/2dsb2JhbABagw1SWalWAQQBBQGRY4c8AYEFFnWEAwEBAQMBAQEBNzQGBQUHBAIBCBEEAQEBHgkHJwsUCQgBAQQOBYg6CA3RfhMEhVyDUoR7MwcGgyWBFgEDmjaTVIM8gi8
X-IronPort-AV: E=Sophos;i="5.01,470,1400025600"; d="scan'208";a="332629141"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by rcdn-iport-1.cisco.com with ESMTP; 13 Jun 2014 06:55:41 +0000
Received: from xhc-rcd-x06.cisco.com (xhc-rcd-x06.cisco.com [173.37.183.80]) by rcdn-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id s5D6teQq018241 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 13 Jun 2014 06:55:40 GMT
Received: from xmb-rcd-x01.cisco.com ([169.254.1.223]) by xhc-rcd-x06.cisco.com ([173.37.183.80]) with mapi id 14.03.0123.003; Fri, 13 Jun 2014 01:55:40 -0500
From: "Stefano Previdi (sprevidi)" <sprevidi@cisco.com>
To: Xuxiaohu <xuxiaohu@huawei.com>
Thread-Topic: [Isis-wg] [OSPF] Comments on draft-ietf-isis-segment-routing-extensions-01
Thread-Index: Ac+GJni8pnqnrJn8Sty9J1EyPVqh3v//gr+A//6GH9CAA6b6gA==
Date: Fri, 13 Jun 2014 06:55:39 +0000
Message-ID: <88398D6A-180C-417A-B719-295CDAA35850@cisco.com>
References: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08280249@NKGEML512-MBS.china.huawei.com> <442F4557-73F8-46B3-8ED7-E3E4BECF3523@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0828066E@NKGEML512-MBS.china.huawei.com>
In-Reply-To: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0828066E@NKGEML512-MBS.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.61.82.84]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <CE3D944A6ADAE148B5813939EE987CC4@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/isis-wg/wPhPT63YGi7Sl6wkYnFXthLOU6s
Cc: OSPF List <ospf@ietf.org>, "isis-wg@ietf.org" <isis-wg@ietf.org>
Subject: Re: [Isis-wg] [OSPF] Comments on draft-ietf-isis-segment-routing-extensions-01
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 06:55:44 -0000

On Jun 13, 2014, at 4:05 AM, Xuxiaohu wrote:
> Hi Stefano,
>> -----Original Message-----
>> From: Stefano Previdi (sprevidi) [mailto:sprevidi@cisco.com]
>> Sent: Thursday, June 12, 2014 6:42 PM
>> To: Xuxiaohu
>> Cc: isis-wg@ietf.org; OSPF List
>> Subject: Re: [OSPF] Comments on draft-ietf-isis-segment-routing-extensions-01
>> 
>> Hi Xiaohu,
>> 
>> 
>> On Jun 12, 2014, at 12:10 PM, Xuxiaohu wrote:
>>> Hi all,
>>> 
>>> The following are some comments on
>> draft-ietf-isis-segment-routing-extensions-01 (Note that the former four
>> comments are applicable to draft-psenak-ospf-segment-routing-extensions-05
>> as well.):
>>> 
>>> 1. Terminology inconsistency issues
>>> 
>>> The first example is about the semantics of the SID. According to the following
>> description in section 2.1 "...SID/Index/Label: according to the V and L flags, it
>> contains...", the SID would be something other than label and index. However,
>> in the same section, it said "... Multiple Prefix-SIDs Sub-TLVs MAY appear on the
>> same prefix in which case each SID is encoded as a separate Sub-TLV....", here
>> the SID seems to be a generic terminology, which could be index, label or SID.
>>> 
>>> The second example is about the length of the SID (here the SID is something
>> other than index and label). In section 2.1, it said "...A variable length SID (e.g.:
>> an IPv6 address SID)...." However, in section 2.3, it said "... SID/Label: if length is
>> set to 3 then the 20 rightmost bits represent a MPLS label.  If length is 4 then
>> the value represents a 32 bits SID..."
>> 
>> 
>> I'm not sure I understand where the inconsistency is.
>> 
>> Prefix-SID goes with prefixes. Adj-SID goes with adjacencies.
>> 
>> Both SubTLVs may be value or index and may have local or global scope.
>> 
>> This is the flexibility we want to have.
> 
> If you want to take the "SID" as a generic term which would be interpreted as an MPLS label in the MPLS-SR case and an IPv6 address in the IPv6-SR case, you'd better not list it with index/label in parallel (e.g., a description in section 2.1 "...SID/Index/Label: according to the V and L flags, it contains..." ) . Otherwise, it would be deemed as a particular format of the segment identifier (e.g., a 32-bit SID which was specifically designed for IPv6-SR previously, or a 128-bit SID which is currently designed for IPv6-SR). That's my point.
> 
> 
>>> 2. The uncertain usage of the 32-bit SID
>>> 
>>> It said in draft-previdi-6man-segment-routing-header-01 that "In Segment
>> Routing IPv6 the SID is an IPv6 address". Therefore, what's the usage of the
>> 32-bit SID (see section 2.3, it said "... SID/Label: if length is set to 3 then the 20
>> rightmost bits represent a MPLS label.  If length is 4 then the value represents a
>> 32 bits SID)?
>> 
>> 
>> you're right. I'll fix the text.
>> 
>> 
>>> 3. The uncertain usage of the 16-octect SID in the Prefix-SID sub-TLV
>>> 
>>> In IPv6-SR case, since the SID is an IPv6 address, what's the usage of the
>> prefix-SID sub-TLV? It has been said in
>> draft-previdi-6man-segment-routing-header-00 that " When Segment Routing is
>> applied to IPv6, segments are encoded as 128-bit IPv6 addresses.  This implies
>> that, in the IPv6 instantiation of SR, the SID values are in fact the prefixes
>> advertised in the IPv6 control-plane.  Hence there's no need to advertise any
>> additional specific identifier (other than IPv6 prefix) for the purpose of SR. This
>> simplifies the introduction of IPv6 Segment Routing in existing protocols (i.e.:
>> IS-IS, OSPF and BGP). "
>>> I noticed that the above statement has been disappeared in the -01 version.
>> Did that mean that the co-authors of that draft have changed their minds
>> significantly?
>> 
>> 
>> nope. The text you mentioned has been replaced by the following one:
>> 
>> "The Node-SID identifies a node. With SR-IPv6 the Node-SID is an IPv6  prefix
> 
> If the node-sid is an IPv6 address for sure, you'd better not say " the Node-SID is an IPv6  prefix ". Otherwise, it would cause an unnecessary confusion.


ok, sorry. I intended a /128 prefix but you're right and I'll fix that.


>> that the operator configured on the node and that is used as  the node
>> identifier. Typically, in case of a router, this is the IPv6  address of the node
>> loopback interface. Therefore, SR-IPv6 does not  require any additional SID
>> advertisement for the Node Segment. The  Node-SID is in fact the IPv6 address
>> of the node."
> 
> If so, does it mean that the prefix-sid sub-TLV would not be used in the IPv6-SR case?


not at this stage.

In the future we may come back and revisit the idea of using 32bit 
SIDs for ipv6 as well.


> Or do you still want to use it for some IPv6 prefixes with prefix-len being shorter than 128?
> 
>>> 4. Suggestion on the algorithm field in the prefix-SID sub-TLV
>>> 
>>> It seems that using various algorithms in the best path computation could also
>> be applicable to some cases other than SR. For instance, use different algorithms
>> for different topologies [rfc5120]. Therefore, it seems better to decouple the
>> best path computation algorithm advertisement from the SR-specific
>> advertisement. In this way, the algorithm is just coupled with the topology while
>> the labels advertised through the prefix-sid sub-TLVs could be used to determine
>> to which topology the received SR-MPLS packet belongs to. This behavior is
>> much similar to the LDP and the LDP-MT. In other words, the SR-specific IGP
>> extension just plays the role of label distribution protocol which shouldn't have
>> any impact on the path computation behavior.
>> 
>> 
>> initially, we thought about making the algorithm a generic TLV but later
>> preferred to confine it to the SR context.
>> 
>> If there's consensus, I don't mind to enlarge the scope but I'd prefer not to
>> re-invent MT.
> 
> A generic algorithm sub-TLV could be useful in some cases other than SR in the future. Take the TE router-id sub-TLV of the CAPABILITY TLV as an example, the routable address contained in such sub-TLV should have not been coupled with the TE purpose since it is now useful in some cases other than TE (note that this was discussed a few weeks ago in the ISIS mailing-list).
> 
>>> 5. The lack of MT-ID field in the SID/Label Binding TLV
>>> 
>>> I had suggested to add an MT-ID field in the SID/Label Binding TLV and Stefano
>> had agreed to that suggestion. But it seems that the MT-ID field has not been
>> added yet.
>> 
>> 
>> I agree with you but since the binding TLV was not originally part of
>> the SR proposal (i.e.: it's the merge with Hannes draft) I'd let Hannes
>> to comment.
>> 
>> 
>>> 6. Suggestion on SR-Capabilities Sub-TLV
>>> The SR-Capabilities Sub-TLV is used to advertise: 1) data-plane capability; 2)
>> range of SID/Label values. It seems better to advertise these two capabilities via
>> two separate sub-TLVs, e.g., DP-Capability sub-TLV and SID/Label Range sub-TLV.
>> In the way, the role of SID/Label Range sub-tlv is consistent with the counterpart
>> in OSPF extensions (i.e., SID/Label Range TLV). Anyway, it seems better to keep
>> the ISIS and OSPF extensions for the same function as consistent as possible.
>> 
>> 
>> I disagree. Keeping encoding aligned between isis and ospf is NOT a goal.
>> What is necessary is to keep consistency between functionalities.
> 
> I agree that the most important goal is to keep consistency between functionalities. However, wouldn't it be better if the consistency of encodings between ISIS and OSPF can be kept as well without any additional cost?


I disagree.

Protocols are not the same and in the encodings one protocol may 
require additional info while the other already has it so let's 
not try to do something that:

1. is not needed
2. will require substantial effort


Thanks.
s.


> At least, it becomes more easy for implementers and operators to read these two drafts if the consistency of encodings can be kept.
> 
> Best regards,
> Xiaohu
> 
>> s.
>> 
>> 
>>> 
>>> Best regards,
>>> Xiaohu
>>> 
>>> _______________________________________________
>>> OSPF mailing list
>>> OSPF@ietf.org
>>> https://www.ietf.org/mailman/listinfo/ospf
> 
> _______________________________________________
> Isis-wg mailing list
> Isis-wg@ietf.org
> https://www.ietf.org/mailman/listinfo/isis-wg